From b6344f771c7953a9cda0765ea27e701c117f2cd1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 28 Dec 2015 14:07:27 -0500 Subject: 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(+) create mode 100644 sys-boot/elilo/files/elilo-3.16-elilo-loop.patch (limited to 'sys-boot') 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 + +--- 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 -- cgit v1.2.3-65-gdbad