diff --git a/sys-boot/elilo/elilo-3.16.ebuild b/sys-boot/elilo/elilo-3.16.ebuild index cefd57194cec8..472488d9ce125 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 0000000000000..b574c29f220b2 --- /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