mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 09:48:24 +02:00
dracut: Compress initramdisk with XZ
This commit is contained in:
@@ -294,7 +294,7 @@ ifeq "$(MACHINE_TYPE)" "arm"
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Create initramfs images
|
# Create initramfs images
|
||||||
dracut --force --verbose --strip /boot/initramfs-$(KVER)-$(VERSUFIX).img $(KVER)-$(VERSUFIX)
|
dracut --force --verbose --strip --xz /boot/initramfs-$(KVER)-$(VERSUFIX).img $(KVER)-$(VERSUFIX)
|
||||||
|
|
||||||
ifeq "$(KCFG)" "-kirkwood"
|
ifeq "$(KCFG)" "-kirkwood"
|
||||||
cd /boot && mkimage -A arm -T ramdisk -C lzma -d initramfs-$(KVER)-kirkwood.img uInit-ipfire-kirkwood
|
cd /boot && mkimage -A arm -T ramdisk -C lzma -d initramfs-$(KVER)-kirkwood.img uInit-ipfire-kirkwood
|
||||||
|
|||||||
Reference in New Issue
Block a user