qLinux
… a distribution study


<< Prev
Less

Next >>
GDBM


Bash-5.1.8

Reference: 8.34. Bash-5.1.8. Fix the build system:

patch -Np1 -i bash-5.1.8-qlnx-1-20220205.patch

Apply a patch to fix the sources:

patch -Np1 -i bash-5.1.8-src-20220303.patch

Apply a patch to fix the testsuite:

patch -Np1 -i bash-5.1.8-qlnx-3-20220205.patch

Build and install bash:

./configure --prefix=/qlnx \
            --without-bash-malloc \
            --with-installed-readline \
            --includedir=/qlnx/inc \
            --datarootdir=/qlnx/dat \
            --mandir=/qlnx/man \
            --infodir=$LFS/tmp \
            --docdir=$LFS/tmp

Apply a patch to fix  config.h  which have some wrong values made by autoconf:

patch -Np1 -i bash-5.1.8-cfg-20220303.patch

Build bash:

make

It is highly recommended to run the tests for this package:

make check

Most of the tests are adapted to work with the qLinux filesystem layout. However, some tests fails and/or print a “file not found” message. This will be fixed in the future. Right now the testsuite should finish mostly withe result “ok”.

Install bash:

make install

Replace the old shell with the new one:

exec /qlnx/bin/bash --login +h

<< Prev
Less

        

Next >>
GDBM