File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,5 +7,4 @@ RUN echo -e "sys-kernel/installkernel systemd -dracut -grub -systemd-boot -uki -
77RUN echo -e "sys-kernel/installkernel **" >> /etc/portage/package.accept_keywords/installkernel
88RUN emerge --jobs="$(nproc)" --load-average="$(nproc)" sys-kernel/gentoo-kernel-bin app-text/tree app-text/asciidoc sys-apps/systemd sys-kernel/dracut sys-boot/grub sys-kernel/installkernel sys-fs/dosfstools sys-boot/refind app-alternatives/sh
99
10- ENV LOCAL_TEST=1
1110CMD /tmp/installkernel-gentoo-9999/run_tests.sh
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ HOMEPAGE="
1414if [[ ${PV} == 9999 ]]; then
1515 inherit git-r3
1616 EGIT_REPO_URI=" https://github.com/projg2/installkernel-gentoo.git"
17- [[ -n ${LOCAL_TEST} ]] && EGIT_REPO_URI=" file:///tmp/installkernel-gentoo-9999/"
1817else
1918 SRC_URI=" https://github.com/projg2/installkernel-gentoo/archive/v${PV} .tar.gz -> ${P} .tar.gz"
2019 KEYWORDS=" ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
Original file line number Diff line number Diff line change 44cd /tmp || exit 1
55
66cp /tmp/installkernel-gentoo-9999/installkernel-9999.ebuild /var/db/repos/gentoo/sys-kernel/installkernel/installkernel-9999.ebuild || exit 1
7- ls -la /tmp/installkernel-gentoo-9999/ || exit 1
7+
8+ # Modify EGIT_REPO_URI to use local path instead of GitHub
9+ sed -i ' s|EGIT_REPO_URI="https://github.com/projg2/installkernel-gentoo.git"|EGIT_REPO_URI="file:///tmp/installkernel-gentoo-9999/"|' /var/db/repos/gentoo/sys-kernel/installkernel/installkernel-9999.ebuild || exit 1
810
911INST_KERN=" $( ls /boot/kernel* -gentoo-dist* || exit 1) "
1012INST_KV_FULL=" ${INST_KERN#/ boot/ kernel-} "
You can’t perform that action at this time.
0 commit comments