mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-13 23:05:24 +01:00
Add option to build kernels and related tools during chroot and bwrap builds
The main motivations to have this are: * Detect checksum changes with chroot/bwrap builds * Avoid removing checksums from `SHA256SUMS.pkgs` when unsing `--update-checksums` * Find crashes that would otherwise be missed in `builder-hex0`
This commit is contained in:
parent
d3477570b8
commit
dd8ce0e516
3 changed files with 24 additions and 8 deletions
|
|
@ -45,7 +45,17 @@ cd ${pkg}
|
|||
kaem --file ${pkg}.kaem
|
||||
cd ..
|
||||
|
||||
BUILD_FIWIX=False
|
||||
|
||||
if match x${KERNEL_BOOTSTRAP} xTrue; then
|
||||
BUILD_FIWIX=True
|
||||
fi
|
||||
|
||||
if match x${BUILD_KERNELS} xTrue; then
|
||||
BUILD_FIWIX=True
|
||||
fi
|
||||
|
||||
if match x${BUILD_FIWIX} xTrue; then
|
||||
# The Fiwix kernel
|
||||
pkg="fiwix-1.4.0-lb1"
|
||||
cd ${pkg}
|
||||
|
|
@ -58,14 +68,16 @@ if match x${KERNEL_BOOTSTRAP} xTrue; then
|
|||
kaem --verbose --file ${pkg}.kaem
|
||||
cd ..
|
||||
|
||||
# Build the ext2 image
|
||||
make_fiwix_initrd
|
||||
|
||||
# Live boot loader for Fiwix
|
||||
pkg="kexec-fiwix"
|
||||
cd ${pkg}
|
||||
kaem --verbose --file ${pkg}.kaem
|
||||
cd ..
|
||||
fi
|
||||
|
||||
if match x${KERNEL_BOOTSTRAP} xTrue; then
|
||||
# Build the ext2 image
|
||||
make_fiwix_initrd
|
||||
|
||||
# Boot Fiwix
|
||||
kexec-fiwix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue