]>
Commit | Line | Data |
---|---|---|
55493cf1 JR |
1 | Summary: A bootloader which can be started from the SRM console. |
2 | Name: aboot | |
3 | %define aboot_version 0.5 | |
4 | Version: %{aboot_version} | |
5 | Release: 10 | |
6 | ExclusiveArch: alpha | |
7 | Copyright: distributable | |
8 | Group: System Environment/Base | |
9 | Source: ftp://ftp.azstarnet.com/pub/linux/axp/aboot/aboot-%{aboot_version}.tar.gz | |
10 | Patch0: aboot-0.5-make.patch.gz | |
11 | Patch1: aboot-0.5-elf.patch.gz | |
12 | Patch2: aboot-0.5-glibc2.patch.gz | |
13 | Patch3: aboot-0.5-rth.patch.gz | |
14 | Patch4: aboot-0.5-jay.patch | |
15 | BuildRoot: /var/tmp/aboot-root | |
16 | ||
17 | %description | |
18 | The aboot program is the preferred way of booting Linux when using SRM | |
19 | firmware (the firmware normally used to boot an DEC UNIX). Aboot supports | |
20 | the creation of bootable block devices and contains a program which can | |
21 | load Linux kernels from a filesystem which is bootable by SRM. Aboot | |
22 | also supports direct booting from various filesystems (ext2, ISO9660, | |
23 | UFS), booting of executable object files (ELF and ECOFF), booting of | |
24 | compressed kernels, network booting (using bootp), partition tables in | |
25 | DEC UNIX format, and interactive booting and default configurations for | |
26 | SRM consoles that cannot pass long option strings. | |
27 | ||
28 | If you are installing Red Hat Linux on an Alpha, you'll need to install | |
29 | the aboot package. | |
30 | ||
31 | %prep | |
32 | %setup -q | |
33 | %patch0 -p1 | |
34 | %patch1 -p1 | |
35 | %patch2 -p1 | |
36 | %patch3 -p1 | |
37 | %patch4 -p0 | |
38 | %build | |
39 | make | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | mkdir -p $RPM_BUILD_ROOT | |
44 | chmod go= $RPM_BUILD_ROOT | |
45 | ||
46 | mkdir -p $RPM_BUILD_ROOT/usr/man/man8 | |
47 | make root=$RPM_BUILD_ROOT install | |
48 | cp -p sdisklabel/swriteboot.8 tools/e2writeboot.8 $RPM_BUILD_ROOT/usr/man/man8 | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(-, root, root) | |
55 | %doc INSTALL README doc/* | |
56 | ||
57 | %attr(644, root, root) /boot/bootlx | |
58 | /sbin/abootconf | |
59 | /sbin/e2writeboot | |
60 | /sbin/isomarkboot | |
61 | /sbin/swriteboot | |
62 | /usr/man/man8/e2writeboot.8 | |
63 | /usr/man/man8/swriteboot.8 |