A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « GNU Bash | HOME | GNU Diffutils » |
Name: GNU Coreutils
Summary: Basic file, shell, and text utilities needed for working with any Linux system
License: GPL v3 or later
Version: 9.7
URL: https://ftp.gnu.org/gnu/coreutils/coreutils-9.7.tar.xz
To configure GNU Coreutils for install into the build root, run the following command:
./configure --prefix=/usr \
--libdir=/usr/lib64 \
--libexecdir=/usr/lib64 \
--host=$BRFS_TARGET \
--build=$BRFS_HOST \
--enable-no-install-program=kill,uptime,hostname
The --enable-no-install-program is to allow them to come from other packages:
hostname will be provided by the hostname packagekill will be provided by the utils-linux packageuptime will be provided by the procps-ngTo compile GNU Coreutils, run the following command:
make
Finally, to install GNU Coreutils into the build tree, run the following command:
make DESTDIR=${BRFS} install
mkdir -pv $BRFS/usr/share/man/man8
mv -v $BRFS/usr/share/man/man1/chroot.1 $BRFS/usr/share/man/man8/chroot.8
sed -i 's/"1"/"8"/' $BRFS/usr/share/man/man8/chroot.8
More details about this package is covered later in the core system build.
| Navigation | ||
|---|---|---|
| « GNU Bash | HOME | GNU Diffutils » |