User Tools

Site Tools


cucumber_linux_from_scratch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cucumber_linux_from_scratch [2018/11/08 18:14]
z5t1 [Chapter 8 - Building Phase 4]
cucumber_linux_from_scratch [2018/11/14 00:12] (current)
z5t1 [The End]
Line 524: Line 524:
 ===== Getting the Installer Buildscripts ===== ===== Getting the Installer Buildscripts =====
  
-Navigate to /opt/culfs and download the installer buildscripts from the Cucumber Linux mirror:+Navigate to /opt/culfs and download the installer buildscripts from GitHub:
  
   cd /opt/culfs   cd /opt/culfs
-  ​rsync mirror.cucumberlinux.com::cucumber/cucumber-current/installer ./ -rv +  ​git clone https://​github.com/cucumberlinux/installer.git
- +
-===== Preparing the Installer Build Environment ===== +
- +
-Create a symlink to the directory containing the binary packages. Replace ''​$CUCARCH''​ with the architecture you are building for (''​i686''​ or ''​x86_64''​). If you are building for both architectures,​ create a separate symlink for each one. +
- +
-  ln -s chroot/​opt/​packages/​cucumber cucumber-$CUCARCH+
  
 ===== Building the Installer ===== ===== Building the Installer =====
  
-==== Build the Initrds ==== +Enter the installer directory.
- +
-If desired, rebuild the initrds. This step is optional; if you skip it, the prebuilt initrds in the official Cucumber Linux source tree will be used instead. See the file installer/README for instructions on this. +
- +
-==== Build the ISOs ==== +
- +
-Cd to the installer/​iso ​directory+
- +
-  cd installer/​iso +
- +
-If you are not building the ISOs for every architecture,​ you will need to modify iso.buildscript. If you are building for all architectures you can skip this step.+
  
-In iso.buildscript,​ find the line that reads:+  cd installer
  
-  for a in x86_64 i686; do+Run the build-iso.sh script, setting some special variables.
  
-Delete the architectures that you are not building from that line.+  PORTSDIR=/​opt/​culfs/​chroot/​usr/​ports PKGDIR=/​opt/​culfs/​chroot/​opt/​packages ​./​build-iso.sh
  
-Finally, run iso.buildscript. ​This will build your installer ISO images ​and place them in /tmp.+This will the installer ISO file and place it in /tmp.
  
-  ./​iso.buildscript+====== The End ======
  
 +Congrats, you made it!
cucumber_linux_from_scratch.1541700876.txt.gz · Last modified: 2018/11/08 18:14 by z5t1