diff options
author | P. J. McDermott <pjm@nac.net> | 2012-01-06 23:45:57 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-01-06 23:45:57 (EST) |
commit | 6b9a031ce4df3d911ed8bf07ce753cf306c0286f (patch) | |
tree | 12c3d5dbf64ac84992048d94776dbd602b20fa51 | |
parent | 3f1d76290074fc97d71d1af31222525a80b3ba48 (diff) |
Add filesystem snapshot section to TBB notes.
-rw-r--r-- | temporary-bootstrap-builder-setup.txt | 19 |
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 |