Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-boot/grub-static: ChangeLog grub-static-0.97-r9.ebuild
Date: Sat, 04 Jul 2009 18:46:41
Message-Id: E1MNAFz-0004Vi-HG@stork.gentoo.org
1 robbat2 09/07/04 18:46:39
2
3 Modified: ChangeLog grub-static-0.97-r9.ebuild
4 Log:
5 Bug #255271: check for IA32_EMULATION on 64-bit, as we are building a 32-bit binary and need to be able to run it.
6 (Portage version: 2.2_rc33/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.21 sys-boot/grub-static/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/grub-static/ChangeLog?rev=1.21&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/grub-static/ChangeLog?rev=1.21&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/grub-static/ChangeLog?r1=1.20&r2=1.21
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-boot/grub-static/ChangeLog,v
18 retrieving revision 1.20
19 retrieving revision 1.21
20 diff -p -w -b -B -u -u -r1.20 -r1.21
21 --- ChangeLog 15 May 2009 21:12:04 -0000 1.20
22 +++ ChangeLog 4 Jul 2009 18:46:39 -0000 1.21
23 @@ -1,6 +1,11 @@
24 # ChangeLog for sys-boot/grub-static
25 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub-static/ChangeLog,v 1.20 2009/05/15 21:12:04 maekke Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub-static/ChangeLog,v 1.21 2009/07/04 18:46:39 robbat2 Exp $
28 +
29 + 04 Jul 2009; Robin H. Johnson <robbat2@g.o>
30 + grub-static-0.97-r9.ebuild:
31 + Bug #255271: check for IA32_EMULATION on 64-bit, as we are building a
32 + 32-bit binary and need to be able to run it.
33
34 15 May 2009; Markus Meier <maekke@g.o> grub-static-0.97-r9.ebuild:
35 amd64 stable, bug #269201
36
37
38
39 1.4 sys-boot/grub-static/grub-static-0.97-r9.ebuild
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/grub-static/grub-static-0.97-r9.ebuild?rev=1.4&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/grub-static/grub-static-0.97-r9.ebuild?rev=1.4&content-type=text/plain
43 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/grub-static/grub-static-0.97-r9.ebuild?r1=1.3&r2=1.4
44
45 Index: grub-static-0.97-r9.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/sys-boot/grub-static/grub-static-0.97-r9.ebuild,v
48 retrieving revision 1.3
49 retrieving revision 1.4
50 diff -p -w -b -B -u -u -r1.3 -r1.4
51 --- grub-static-0.97-r9.ebuild 15 May 2009 21:12:04 -0000 1.3
52 +++ grub-static-0.97-r9.ebuild 4 Jul 2009 18:46:39 -0000 1.4
53 @@ -1,13 +1,13 @@
54 # Copyright 1999-2009 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub-static/grub-static-0.97-r9.ebuild,v 1.3 2009/05/15 21:12:04 maekke Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub-static/grub-static-0.97-r9.ebuild,v 1.4 2009/07/04 18:46:39 robbat2 Exp $
58
59 # XXX: we need to review menu.lst vs grub.conf handling. We've been converting
60 # all systems to grub.conf (and symlinking menu.lst to grub.conf), but
61 # we never updated any of the source code (it still all wants menu.lst),
62 # and there is no indication that upstream is making the transition.
63
64 -inherit eutils mount-boot
65 +inherit eutils mount-boot toolchain-funcs linux-info
66
67 PATCHVER="1.9" # Not used, just for tracking with main grub
68
69 @@ -22,6 +22,13 @@ IUSE=""
70 DEPEND="!sys-boot/grub"
71 PROVIDE="virtual/bootloader"
72
73 +pkg_setup() {
74 + local arch="$(tc-arch)"
75 + case ${arch} in
76 + amd64) CONFIG_CHECK='~IA32_EMULATION' check_extra_config ;;
77 + esac
78 +}
79 +
80 src_install() {
81 cp -a "${WORKDIR}"/* "${D}"/
82 }