Only load the squashfs into RAM
Before this, it loaded everything from the ISO into RAM, now it only loads the squashfs. This saves about 110 MB of space in RAM, and reduces boot time.
This commit is contained in:
parent
02f0b6f2cb
commit
ad6548f839
|
@ -23,12 +23,12 @@ VARIANT_LABEL = {
|
|||
|
||||
VARIANT_BOOT_OPTIONS = {
|
||||
"contestant": [
|
||||
dict(label="SOI contest", cmdline="boot=live toram"),
|
||||
dict(label="SOI contest", cmdline="boot=live toram=filesystem.squashfs"),
|
||||
dict(label="SOI contest, run from drive", cmdline="boot=live"),
|
||||
dict(label="SOI contest, fail-safe mode", cmdline="@LB_BOOTAPPEND_LIVE_FAILSAFE@"),
|
||||
],
|
||||
"training-live": [
|
||||
dict(label="SOI live system, run from RAM", cmdline="boot=live toram"),
|
||||
dict(label="SOI live system, run from RAM", cmdline="boot=live toram=filesystem.squashfs"),
|
||||
dict(label="SOI live system, run from drive", cmdline="boot=live"),
|
||||
dict(label="SOI live system, fail-safe mode", cmdline="@LB_BOOTAPPEND_LIVE_FAILSAFE@"),
|
||||
],
|
||||
|
@ -131,7 +131,7 @@ def main():
|
|||
VARIANT_EXTRA_BOOTSTRAP.get(args.variant, ""),
|
||||
"--loadlin", "false",
|
||||
"--iso-volume", f"SOI {VARIANT_LABEL[args.variant]} @ISOVOLUME_TS@",
|
||||
"--bootappend-live", "boot=live toram",
|
||||
"--bootappend-live", "boot=live toram=filesystem.squashfs",
|
||||
]
|
||||
+ VARIANT_EXTRA_LB_CONFIG.get(args.variant, [])
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue