1 |
armin76 10/04/04 13:50:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: aboot-1.0_pre20040408-r3.ebuild |
5 |
Removed: aboot-1.0_pre20040408-r1.ebuild |
6 |
aboot-1.0_pre20040408.ebuild aboot-0.9-r1.ebuild |
7 |
Log: |
8 |
Revision bump to add a modified Debian patch to add netboot support |
9 |
(Portage version: 2.1.7.17/cvs/Linux ia64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.15 sys-boot/aboot/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/aboot/ChangeLog?rev=1.15&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/aboot/ChangeLog?rev=1.15&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/aboot/ChangeLog?r1=1.14&r2=1.15 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-boot/aboot/ChangeLog,v |
21 |
retrieving revision 1.14 |
22 |
retrieving revision 1.15 |
23 |
diff -u -r1.14 -r1.15 |
24 |
--- ChangeLog 23 Sep 2009 20:29:43 -0000 1.14 |
25 |
+++ ChangeLog 4 Apr 2010 13:50:52 -0000 1.15 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for sys-boot/aboot |
28 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/aboot/ChangeLog,v 1.14 2009/09/23 20:29:43 patrick Exp $ |
30 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/aboot/ChangeLog,v 1.15 2010/04/04 13:50:52 armin76 Exp $ |
32 |
+ |
33 |
+*aboot-1.0_pre20040408-r3 (04 Apr 2010) |
34 |
+ |
35 |
+ 04 Apr 2010; Raúl Porcel <armin76@g.o> -aboot-0.9-r1.ebuild, |
36 |
+ -aboot-1.0_pre20040408.ebuild, -aboot-1.0_pre20040408-r1.ebuild, |
37 |
+ +aboot-1.0_pre20040408-r3.ebuild: |
38 |
+ Revision bump to add a modified Debian patch to add netboot support |
39 |
|
40 |
23 Sep 2009; Patrick Lauer <patrick@g.o> aboot-0.9-r1.ebuild, |
41 |
aboot-1.0_pre20040408.ebuild: |
42 |
|
43 |
|
44 |
|
45 |
1.1 sys-boot/aboot/aboot-1.0_pre20040408-r3.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/aboot/aboot-1.0_pre20040408-r3.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/aboot/aboot-1.0_pre20040408-r3.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: aboot-1.0_pre20040408-r3.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/sys-boot/aboot/aboot-1.0_pre20040408-r3.ebuild,v 1.1 2010/04/04 13:50:52 armin76 Exp $ |
55 |
|
56 |
inherit eutils |
57 |
|
58 |
KERN_VER="2.6.22" |
59 |
|
60 |
DESCRIPTION="Alpha Linux boot loader for SRM" |
61 |
HOMEPAGE="http://aboot.sourceforge.net/" |
62 |
SRC_URI="http://aboot.sourceforge.net/tarballs/${P}.tar.bz2 |
63 |
mirror://gentoo/gentoo-headers-base-${KERN_VER}.tar.bz2 |
64 |
mirror://gentoo/${PN}_gentoo.diff.bz2 |
65 |
http://dev.gentoo.org/~armin76/dist/${PN}_gentoo.diff.bz2" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="-* ~alpha" |
70 |
IUSE="" |
71 |
|
72 |
DEPEND="" |
73 |
PROVIDE="virtual/bootloader" |
74 |
|
75 |
src_unpack() { |
76 |
unpack ${A} |
77 |
# setup local copies of kernel headers since we rely so |
78 |
# heavily on linux internals. |
79 |
mv gentoo-headers-base-${KERN_VER}/include/{linux,asm-generic,asm-alpha} "${S}"/include/ || die |
80 |
cd "${S}"/include |
81 |
ln -s asm-alpha asm || die |
82 |
touch linux/config.h || die |
83 |
cd "${S}" |
84 |
epatch "${FILESDIR}/aboot-gcc-3.4.patch" |
85 |
epatch "${FILESDIR}/aboot-pt_note.patch" |
86 |
# Modified patch from Debian to add netboot support |
87 |
epatch "${WORKDIR}"/aboot_gentoo.diff |
88 |
} |
89 |
|
90 |
src_compile() { |
91 |
# too many problems with parallel building |
92 |
emake -j1 || die "emake failed" |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
dodir /boot /sbin /usr/share/man/man{1,5,8} |
97 |
make \ |
98 |
root="${D}" \ |
99 |
bindir="${D}"/sbin \ |
100 |
bootdir="${D}"/boot \ |
101 |
mandir="${D}"/usr/share/man \ |
102 |
install |
103 |
|
104 |
insinto /boot |
105 |
doins net_aboot.nh |
106 |
dobin netabootwrap |
107 |
dodoc ChangeLog INSTALL README TODO aboot.conf |
108 |
|
109 |
insinto /etc |
110 |
newins "${FILESDIR}"/aboot.conf aboot.conf.example |
111 |
|
112 |
} |
113 |
|
114 |
pkg_postinst() { |
115 |
einfo "To make aboot install a new bootloader on your harddisk follow" |
116 |
einfo "these steps:" |
117 |
einfo "" |
118 |
einfo " - edit the file /etc/aboot.conf" |
119 |
einfo " - cd /boot" |
120 |
einfo " - swriteboot -c2 /dev/sda bootlx" |
121 |
einfo " This will install a new bootsector on /dev/sda and aboot will" |
122 |
einfo " use the second partition on this device to lookup kernel and " |
123 |
einfo " initrd (as described in the aboot.conf file)" |
124 |
einfo "" |
125 |
einfo "IMPORTANT :" |
126 |
einfo "" |
127 |
einfo "The partition table of your boot device has to contain " |
128 |
einfo "a BSD-DISKLABEL and the first 12 megabytes of your boot device" |
129 |
einfo "must not be part of a partition as aboot will write its bootloader" |
130 |
einfo "in there and not as with most x86 bootloaders into the " |
131 |
einfo "master boot sector. If your partition table does not reflect this" |
132 |
einfo "you are going to destroy your installation !" |
133 |
einfo "Also note that aboot currently only supports ext2/3 partitions" |
134 |
einfo "to boot from." |
135 |
} |