From 608631f9f06a0d3759425c8a9f0e66b666ea4af2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Gon=C3=A7alves?= Date: Thu, 25 Jul 2019 18:29:15 +0100 Subject: [PATCH 1/4] rules: bash: add rule to compile/add bash. --- rules/bash/default.bash | 45 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 rules/bash/default.bash 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 +} From 1575b724eb5517d8b8489e4352c7479f32b3d7c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Gon=C3=A7alves?= Date: Thu, 25 Jul 2019 18:30:12 +0100 Subject: [PATCH 2/4] systems/lauv-aux-rpi: add rule bash to nemo config files. --- systems/lauv-aux-rpi/lauv-nemo-1-aux-cmre.cfg | 2 +- systems/lauv-aux-rpi/lauv-nemo-1-aux.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" From 8fd8118259e417defaf33eb85a0f14acac14a278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Gon=C3=A7alves?= Date: Thu, 25 Jul 2019 18:31:25 +0100 Subject: [PATCH 3/4] systems/lctr-b2xx: add rule bash to all noptilus config files. --- systems/lctr-b2xx/lauv-noptilus-1-aux-cmre.cfg | 2 +- systems/lctr-b2xx/lauv-noptilus-2-aux-cmre.cfg | 2 +- systems/lctr-b2xx/lauv-noptilus-3-aux-cmre.cfg | 2 +- systems/lctr-b2xx/lauv-noptilus-3-aux.cfg | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) 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 8cffddb..de77696 100644 --- a/systems/lctr-b2xx/lauv-noptilus-3-aux.cfg +++ b/systems/lctr-b2xx/lauv-noptilus-3-aux.cfg @@ -4,3 +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 bash" From fe14f32028da568561eab862a0c5f4955e608625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Gon=C3=A7alves?= Date: Thu, 25 Jul 2019 18:32:14 +0100 Subject: [PATCH 4/4] systems/lctr-rpi: add rule bash to test-rpi config file. --- systems/lctr-rpi/test-rpi.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systems/lctr-rpi/test-rpi.cfg b/systems/lctr-rpi/test-rpi.cfg index 2b86258..56f717c 100644 --- a/systems/lctr-rpi/test-rpi.cfg +++ b/systems/lctr-rpi/test-rpi.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'