@@ -108,7 +108,7 @@ UNIT_DIRS ?= unit.d
108108CONF_SCRIPTS ?= conf.d
109109PATCHES_PATH ?= patches.d
110110
111- INITRAMFS_PACKAGES ?= busybox-initramfs casper
111+ INITRAMFS_PACKAGES ?= busybox live-boot
112112
113113# build output path
114114O ?= build
@@ -437,10 +437,10 @@ cdroot/deps ?= $(STAMPS_DIR)/root.patched $(_CDROOT)
437437define cdroot/body
438438 if [ -e $O/cdroot ]; then rm -rf $O/cdroot; fi
439439 cp -a $(_CDROOT ) $O/cdroot
440- mkdir $O/cdroot/casper
440+ mkdir $O/cdroot/live
441441 if [ -d $(CDROOT_OVERLAY ) ]; then fab-apply-overlay $(CDROOT_OVERLAY ) $O/cdroot; fi
442442
443- $(MKSQUASHFS ) $O/root.patched $O/cdroot/casper /10root.squashfs $(MKSQUASHFS_OPTS )
443+ $(MKSQUASHFS ) $O/root.patched $O/cdroot/live /10root.squashfs $(MKSQUASHFS_OPTS )
444444endef
445445
446446define run-genisoimage
@@ -475,15 +475,15 @@ define cdroot-dynamic/body
475475 cp $O/root.sandbox/usr/lib/syslinux/modules/bios/libcom32.c32 $O/cdroot/isolinux
476476 cp $O/root.sandbox/usr/lib/syslinux/modules/bios/vesamenu.c32 $O/cdroot/isolinux
477477 cp $O/root.sandbox/usr/lib/syslinux/modules/bios/gfxboot.c32 $O/cdroot/isolinux
478- cp $O/root.sandbox/boot/$(shell basename $(shell readlink $O/root.sandbox/vmlinuz) ) $O/cdroot/casper /vmlinuz
479- cp $O/root.sandbox/boot/$(shell basename $(shell readlink $O/root.sandbox/initrd.img) ) $O/cdroot/casper /initrd.gz
478+ cp $O/root.sandbox/boot/$(shell basename $(shell readlink $O/root.sandbox/vmlinuz) ) $O/cdroot/live /vmlinuz
479+ cp $O/root.sandbox/boot/$(shell basename $(shell readlink $O/root.sandbox/initrd.img) ) $O/cdroot/live /initrd.gz
480480
481- rm -f $O/cdroot/casper /20sandbox.squashfs
481+ rm -f $O/cdroot/live /20sandbox.squashfs
482482 @if deck --isdirty $O/root.sandbox; then \
483483 $(call root-cleanup, $O/root.sandbox) \
484484 \
485485 get_last_level="deck --get-level=last $O/root.sandbox"; \
486- output=$O/cdroot/casper /20sandbox.squashfs; \
486+ output=$O/cdroot/live /20sandbox.squashfs; \
487487 echo "mksquashfs \$$($$get_last_level ) $$output"; \
488488 \
489489 last_level=$$($$get_last_level ) ; \
@@ -504,7 +504,7 @@ define updated-initramfs/body
504504 rm -rf $O/product.iso
505505 $(root.patched/body )
506506 fab-install $$FAB_INSTALL_OPTS $O/root.patched $(INITRAMFS_PACKAGES )
507- cp $O/root.patched/boot/$(shell basename $(shell readlink $O/root.patched/initrd.img) ) $O/cdroot/casper /initrd.gz
507+ cp $O/root.patched/boot/$(shell basename $(shell readlink $O/root.patched/initrd.img) ) $O/cdroot/live /initrd.gz
508508 $(run-genisoimage )
509509endef
510510
0 commit comments