commit: b6344f771c7953a9cda0765ea27e701c117f2cd1
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 28 19:07:27 2015 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 19:07:27 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6344f77
sys-boot/elilo: fix elilo script error #299665
sys-boot/elilo/elilo-3.16.ebuild | 2 ++
sys-boot/elilo/files/elilo-3.16-elilo-loop.patch | 15 +++++++++++++++
2 files changed, 17 insertions(+)
diff --git a/sys-boot/elilo/elilo-3.16.ebuild b/sys-boot/elilo/elilo-3.16.ebuild
index cefd571..472488d 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 0000000..b574c29
--- /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 <[email protected]>
+
+--- 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