Skip to content

Commit a457a7c

Browse files
committed
installkernel-9999.ebuild: fix as an live ebuild
1 parent 755c2dc commit a457a7c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

installkernel-9999.ebuild

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,17 @@ HOMEPAGE="
1010
https://github.com/projg2/installkernel-gentoo
1111
https://wiki.gentoo.org/wiki/Installkernel
1212
"
13-
SRC_URI="https://github.com/projg2/installkernel-gentoo/archive/v${PV}.tar.gz
14-
-> ${P}.tar.gz"
15-
S="${WORKDIR}/${PN}-gentoo-${PV}"
13+
14+
if [[ ${PV} == 9999 ]]; then
15+
EGIT_REPO_URI="https://github.com/projg2/installkernel-gentoo.git"
16+
inherit git-r3
17+
else
18+
SRC_URI="https://github.com/projg2/installkernel-gentoo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
19+
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
20+
fi
1621

1722
LICENSE="GPL-2+"
1823
SLOT="0"
19-
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
2024
IUSE="dracut efistub grub refind systemd systemd-boot ugrd uki ukify"
2125
REQUIRED_USE="
2226
systemd-boot? ( systemd )

0 commit comments

Comments
 (0)