Update 'Building rootfs tarballs'

Liam Waldron 2022-10-04 18:40:11 -04:00
parent f95b9d3d10
commit 5077e03ed5

@ -10,12 +10,43 @@ To do everything manually, do the following:
1 - Create a workspace directory (preferrably /mnt/everest)
2 - Create a build user (preferrably named 'everest')
3 - Create an environment variable for ease of use
`$ export EVEREST=/mnt/everest # replace /mnt/everest with the path to your workspace`
4 - Change permissions of the workspace
`# chmod 777 ${EVEREST}
`# chmod 777 ${EVEREST}`
5 - Create a sources directory to store packages
`$ mkdir -v ${EVEREST}/sources`
6 - Download the latest versions of the following programs:
- binutils
- busybox
- everest-bootscripts
- gcc
- gmp
- iana-etc
- linux
- mpc
- mpfr
- musl
7 - Download the following patch for iana-etc: http://patches.clfs.org/embedded-dev/iana-etc-2.30-update-2.patch
8 - Ensure the EVEREST environment variable is set up properly
`$ echo ${EVEREST}`
9 - Create the build user
`# groupadd everest`
`# useradd -s /bin/bash -g everest -m -k /dev/null everest`
`# passwd everest`
`# chown -Rv everest ${EVEREST}`
10 - Login as the new user
`su - everest`