Skip to content

Commit

Permalink
dracut: removed need of lvmetad
Browse files Browse the repository at this point in the history
Reduced output verbosity to errors only in the bootloader plugin.
  • Loading branch information
Ratler committed Sep 8, 2014
1 parent e2f50c4 commit 11e6b36
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion 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

Expand Down
5 changes: 4 additions & 1 deletion kernel/dracut/PRE_BUILD
Expand Up @@ -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
2 changes: 1 addition & 1 deletion kernel/dracut/plugin.d/bootloader-dracut.plugin
Expand Up @@ -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
Expand Down

0 comments on commit 11e6b36

Please sign in to comment.