summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/dracut/files/dracut-018-lsinitrd-support-symlinks.patch')
-rw-r--r--sys-kernel/dracut/files/dracut-018-lsinitrd-support-symlinks.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-kernel/dracut/files/dracut-018-lsinitrd-support-symlinks.patch b/sys-kernel/dracut/files/dracut-018-lsinitrd-support-symlinks.patch
new file mode 100644
index 000000000000..c95331abc936
--- /dev/null
+++ b/sys-kernel/dracut/files/dracut-018-lsinitrd-support-symlinks.patch
@@ -0,0 +1,25 @@
+From d8cb6a4ef1b51656566529f2315aa0828d693846 Mon Sep 17 00:00:00 2001
+From: Nikoli <nikoli@lavabit.com>
+Date: Tue, 17 Apr 2012 11:31:27 +0200
+Subject: [PATCH] lsinitrd: support symlinks
+
+---
+ lsinitrd.sh | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/lsinitrd.sh b/lsinitrd.sh
+index 1eaa37d..e6767dc 100755
+--- a/lsinitrd.sh
++++ b/lsinitrd.sh
+@@ -34,7 +34,7 @@ image="${1:-/boot/initramfs-$(uname -r).img}"
+ [[ -f "$image" ]] || { echo "$image does not exist" ; exit 1 ; }
+
+ CAT=zcat
+-FILE_T=$(file "$image")
++FILE_T=$(file --dereference "$image")
+
+ if echo "test"|xz|xz -dc --single-stream >/dev/null 2>&1; then
+ XZ_SINGLE_STREAM="--single-stream"
+--
+1.7.8.6
+