[Lunar-commits] <moonbase-core> dracut: removed need of lvmetad
Stefan Wold
ratler at lunar-linux.org
Mon Sep 8 20:09:29 CEST 2014
commit 11e6b367c329fa99a78ba767a02307cc223a2194
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Mon, 08 Sep 2014 20:08:32 +0200
URL: https://github.com/lunar-linux/moonbase-core/commit/11e6b367c329fa99a78ba767a02307cc223a2194
dracut: removed need of lvmetad
Reduced output verbosity to errors only in the bootloader plugin.
---
kernel/dracut/DETAILS | +3/-1
kernel/dracut/PRE_BUILD | +4/-1
kernel/dracut/plugin.d/bootloader-dracut.plugin | +1/-1
3 files changed, 8 insertions(+), 3 deletions(-)
--- a/kernel/dracut/DETAILS
+++ b/kernel/dracut/DETAILS
@@ -1,12 +1,14 @@
MODULE=dracut
VERSION=038
SOURCE=$MODULE-$VERSION.tar.xz
+ SOURCE2=dracut-038-disable-lvmetad.patch
SOURCE_URL=http://www.kernel.org/pub/linux/utils/boot/dracut
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
SOURCE_VFY=sha256:3b0d4466ff5bb627fcc783f02a757187195567b97bdbf46203dfa4cf52ed6b70
+ SOURCE2_VFY=sha256:819551523493314923a66c9e222ea11d67de5cad60f1a457d84bb65704b2d27c
WEB_SITE=https://dracut.wiki.kernel.org/index.php/Main_Page
ENTERED=20120715
- UPDATED=20140823
+ UPDATED=20140908
SHORT="Initramfs generator using udev"
COMPRESS_MANPAGES=off # If we compress them it will mess up an upgrade for this module due to symlinks
--- a/kernel/dracut/PRE_BUILD
+++ b/kernel/dracut/PRE_BUILD
@@ -15,4 +15,7 @@ if [ -n "$WARN" ]; then
fi
fi
-default_pre_build
+default_pre_build &&
+
+# We don't have the 69-dm-lvm-metad.rules file
+patch_it $SOURCE2 1
--- a/kernel/dracut/plugin.d/bootloader-dracut.plugin
+++ b/kernel/dracut/plugin.d/bootloader-dracut.plugin
@@ -24,7 +24,7 @@ plugin_kernel_updatebootloader_dracut()
fi
# we can force dracut as we copied the old initramfs
- dracut -f "/boot/initramfs-$KVERSION.img" "$1"
+ dracut -L 2 -f "/boot/initramfs-$KVERSION.img" "$1"
# right now we want to have it run all bootloaders?
return 2
More information about the Lunar-commits
mailing list