summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-28 14:07:27 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-28 14:07:27 -0500
commitb6344f771c7953a9cda0765ea27e701c117f2cd1 (patch)
tree16812c0fbb26a4248355c8b29df667b5a2f9129f /sys-boot/elilo
parentsys-boot/elilo: version bump to 3.16 #504334 (diff)
downloadgentoo-b6344f771c7953a9cda0765ea27e701c117f2cd1.tar.gz
gentoo-b6344f771c7953a9cda0765ea27e701c117f2cd1.tar.bz2
gentoo-b6344f771c7953a9cda0765ea27e701c117f2cd1.zip
sys-boot/elilo: fix elilo script error #299665
Diffstat (limited to 'sys-boot/elilo')
-rw-r--r--sys-boot/elilo/elilo-3.16.ebuild2
-rw-r--r--sys-boot/elilo/files/elilo-3.16-elilo-loop.patch15
2 files changed, 17 insertions, 0 deletions
diff --git a/sys-boot/elilo/elilo-3.16.ebuild b/sys-boot/elilo/elilo-3.16.ebuild
index cefd57194cec..472488d9ce12 100644
--- a/sys-boot/elilo/elilo-3.16.ebuild
+++ b/sys-boot/elilo/elilo-3.16.ebuild
@@ -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
index 000000000000..b574c29f220b
--- /dev/null
+++ b/sys-boot/elilo/files/elilo-3.16-elilo-loop.patch
@@ -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