Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/grub/
Date: Tue, 14 Feb 2017 23:08:10
Message-Id: 1487113683.ab70393b8cadaf5f477a0df4b189a7e8e3a4c7da.robbat2@gentoo
1 commit: ab70393b8cadaf5f477a0df4b189a7e8e3a4c7da
2 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 14 23:07:51 2017 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 14 23:08:03 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab70393b
7
8 sys-boot/grub: update test dependencies.
9
10 Package-Manager: portage-2.3.2
11
12 sys-boot/grub/grub-9999.ebuild | 16 +++++++++++++++-
13 1 file changed, 15 insertions(+), 1 deletion(-)
14
15 diff --git a/sys-boot/grub/grub-9999.ebuild b/sys-boot/grub/grub-9999.ebuild
16 index 7409bfd4ff..8aeed5fc34 100644
17 --- a/sys-boot/grub/grub-9999.ebuild
18 +++ b/sys-boot/grub/grub-9999.ebuild
19 @@ -95,8 +95,14 @@ DEPEND="${RDEPEND}
20 )
21 )
22 test? (
23 - dev-libs/libisoburn
24 + app-admin/genromfs
25 + app-arch/cpio
26 + app-arch/lzop
27 app-emulation/qemu
28 + dev-libs/libisoburn
29 + sys-apps/miscfiles
30 + sys-block/parted
31 + sys-fs/squashfs-tools
32 )
33 themes? (
34 app-arch/unzip
35 @@ -137,6 +143,14 @@ src_prepare() {
36 sed -i -e 's/^\* GRUB:/* GRUB2:/' -e 's/(grub)/(grub2)/' docs/grub.texi || die
37 fi
38
39 + # Nothing in Gentoo packages 'american-english' in the exact path
40 + # wanted for the test, but all that is needed is a compressible text
41 + # file, and we do have 'words' from miscfiles in the same path.
42 + sed -i \
43 + -e '/CFILESSRC.*=/s,american-english,words,' \
44 + tests/util/grub-fs-tester.in \
45 + || die
46 +
47 if [[ -n ${GRUB_AUTOGEN} ]]; then
48 python_setup
49 bash autogen.sh || die