Build kexec-fiwix in bindir and run it from run.kaem.

This commit is contained in:
rick-masters 2023-04-03 18:13:42 +00:00
parent 96fd7ad3e1
commit 9846c4bb82
4 changed files with 24 additions and 15 deletions

View file

@ -56,15 +56,19 @@ if match x${KERNEL_BOOTSTRAP} xTrue; then
pkg="lwext4-1.0.0-lb1"
cd ${pkg}
kaem --verbose --file ${pkg}.kaem
cd ..
# Build the ext2 image
cd build/${pkg}/src
./make_fiwix_initrd
cd ../../../..
make_fiwix_initrd
# Live boot loader for Fiwix
pkg="kexec-fiwix"
cd ${pkg}
kaem --verbose --file ${pkg}.kaem
cd ..
# Boot Fiwix
kexec-fiwix
else
exec kaem --verbose --file run-after-fiwix.kaem
fi