mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 13:02:58 +02:00
dracut: Remove hard-coded configuration from command line
This is now configured globally in dracut Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -181,7 +181,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
ifeq "$(HAS_KERNEL)" "1"
|
||||
cp /boot/vmlinuz-$(KVER)-ipfire $(DIR_TMP)/cdrom/boot/isolinux/vmlinuz
|
||||
dracut --force --early-microcode -a "installer" --strip --xz $(DIR_TMP)/cdrom/boot/isolinux/instroot $(KVER)-ipfire
|
||||
dracut --force -a "installer" --strip $(DIR_TMP)/cdrom/boot/isolinux/instroot $(KVER)-ipfire
|
||||
endif
|
||||
|
||||
ifeq "$(HAS_ISOLINUX)" "1"
|
||||
|
||||
@@ -58,7 +58,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
depmod -a $(KVER)-$(VERSUFIX)
|
||||
|
||||
# Create initramfs images
|
||||
dracut --force --early-microcode --verbose --strip --xz /boot/initramfs-$(KVER)-$(VERSUFIX).img $(KVER)-$(VERSUFIX)
|
||||
dracut --force --verbose --strip /boot/initramfs-$(KVER)-$(VERSUFIX).img $(KVER)-$(VERSUFIX)
|
||||
|
||||
ifeq "$(BUILD_ARCH)" "armv6l"
|
||||
cd /boot && mkimage -A arm -T ramdisk -C lzma -d initramfs-$(KVER)-$(VERSUFIX).img uInit-$(KVER)-$(VERSUFIX)
|
||||
|
||||
@@ -21,4 +21,4 @@
|
||||
|
||||
KVER=`uname -r`
|
||||
|
||||
dracut --force --early-microcode --xz /boot/initramfs-$KVER.img $KVER
|
||||
dracut --force /boot/initramfs-$KVER.img $KVER
|
||||
|
||||
Reference in New Issue
Block a user