8/8/22
This commit is contained in:
parent
1c6fb12408
commit
e760b48bbb
@ -253,3 +253,43 @@ printf "[ i ] Starting build of >>> busybox-1.24.2 <<<\n"
|
|||||||
CONFIG_PREFIX="${EVEREST}/targetfs" install
|
CONFIG_PREFIX="${EVEREST}/targetfs" install
|
||||||
cp -v examples/depmod.pl ${EVEREST}/cross-tools/bin
|
cp -v examples/depmod.pl ${EVEREST}/cross-tools/bin
|
||||||
chmod -v 755 ${EVEREST}/cross-tools/bin/depmod.pl
|
chmod -v 755 ${EVEREST}/cross-tools/bin/depmod.pl
|
||||||
|
cd ..
|
||||||
|
printf "[ i ] Finished build of >>> busybox-1.24.2 <<<\n"
|
||||||
|
sleep 1
|
||||||
|
|
||||||
|
printf "[ i ] Starting build of >>> iana-etc-2.30 <<<\n"
|
||||||
|
tar -xvf iana-etc-2.30.tar.bz2
|
||||||
|
cd iana-etc-2.30
|
||||||
|
patch -Np1 -i ../iana-etc-2.30-update-2.patch
|
||||||
|
make get
|
||||||
|
make STRIP=yes
|
||||||
|
make DESTFIR=${EVEREST}/targetfs install
|
||||||
|
printf "[ i ] Finished build of >>> iana-etc-2.30 <<<\n"
|
||||||
|
sleep 1
|
||||||
|
|
||||||
|
printf "[ i ] Finished building system software\n"
|
||||||
|
sleep 1
|
||||||
|
|
||||||
|
printf "[ i ] Creating /etc/fstab...\n"
|
||||||
|
cat > ${EVEREST}/targetfs/etc/fstab << "EOF"
|
||||||
|
# file-system mount-point type options dump fsck
|
||||||
|
EOF
|
||||||
|
|
||||||
|
printf "[ i ] Building the Linux kernel...\n"
|
||||||
|
rm -rf linux-4.9.22
|
||||||
|
tar -xvf linux-4.9.22.tar.xz
|
||||||
|
cd linux-4.9.22
|
||||||
|
make mrproper
|
||||||
|
printf "[ !!! ] WARNING!!! KERNEL INSTALLATION WILL COMMENCE ONCE MENUCONFIG IS EXITED BY THE USER!!!\n"
|
||||||
|
wait 5
|
||||||
|
make ARCH=${EVEREST_ARCH} CROSS_COMPILE=${EVEREST_TARGET}- menuconfig
|
||||||
|
make ARCH=${EVEREST_ARCH} CROSS_COMPILE=${EVEREST_TARGET}-
|
||||||
|
make ARCH=${EVEREST_ARCH} CROSS_COMPILE=${EVEREST_TARGET}- \
|
||||||
|
INSTALL_MOD_PATH=${EVEREST}/targetfs modules_install
|
||||||
|
printf "[ i ] Finished build of the Linux kernel...\n"
|
||||||
|
|
||||||
|
printf "[ i ] NOTE: Bootloader will need to be installed manually by the user (unless utilizing the bootloader of another system)\n"
|
||||||
|
wait 3
|
||||||
|
|
||||||
|
printf "[ i ] Bootstrapping Glacier package management system...\n"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user