This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cucumber_linux_from_scratch [2018/09/01 22:27] z5t1 [Chapter 1 - Introduction] |
cucumber_linux_from_scratch [2018/11/04 13:37] z5t1 |
||
---|---|---|---|
Line 9: | Line 9: | ||
^ Phase ^ Chapter(s) ^ Purpose ^ | ^ Phase ^ Chapter(s) ^ Purpose ^ | ||
- | | "0" | 1, 2, 3 & 4 | Set up the environment used to build Cucumber Linux. Note that nothing is actually build during this stage. As a result, this is not //technically// considered a phase, hence the quotes around 0. | | + | | "0" | 1, 2, 3 & 4 | Set up the environment used to build Cucumber Linux. Note that nothing is actually built during this stage. As a result, this is not //technically// considered a phase, hence the quotes around 0. | |
| 1 | 5 | Construct a temporary system in /tools that will be used to build the final system. | | | 1 | 5 | Construct a temporary system in /tools that will be used to build the final system. | | ||
| 2 | 6 | Build an initial bootstrap system. At the end of phase 2, the system will be capable of running itself (without the /tools directory), but will not be capable of compiling itself. | | | 2 | 6 | Build an initial bootstrap system. At the end of phase 2, the system will be capable of running itself (without the /tools directory), but will not be capable of compiling itself. | | ||
Line 70: | Line 70: | ||
echo PORTS_TREE=/opt/culfs/chroot/usr/ports > /etc/portmake.conf | echo PORTS_TREE=/opt/culfs/chroot/usr/ports > /etc/portmake.conf | ||
| | ||
- | Download the source tarballs for the phase 2 packages. This must be done now, as the chroot environment will not have internet access until after phase 2 is built. This step will also verify the integrity of all the downloaded tarballs via checksums and PGP signatures. | + | Download the source tarballs for the phase 2 and 3 packages. This must be done now, as the chroot environment will not have internet access until after phase 3 is built. This step will also verify the integrity of all the downloaded tarballs via checksums and PGP signatures. |
ports/utilities/tools/portmake download-recursive phase2 | ports/utilities/tools/portmake download-recursive phase2 | ||
+ | ports/utilities/tools/portmake download-recursive phase3 | ||
| | ||
Restore the original portmake.conf. | Restore the original portmake.conf. | ||
Line 449: | Line 450: | ||
This phase is akin to building a few select packages from the Beyond Linux from Scratch Book. | This phase is akin to building a few select packages from the Beyond Linux from Scratch Book. | ||
- | At the end of this phase the system will be capable of both running *and* compiling itself; however, it will not be complete yet. | + | At the end of this phase the system will be capable of both running *and* compiling itself; however, it will not be complete yet. |
+ | |||
+ | The entirety this process can be automated with portmake. Run the following (note that this command will take a //long// time): | ||
+ | |||
+ | /usr/ports/utilities/tools/portmake install phase3 | ||
====== Chapter 8 - Building Phase 4 ====== | ====== Chapter 8 - Building Phase 4 ====== | ||
Line 455: | Line 460: | ||
This phase is akin to building additional packages from the Beyond Linux from Scratch Book. | This phase is akin to building additional packages from the Beyond Linux from Scratch Book. | ||
- | At the end of this phase the system will be complete. | + | At the end of this phase the system will be complete. |
+ | |||
+ | Similarly, this entire process can be automated with portmake as well. Note that this will take a //very long// time (even longer than phases 1. 2 & 3). | ||
+ | |||
+ | /usr/ports/utilities/tools/portmake install phase4 | ||
+ | |||
+ | ====== Chapter 9 - Creating the installer ====== | ||