Compare commits
6 Commits
glued-1.9.
...
glued-1.9.
Author | SHA1 | Date | |
---|---|---|---|
|
d0381c9b62 | ||
|
f90424a424 | ||
|
9854a87f75 | ||
|
53bd90bb42 | ||
|
e53a6fc1b4 | ||
|
5171aee6a3 |
@@ -21,7 +21,7 @@
|
||||
###########################################################################
|
||||
|
||||
# Config: GLUED version.
|
||||
cfg_glued_version='1.9.5'
|
||||
cfg_glued_version='1.9.7'
|
||||
# Config: GLUED vendor.
|
||||
cfg_glued_vendor='lsts'
|
||||
|
||||
@@ -88,14 +88,15 @@ if ! [ -f "architectures/$cfg_architecture.cfg" ]; then
|
||||
fi
|
||||
source "architectures/$cfg_architecture.cfg"
|
||||
|
||||
# Creating the mac address if not set in configuration file we create one derivated from the IP address:
|
||||
if [ -n $cfg_eth_ext_ip ]; then
|
||||
ips=(`echo $cfg_eth_ext_ip | sed -e 's/\./\n/g'`)
|
||||
for i in "${ips[@]}"
|
||||
do
|
||||
hip=("${hip[@]}" `printf '%x' $i`)
|
||||
done
|
||||
cfg_eth_ext_mac="80:c1:${hip[0]}:${hip[1]}:${hip[2]}:${hip[3]}"
|
||||
# Create a MAC address based on the IP address if cfg_eth_ext_soft_mac
|
||||
# is set.
|
||||
if [ -n "$cfg_eth_ext_ip" ] && [ -n "$cfg_eth_ext_soft_mac" ]; then
|
||||
ips=(`echo $cfg_eth_ext_ip | sed -e 's/\./\n/g'`)
|
||||
for i in "${ips[@]}"
|
||||
do
|
||||
hip=("${hip[@]}" `printf '%x' $i`)
|
||||
done
|
||||
cfg_eth_ext_mac="80:c1:${hip[0]}:${hip[1]}:${hip[2]}:${hip[3]}"
|
||||
fi
|
||||
|
||||
# Config: system name.
|
||||
|
@@ -5,7 +5,7 @@ version=\
|
||||
|
||||
url=\
|
||||
(
|
||||
"ftp://mirror.ovh.net/gentoo-distfiles/distfiles/db-$version.tar.gz"
|
||||
"http://www.lsts.pt/glued/db-$version.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
|
@@ -14,7 +14,7 @@ maybe_upgrade()
|
||||
rm -rf $dune_base/.dune-upgrade &&
|
||||
mkdir $dune_base/.dune-upgrade &&
|
||||
tar -x -C $dune_base/.dune-upgrade -f $dune_base/dune-*.tar.bz2 &&
|
||||
cp "$dune_base/etc/"*-saved.ini "$dune_base/.dune-upgrade/"dune-*/etc 2> /dev/null &&
|
||||
cp "$dune_base/etc/"*-saved.ini "$dune_base/.dune-upgrade/"dune-*/etc 2> /dev/null
|
||||
rm $dune_base/dune-*.tar.bz2 &&
|
||||
for dir in $dune_base/.dune-upgrade/dune-*/*; do
|
||||
d="$(basename "$dir")"
|
||||
|
@@ -4,7 +4,7 @@ cfg_services0='dropbear network storage upgrade escc syslog ptpd setserial'
|
||||
cfg_services1=''
|
||||
cfg_services2='dune'
|
||||
cfg_modules=''
|
||||
cfg_packages='zlib dropbear rsync busybox flashrom e2fsprogs socat linux escc syslinux syslinux/host ptpd ntp util-linux/ldattach uswitch pciutils apache-ant/host bzip2 libantlr3c boost europa dtn'
|
||||
cfg_packages='zlib dropbear rsync busybox flashrom e2fsprogs socat linux escc syslinux syslinux/host ptpd ntp util-linux/ldattach uswitch pciutils apache-ant/host bzip2 libantlr3c boost europa'
|
||||
cfg_terminal='ttyS0'
|
||||
cfg_target_linux_kernel='arch/x86/boot/bzImage'
|
||||
cfg_ptpd_master='true'
|
||||
|
@@ -11,6 +11,7 @@ cfg_ntpd_config='/etc/ntp/server.cfg'
|
||||
cfg_dtnd_config='/opt/lsts/dtn/etc/dtn.conf'
|
||||
cfg_eth_ext_mk='255.255.0.0'
|
||||
cfg_eth_ext_gw='10.0.0.1'
|
||||
cfg_eth_ext_soft_mac='true'
|
||||
cfg_target_uboot_config='igep0020_config'
|
||||
cfg_target_linux_load_addr=0x80008000
|
||||
cfg_partitions=\
|
||||
|
Reference in New Issue
Block a user