diff --git a/rules/bash/default.bash b/rules/bash/default.bash new file mode 100644 index 0000000..eb7cb18 --- /dev/null +++ b/rules/bash/default.bash @@ -0,0 +1,45 @@ +version=\ +( + "4.4.18" +) + +url=\ +( + "http://ftp.gnu.org/gnu/bash/bash-$version.tar.gz" +) + +md5=\ +( + '518e2c187cc11a17040f0915dddce54e' +) + +maintainer=\ +( + 'Pedro Gonçalves ' +) + + +configure() +{ + ./configure \ + --prefix=${cfg_dir_rootfs}/usr \ + --host=${cfg_target_canonical} \ + --bindir=${cfg_dir_toolchain}/bin \ + --without-bash-malloc +} + +build() +{ + $cmd_make VERBOSE=1 +} + +host_install() +{ + $cmd_make install +} + +target_install() +{ + $cmd_cp bash ${cfg_dir_rootfs}/usr/bin + $cmd_cp bashversion ${cfg_dir_rootfs}/usr/bin +} diff --git a/systems/lauv-aux-rpi/lauv-nemo-1-aux-cmre.cfg b/systems/lauv-aux-rpi/lauv-nemo-1-aux-cmre.cfg index 635c01a..998ca26 100644 --- a/systems/lauv-aux-rpi/lauv-nemo-1-aux-cmre.cfg +++ b/systems/lauv-aux-rpi/lauv-nemo-1-aux-cmre.cfg @@ -3,4 +3,4 @@ cfg_eth_ext_ip='10.0.10.63' cfg_eth_ext_mk='255.255.0.0' cfg_eth_ext_gw='10.0.0.1' cfg_ptpd_interface='eth0' -cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libconfig log4cpp fftw socat crypto++ netcat screen rlwrap' +cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libconfig log4cpp fftw socat crypto++ netcat screen rlwrap bash' diff --git a/systems/lauv-aux-rpi/lauv-nemo-1-aux.cfg b/systems/lauv-aux-rpi/lauv-nemo-1-aux.cfg index fc6e8e5..7ece623 100644 --- a/systems/lauv-aux-rpi/lauv-nemo-1-aux.cfg +++ b/systems/lauv-aux-rpi/lauv-nemo-1-aux.cfg @@ -1,3 +1,3 @@ cfg_hostname='lauv-nemo-1-aux' cfg_eth_ext_ip='10.0.10.63' -cfg_packages="$cfg_packages boost" +cfg_packages="$cfg_packages boost bash" diff --git a/systems/lctr-b2xx/lauv-noptilus-1-aux-cmre.cfg b/systems/lctr-b2xx/lauv-noptilus-1-aux-cmre.cfg index 2829c6a..3712120 100644 --- a/systems/lctr-b2xx/lauv-noptilus-1-aux-cmre.cfg +++ b/systems/lctr-b2xx/lauv-noptilus-1-aux-cmre.cfg @@ -4,5 +4,5 @@ cfg_eth_ext_ip='10.0.10.83' cfg_eth_ext_mk='255.255.0.0' cfg_eth_ext_gw='10.0.0.1' cfg_ptpd_interface='eth0' -cfg_packages="$cfg_packages u-boot ptpd i2c-tools am33xx-cm3/host linux dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils libconfig log4cpp fftw socat crypto++ netcat screen rlwrap" +cfg_packages="$cfg_packages u-boot ptpd i2c-tools am33xx-cm3/host linux dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils libconfig log4cpp fftw socat crypto++ netcat screen rlwrap bash" diff --git a/systems/lctr-b2xx/lauv-noptilus-2-aux-cmre.cfg b/systems/lctr-b2xx/lauv-noptilus-2-aux-cmre.cfg index 551bfa5..c406d15 100644 --- a/systems/lctr-b2xx/lauv-noptilus-2-aux-cmre.cfg +++ b/systems/lctr-b2xx/lauv-noptilus-2-aux-cmre.cfg @@ -4,5 +4,5 @@ cfg_eth_ext_ip='10.0.10.93' cfg_eth_ext_mk='255.255.0.0' cfg_eth_ext_gw='10.0.0.1' cfg_ptpd_interface='eth0' -cfg_packages="$cfg_packages u-boot ptpd i2c-tools am33xx-cm3/host linux dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils libconfig log4cpp fftw socat crypto++ netcat screen rlwrap" +cfg_packages="$cfg_packages u-boot ptpd i2c-tools am33xx-cm3/host linux dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils libconfig log4cpp fftw socat crypto++ netcat screen rlwrap bash" diff --git a/systems/lctr-b2xx/lauv-noptilus-3-aux-cmre.cfg b/systems/lctr-b2xx/lauv-noptilus-3-aux-cmre.cfg index 97da9a8..942f5b2 100644 --- a/systems/lctr-b2xx/lauv-noptilus-3-aux-cmre.cfg +++ b/systems/lctr-b2xx/lauv-noptilus-3-aux-cmre.cfg @@ -4,5 +4,5 @@ cfg_eth_ext_ip='10.0.10.103' cfg_eth_ext_mk='255.255.0.0' cfg_eth_ext_gw='10.0.0.1' cfg_ptpd_interface='eth0' -cfg_packages="$cfg_packages u-boot ptpd i2c-tools am33xx-cm3/host linux dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils libconfig log4cpp fftw socat crypto++ netcat screen rlwrap" +cfg_packages="$cfg_packages u-boot ptpd i2c-tools am33xx-cm3/host linux dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils libconfig log4cpp fftw socat crypto++ netcat screen rlwrap bash" diff --git a/systems/lctr-b2xx/lauv-noptilus-3-aux.cfg b/systems/lctr-b2xx/lauv-noptilus-3-aux.cfg index 1c81a55..d8eb61c 100644 --- a/systems/lctr-b2xx/lauv-noptilus-3-aux.cfg +++ b/systems/lctr-b2xx/lauv-noptilus-3-aux.cfg @@ -4,4 +4,4 @@ cfg_eth_ext_ip='10.0.10.103' cfg_eth_ext_mk='255.255.0.0' cfg_eth_ext_gw='10.0.0.1' cfg_ptpd_interface='eth0' -cfg_packages="$cfg_packages boost jansson czmq zeromq" +cfg_packages="$cfg_packages bash boost jansson czmq zeromq" diff --git a/systems/lctr-rpi/test-rpi-wlan0.cfg b/systems/lctr-rpi/test-rpi-wlan0.cfg index 2b86258..56f717c 100644 --- a/systems/lctr-rpi/test-rpi-wlan0.cfg +++ b/systems/lctr-rpi/test-rpi-wlan0.cfg @@ -1,7 +1,7 @@ cfg_hostname='test-rpi' cfg_eth_ext_ip='10.0.200.52' cfg_services1='' -cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi libconfig log4cpp crypto++' +cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware linux/rpi libconfig log4cpp crypto++ bash' cfg_services0='network dropbear storage upgrade syslog ptpd' cfg_modules="$cfg_modules ftdi_sio" cfg_terminal='ttyAMA0'