sys-boot/elilo: fix elilo script error #299665
authorMike Frysinger <vapier@gentoo.org>
Mon, 28 Dec 2015 19:07:27 +0000 (14:07 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 28 Dec 2015 19:07:27 +0000 (14:07 -0500)
sys-boot/elilo/elilo-3.16.ebuild
sys-boot/elilo/files/elilo-3.16-elilo-loop.patch [new file with mode: 0644]

index cefd57194cec80b2bc89b61bebd02906108a33e9..472488d9ce125f7976860a738919d94e67e1792d 100644 (file)
@@ -30,6 +30,8 @@ src_unpack() {
 }
 
 src_prepare() {
+       epatch "${FILESDIR}"/${PN}-3.16-elilo-loop.patch #299665
+
        # The patches Debian had were merged upstream.
        #epatch debian/patches/*.diff
 
diff --git a/sys-boot/elilo/files/elilo-3.16-elilo-loop.patch b/sys-boot/elilo/files/elilo-3.16-elilo-loop.patch
new file mode 100644 (file)
index 0000000..b574c29
--- /dev/null
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/299665
+
+patch by Dennis Schridde <devurandom@gmx.net>
+
+--- a/debian/elilo.sh
++++ b/debian/elilo.sh
+@@ -321,6 +321,8 @@
+ mnt()
+ {
++    local loop
++
+     ## we can even create bootstrap filesystem images directly if you
+     ## ever wanted too.
+     if [ -f "$boot" ] ; then