mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Make installer system bootable from initramfs.
This commit is contained in:
@@ -4,16 +4,16 @@ PROMPT 1
|
||||
F1 boot.msg
|
||||
F2 options.msg
|
||||
DEFAULT vmlinuz
|
||||
APPEND ide=nodma initrd=instroot root=/dev/ram0 ramdisk_size=16384 vga=791 splash=silent ro
|
||||
APPEND ide=nodma initrd=instroot vga=791 splash=silent ro
|
||||
LABEL novga
|
||||
KERNEL vmlinuz
|
||||
APPEND ide=nodma initrd=instroot root=/dev/ram0 ramdisk_size=16384 ro
|
||||
APPEND ide=nodma initrd=instroot ro
|
||||
LABEL dma
|
||||
KERNEL vmlinuz
|
||||
APPEND initrd=instroot root=/dev/ram0 ramdisk_size=16384 vga=791 splash=silent ro
|
||||
APPEND initrd=instroot vga=791 splash=silent ro
|
||||
LABEL unattended
|
||||
KERNEL vmlinuz
|
||||
APPEND ide=nodma initrd=instroot root=/dev/ram0 ramdisk_size=16384 vga=791 splash=silent unattended ro
|
||||
APPEND ide=nodma initrd=instroot vga=791 splash=silent unattended ro
|
||||
LABEL memtest
|
||||
KERNEL memtest
|
||||
APPEND -
|
||||
|
||||
@@ -93,6 +93,8 @@ $(TARGET) :
|
||||
cd /install/initrd && strip --strip-all {,usr/}{,s}bin/* || true
|
||||
cd /install/initrd && strip --strip-debug {,usr/}lib/* || true
|
||||
|
||||
cd /install/initrd && ln -svf sbin/init init
|
||||
|
||||
cd /install/initrd && find . | cpio -o -H newc | lzma -9 > /install/images/initrd
|
||||
cd /install/initrd && find ./ -ls > $(DIR_INFO)/_build.initrd.log
|
||||
|
||||
|
||||
Reference in New Issue
Block a user