]> git.pld-linux.org Git - packages/dracut.git/commitdiff
- when installing prelink binary pull also all libs it's linked to auto/th/dracut-029-2 auto/ti/dracut-029-2
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 19 Jun 2013 06:30:43 +0000 (08:30 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 19 Jun 2013 06:30:43 +0000 (08:30 +0200)
- rel 2

dracut.spec
prelink-libs.patch [new file with mode: 0644]

index 2b441a2f9fe456927673c801aef2cfc6c5ae5262..14b0be2fcb3b2c173bcc637b0a4e7c3dea889cbd 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Initramfs generator using udev
 Summary(pl.UTF-8):     Generator initramfs wykorzystujący udev
 Name:          dracut
 Version:       029
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Base
 Source0:       http://ftp.kernel.org/pub/linux/utils/boot/dracut/%{name}-%{version}.tar.xz
@@ -14,6 +14,7 @@ Patch2:               os-release.patch
 Patch3:                plymouth-logo.patch
 Patch4:                arch-libdir.patch
 Patch5:                systemd-paths.patch
+Patch6:                prelink-libs.patch
 URL:           https://dracut.wiki.kernel.org/
 BuildRequires: asciidoc
 BuildRequires: dash
@@ -194,6 +195,7 @@ Bashowe dopełnianie składni dla polecenia dracut.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %{__sed} -i -e 's,@lib@,%{_lib},g' modules.d/50plymouth/module-setup.sh
 %{__sed} -i -e 's,@lib@,%{_lib},g' modules.d/95resume/module-setup.sh
diff --git a/prelink-libs.patch b/prelink-libs.patch
new file mode 100644 (file)
index 0000000..b9de35f
--- /dev/null
@@ -0,0 +1,15 @@
+--- dracut-029/dracut.sh~      2013-06-14 15:31:28.000000000 +0200
++++ dracut-029/dracut.sh       2013-06-19 08:29:40.828089414 +0200
+@@ -1148,10 +1148,10 @@
+ if [[ $UID = 0 ]] && [[ $PRELINK_BIN ]]; then
+     if [[ $DRACUT_FIPS_MODE ]]; then
+         dinfo "*** Installing prelink files ***"
+-        dracut_install -o prelink /etc/prelink.conf /etc/prelink.conf.d/*.conf /etc/prelink.cache
++        dracut_install -l -o prelink /etc/prelink.conf /etc/prelink.conf.d/*.conf /etc/prelink.cache
+     else
+         dinfo "*** Pre-linking files ***"
+-        dracut_install -o prelink /etc/prelink.conf /etc/prelink.conf.d/*.conf
++        dracut_install -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.*
This page took 0.029984 seconds and 4 git commands to generate.