dracut: update to 044.

This commit is contained in:
Juan RP 2015-11-26 06:47:56 +01:00
parent c0b5399707
commit 38287ad2e2
2 changed files with 4 additions and 32 deletions

View file

@ -1,28 +0,0 @@
commit d4b93a092db1105a29a3f768d1d49ece8b90547a
Author: Fabian Deutsch <fabiand@fedoraproject.org>
Date: Thu Jun 25 11:17:59 2015 +0200
Revert "lvm: Don't activate LVs with activationskip set"
This reverts commit cfa365a32d47388c8476064b23d7d4684f1e591b.
The logic in commit cfa365a was added to prevent (odl) lvms from
activating snapshots which should not be activated.
Newer lvms however do this automatically (not enabling an LV if the
the 'k' attribute set), thus we can revert the previous commit.
diff --git a/modules.d/90lvm/lvm_scan.sh b/modules.d/90lvm/lvm_scan.sh
index ce46e14..7495644 100755
--- modules.d/90lvm/lvm_scan.sh
+++ modules.d/90lvm/lvm_scan.sh
@@ -106,10 +106,6 @@ if [ -n "$LVS" ] ; then
info "Scanning devices $lvmdevs for LVM logical volumes $LVS"
lvm lvscan --ignorelockingfailure 2>&1 | vinfo
for LV in $LVS; do
- if [ "x$(lvm lvs --noheadings --select "lv_attr =~ k" $LV | wc -l)" = "x0" ]; then
- info "Skipping activation of '$LV' because activationskip is set."
- continue
- fi
if [ -z "$sysinit" ]; then
lvm lvchange --yes -ay --ignorelockingfailure $nopoll --ignoremonitoring $LV 2>&1 | vinfo
else

View file

@ -1,11 +1,11 @@
# Template file for 'dracut'
pkgname=dracut
version=043
revision=9
version=044
revision=1
build_style=configure
configure_args="--prefix=/usr --sysconfdir=/etc"
hostmakedepends="libxslt docbook-xsl asciidoc"
depends="bash psmisc cpio"
depends="bash psmisc cpio coreutils"
conf_files="/etc/dracut.conf"
make_dirs="
/etc/dracut.conf.d 0755 root root
@ -15,7 +15,7 @@ short_desc="A new initramfs infrastructure"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.xz"
checksum=1484b558ed20330125aa04dcccab84da15c5689e19068285aa011f7177889cd1
checksum=84b97c9b0120e9fde06c3b9cf2ede1c4632cccd8e085e980b9ec9c788655af05
post_install() {
# kernel hooks.