dracut: update to 019.

This commit is contained in:
Juan RP 2012-06-04 23:45:38 +02:00
parent 26d5252088
commit 64ee969dde
3 changed files with 3 additions and 31 deletions

View file

@ -1,14 +0,0 @@
Make sure to check in correct path for a valid init. This was failing if
/sbin/init is a symlink to /lib/systemd/systemd in voidlinux.
--- modules.d/99base/init.sh.orig 2012-05-28 15:28:06.363878326 +0200
+++ modules.d/99base/init.sh 2012-05-28 15:29:03.361485893 +0200
@@ -234,7 +234,7 @@ for i in "$(getarg real_init=)" "$(getar
[ -n "$i" ] || continue
__p=$(readlink -f "${NEWROOT}/${i}")
- if [ -x "$__p" ]; then
+ if [ -x "$__p" -o -x "${NEWROOT}/${__p}" ]; then
INIT="$i"
break
fi

View file

@ -1,14 +0,0 @@
mount(8) might not be available in /bin/mount as dmsquash-live-root.sh expects.
It will be in PATH anyway.
--- modules.d/90dmsquash-live/dmsquash-live-root.sh.orig 2012-05-28 15:35:50.791973219 +0200
+++ modules.d/90dmsquash-live/dmsquash-live-root.sh 2012-05-28 15:35:59.742754521 +0200
@@ -204,7 +204,7 @@ if [ -b "$BASE_LOOPDEV" ]; then
ln -s $BASE_LOOPDEV /run/initramfs/live-baseloop
fi
ln -s /dev/mapper/live-rw /dev/root
-printf '/bin/mount %s /dev/mapper/live-rw %s\n' "$ROOTFLAGS" "$NEWROOT" > $hookdir/mount/01-$$-live.sh
+printf 'mount %s /dev/mapper/live-rw %s\n' "$ROOTFLAGS" "$NEWROOT" > $hookdir/mount/01-$$-live.sh
need_shutdown

View file

@ -1,7 +1,7 @@
# Template file for 'dracut'
pkgname=dracut
version=018
revision=5
version=019
revision=1
noarch=yes
build_style=gnu-makefile
make_build_args="sysconfdir=/etc systemdsystemunitdir=/lib/systemd/system"
@ -16,7 +16,7 @@ short_desc="A new initramfs infrastructure"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
distfiles="${KERNEL_SITE}/utils/boot/$pkgname/$pkgname-$version.tar.xz"
checksum=0d761dc19d116db82d0d7bf93d0c8c23179fb32c8d7b3b843acfb27d3633d565
checksum=5e151519c9cd7aaf81bf7749a3ed6b23724b8591b1cf034add3454697a286fe1
long_desc="
Unlike existing initramfs, this is an attempt at having as little as possible
hard-coded into the initramfs as possible. The initramfs has (basically) one