summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--temporary-bootstrap-builder-setup.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/temporary-bootstrap-builder-setup.txt b/temporary-bootstrap-builder-setup.txt
index 9a9403f..fb7658e 100644
--- a/temporary-bootstrap-builder-setup.txt
+++ b/temporary-bootstrap-builder-setup.txt
@@ -165,6 +165,25 @@ Make and change to a directory for package source code.
$ mkdir -v ${BBL}/src
$ cd ${BBL}/src
+At this point and after every milestone (maybe after each package installation),
+I recommend you create a snapshot of the filesystem. To do so, first exit the
+shell environment of user 'bbl'.
+ $ exit
+As the superuser, unmount the filesystem.
+ # umount fs
+Make a copy of the filesystem. Replace '<UNIQUE_NAME>' with something to
+identify the milestone (for example, at this point I named my snapshot image
+'fs.01-fs-hier' to note that it was the first snapshot and that I just finished
+making the filesystem hierarchy).
+ $ cp -p fs fs.<UNIQUE_NAME>
+As the superuser, mount the filesystem again.
+ # mount -o loop fs fsmnt
+Log in as user 'bbl' and return to the src directory in the filesystem.
+ $ su - bbl
+ $ cd ${BBL}/src
+Now, if something goes wrong, you can revert to a previous filesystem image by
+going through this section and swapping the arguments to 'cp'.
+
Install Linux's headers for use by EGLIBC.
$ cp -pR ${BBL}/../../src/linux-3.1.6 .
$ cd linux-3.1.6