commit: ab70393b8cadaf5f477a0df4b189a7e8e3a4c7da
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 14 23:07:51 2017 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Tue Feb 14 23:08:03 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab70393b
sys-boot/grub: update test dependencies.
Package-Manager: portage-2.3.2
sys-boot/grub/grub-9999.ebuild | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/sys-boot/grub/grub-9999.ebuild b/sys-boot/grub/grub-9999.ebuild
index 7409bfd4ff..8aeed5fc34 100644
--- a/sys-boot/grub/grub-9999.ebuild
+++ b/sys-boot/grub/grub-9999.ebuild
@@ -95,8 +95,14 @@ DEPEND="${RDEPEND}
)
)
test? (
- dev-libs/libisoburn
+ app-admin/genromfs
+ app-arch/cpio
+ app-arch/lzop
app-emulation/qemu
+ dev-libs/libisoburn
+ sys-apps/miscfiles
+ sys-block/parted
+ sys-fs/squashfs-tools
)
themes? (
app-arch/unzip
@@ -137,6 +143,14 @@ src_prepare() {
sed -i -e 's/^\* GRUB:/* GRUB2:/' -e 's/(grub)/(grub2)/'
docs/grub.texi || die
fi
+ # Nothing in Gentoo packages 'american-english' in the exact path
+ # wanted for the test, but all that is needed is a compressible text
+ # file, and we do have 'words' from miscfiles in the same path.
+ sed -i \
+ -e '/CFILESSRC.*=/s,american-english,words,' \
+ tests/util/grub-fs-tester.in \
+ || die
+
if [[ -n ${GRUB_AUTOGEN} ]]; then
python_setup
bash autogen.sh || die