From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 4/5] dracut: Remove hard-coded configuration from command line Date: Fri, 11 Mar 2022 14:43:40 +0000 Message-ID: <20220311144341.2642786-4-michael.tremer@ipfire.org> In-Reply-To: <20220311144341.2642786-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2384457244299216463==" List-Id: --===============2384457244299216463== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is now configured globally in dracut Signed-off-by: Michael Tremer --- lfs/cdrom | 2 +- lfs/linux-initrd | 2 +- src/scripts/rebuild-initrd | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lfs/cdrom b/lfs/cdrom index 18c63c79b..35fe7ebe7 100644 --- a/lfs/cdrom +++ b/lfs/cdrom @@ -181,7 +181,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) =20 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)/cdr= om/boot/isolinux/instroot $(KVER)-ipfire + dracut --force -a "installer" --strip $(DIR_TMP)/cdrom/boot/isolinux/instro= ot $(KVER)-ipfire endif =20 ifeq "$(HAS_ISOLINUX)" "1" diff --git a/lfs/linux-initrd b/lfs/linux-initrd index 64e08fa81..a8cd393f1 100644 --- a/lfs/linux-initrd +++ b/lfs/linux-initrd @@ -58,7 +58,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) depmod -a $(KVER)-$(VERSUFIX) =20 # Create initramfs images - dracut --force --early-microcode --verbose --strip --xz /boot/initramfs-$(K= VER)-$(VERSUFIX).img $(KVER)-$(VERSUFIX) + dracut --force --verbose --strip /boot/initramfs-$(KVER)-$(VERSUFIX).img $(= KVER)-$(VERSUFIX) =20 ifeq "$(BUILD_ARCH)" "armv6l" cd /boot && mkimage -A arm -T ramdisk -C lzma -d initramfs-$(KVER)-$(VERSUF= IX).img uInit-$(KVER)-$(VERSUFIX) diff --git a/src/scripts/rebuild-initrd b/src/scripts/rebuild-initrd index 51265650a..16bf0b85d 100644 --- a/src/scripts/rebuild-initrd +++ b/src/scripts/rebuild-initrd @@ -21,4 +21,4 @@ =20 KVER=3D`uname -r` =20 -dracut --force --early-microcode --xz /boot/initramfs-$KVER.img $KVER +dracut --force /boot/initramfs-$KVER.img $KVER --=20 2.30.2 --===============2384457244299216463==--