MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 3 - Temporary Tools

Navigation    
« NCurses 32-bit HOME GNU Coreutils »

GNU Bash

Name: GNU Bash
Summary: The GNU Bourne-Again Shell
License: GPL v3 or later
Version: 5.3
URL: https://ftp.gnu.org/gnu/bash/bash-5.3.tar.gz

Configuration

To configure GNU Bash for install into our cross-compilation root, run the following command:

./configure --prefix=/usr           \
            --libdir=/usr/lib64     \
            --libexecdir=/usr/lib64 \
            --build=${BRFS_HOST}    \
            --host=$BRFS_TARGET     \
            --without-bash-malloc

Compilation and Installation

To compile GNU Bash, run the following command:

make

Finally, to install GNU Bash into the cross-tools tree, run the following command:

make DESTDIR=${BRFS} install

Temporarily install a compatibility symbolic link for /bin/sh to point to /bin/bash. This will be replaced later when zsh is installed.

ln -sv bash $BRFS/bin/sh

More details about this package is covered later in the core system build.

Navigation    
« NCurses 32-bit HOME GNU Coreutils »