]> TLD Linux GIT Repositories - packages/dracut.git/commitdiff
- updated to 040
authorMarcin Krol <hawk@tld-linux.org>
Sat, 22 Nov 2014 13:22:50 +0000 (13:22 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Sat, 22 Nov 2014 13:22:50 +0000 (13:22 +0000)
dracut.spec
plymouth-libexec.patch
prelink-libs.patch
xz_compressor.patch

index e5d49aea9893f7c81dfa4fba834493c1ec37f006..064d9514b8f75dcaa52df0107ac8312fae45c87d 100644 (file)
@@ -1,12 +1,12 @@
 Summary:       Initramfs generator using udev
 Summary(pl.UTF-8):     Generator initramfs wykorzystujÄ…cy udev
 Name:          dracut
-Version:       038
+Version:       040
 Release:       1
 License:       GPL v2+
 Group:         Base
 Source0:       https://www.kernel.org/pub/linux/utils/boot/dracut/%{name}-%{version}.tar.xz
-# Source0-md5: 4487bd98000cc536c5c3839a2f112831
+# Source0-md5: e961da9566b3c0dd838f737f879cf339
 Source1:       tld.conf
 Patch1:                plymouth-libexec.patch
 Patch2:                os-release.patch
index fb35e63672995d934fbb7bbcb118002fefe96216..24c4bf84202bf27a267c68186131370c03443a59 100644 (file)
@@ -1,18 +1,17 @@
---- dracut-027/modules.d/50plymouth/module-setup.sh.wiget      2013-03-27 22:56:48.855517817 +0100
-+++ dracut-027/modules.d/50plymouth/module-setup.sh    2013-03-27 22:59:42.251657247 +0100
-@@ -12,12 +12,12 @@ depends() {
- }
+diff -urN dracut-040.orig/modules.d/50plymouth/module-setup.sh dracut-040/modules.d/50plymouth/module-setup.sh
+--- dracut-040.orig/modules.d/50plymouth/module-setup.sh       2014-10-24 17:41:12.966283303 +0200
++++ dracut-040/modules.d/50plymouth/module-setup.sh    2014-10-24 17:42:58.112954942 +0200
+@@ -13,11 +13,11 @@
  
+ # called by dracut
  install() {
--    if grep -q nash /usr/libexec/plymouth/plymouth-populate-initrd \
--        || [ ! -x /usr/libexec/plymouth/plymouth-populate-initrd ]; then
-+    if grep -q nash /usr/@lib@/plymouth/plymouth-populate-initrd \
-+        || [ ! -x /usr/@lib@/plymouth/plymouth-populate-initrd ]; then
-         . "$moddir"/plymouth-populate-initrd.sh
-     else
-         PLYMOUTH_POPULATE_SOURCE_FUNCTIONS="$dracutfunctions" \
--            /usr/libexec/plymouth/plymouth-populate-initrd -t "$initdir"
-+            /usr/@lib@/plymouth/plymouth-populate-initrd -t "$initdir"
+-    PKGLIBDIR="/usr/lib/plymouth"
++    PKGLIBDIR="/usr/@lib@/plymouth"
+     if type -P dpkg-architecture &>/dev/null; then
+         PKGLIBDIR="/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/plymouth"
      fi
+-    [ -x /usr/libexec/plymouth/plymouth-populate-initrd ] && PKGLIBDIR="/usr/libexec/plymouth"
++    [ -x /usr/@lib@/plymouth/plymouth-populate-initrd ] && PKGLIBDIR="/usr/@lib@/plymouth"
  
-     inst_hook emergency 50 "$moddir"/plymouth-emergency.sh
+     if grep -q nash ${PKGLIBDIR}/plymouth-populate-initrd \
+         || [ ! -x ${PKGLIBDIR}/plymouth-populate-initrd ]; then
index 0645766f510130a7d7b0935fbdefecd0771d287c..14b920dfdff7920106acde0dbbaac0facd8a7edf 100644 (file)
@@ -1,15 +1,15 @@
 --- dracut-034/dracut.sh.orig  2013-10-20 14:13:51.740264092 +0200
 +++ dracut-034/dracut.sh       2013-10-20 14:29:50.300223867 +0200
 @@ -1266,10 +1266,10 @@
    if [[ $UID = 0 ]] && [[ $PRELINK_BIN ]]; then
-         if [[ $DRACUT_FIPS_MODE ]]; then
-             dinfo "*** Installing prelink files ***"
--            inst_multiple -o prelink /etc/prelink.conf /etc/prelink.conf.d/*.conf /etc/prelink.cache
-+            inst_multiple -l -o prelink /etc/prelink.conf /etc/prelink.conf.d/*.conf /etc/prelink.cache
-         else
-             dinfo "*** Pre-linking files ***"
--            inst_multiple -o prelink /etc/prelink.conf /etc/prelink.conf.d/*.conf
-+            inst_multiple -l -o prelink /etc/prelink.conf /etc/prelink.conf.d/*.conf
-             chroot "$initdir" "$PRELINK_BIN" -a
-             rm -f -- "$initdir/$PRELINK_BIN"
-             rm -fr -- "$initdir"/etc/prelink.*
+ if [[ $UID = 0 ]] && [[ $PRELINK_BIN ]]; then
+     if [[ $DRACUT_FIPS_MODE ]]; then
+         dinfo "*** Installing prelink files ***"
+-        inst_multiple -o prelink /etc/prelink.conf /etc/prelink.conf.d/*.conf /etc/prelink.cache
++        inst_multiple -l -o prelink /etc/prelink.conf /etc/prelink.conf.d/*.conf /etc/prelink.cache
+     elif [[ $do_prelink == yes ]]; then
+         dinfo "*** Pre-linking files ***"
+-        inst_multiple -o prelink /etc/prelink.conf /etc/prelink.conf.d/*.conf
++        inst_multiple -l -o prelink /etc/prelink.conf /etc/prelink.conf.d/*.conf
+         chroot "$initdir" "$PRELINK_BIN" -a
+         rm -f -- "$initdir/$PRELINK_BIN"
+         rm -fr -- "$initdir"/etc/prelink.*
index 4bdc4ea451278bcc463248acb03a33d2ca3ed5ea..2e701c02aef8f9c9866b2842588447a8b3c5149b 100644 (file)
@@ -1,16 +1,16 @@
-diff -urN dracut-037.orig/dracut.sh dracut-037/dracut.sh
---- dracut-037.orig/dracut.sh  2014-03-19 16:16:08.000000000 +0000
-+++ dracut-037/dracut.sh       2014-05-17 14:56:39.530999661 +0000
-@@ -159,8 +159,6 @@
-   -I, --install [LIST]  Install the space separated list of files into the
-                          initramfs.
+diff -ur dracut-040.orig/dracut.sh dracut-040/dracut.sh
+--- dracut-040.orig/dracut.sh  2014-11-21 14:04:57.000000000 +0000
++++ dracut-040/dracut.sh       2014-11-22 13:19:07.066000000 +0000
+@@ -163,8 +163,6 @@
+   --install-optional [LIST]  Install the space separated list of files into the
+                          initramfs, if they exist.
    --gzip                Compress the generated initramfs using gzip.
 -                         This will be done by default, unless another
 -                         compression option or --no-compress is passed.
    --bzip2               Compress the generated initramfs using bzip2.
                           Make sure your kernel has bzip2 decompression support
                           compiled in, otherwise you will not be able to boot.
-@@ -168,12 +166,14 @@
+@@ -172,6 +170,8 @@
                           Make sure your kernel has lzma support compiled in,
                           otherwise you will not be able to boot.
    --xz                  Compress the generated initramfs using xz.
@@ -18,16 +18,8 @@ diff -urN dracut-037.orig/dracut.sh dracut-037/dracut.sh
 +                         compression option or --no-compress is passed.
                           Make sure that your kernel has xz support compiled
                           in, otherwise you will not be able to boot.
--  --lzo                  Compress the generated initramfs using lzop.
-+  --lzo                 Compress the generated initramfs using lzop.
-                          Make sure that your kernel has lzo support compiled
-                          in, otherwise you will not be able to boot.
--  --lz4                  Compress the generated initramfs using lz4.
-+  --lz4                 Compress the generated initramfs using lz4.
-                          Make sure that your kernel has lz4 support compiled
-                          in, otherwise you will not be able to boot.
-   --compress [COMPRESSION] Compress the generated initramfs with the
-@@ -789,7 +789,7 @@
+   --lzo                 Compress the generated initramfs using lzop.
+@@ -817,7 +817,7 @@
  fw_dir=${fw_dir//:/ }
  
  # handle compression options.