Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d802f34cd | ||
|
|
7e4ab64331 | ||
|
|
58e166b84d |
6 changed files with 175 additions and 1 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
aboot-1.0_pre20040408.tar.bz2
|
||||||
|
aboot_1.0~pre20040408-2.diff.gz
|
||||||
29
aboot-1.0.doc_install_fix.patch
Normal file
29
aboot-1.0.doc_install_fix.patch
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
diff -up aboot-1.0_pre20040408/doc/man/Makefile.install_fix aboot-1.0_pre20040408/doc/man/Makefile
|
||||||
|
--- aboot-1.0_pre20040408/doc/man/Makefile.install_fix 2007-09-17 11:36:51.000000000 +0200
|
||||||
|
+++ aboot-1.0_pre20040408/doc/man/Makefile 2007-09-17 11:42:28.000000000 +0200
|
||||||
|
@@ -32,20 +32,20 @@ clean:
|
||||||
|
rm -f aboot.8 aboot.conf.5 abootconf.8 isomarkboot.1 sdisklabel.8 netabootwrap.1 manpage.log manpage.links manpage.refs
|
||||||
|
|
||||||
|
aboot.8: aboot.sgml
|
||||||
|
- nsgmls aboot.sgml | sgmlspl sgmlspl-specs/docbook2man-spec.pl
|
||||||
|
+ docbook2man aboot.sgml
|
||||||
|
|
||||||
|
aboot.conf.5: aboot.conf.sgml
|
||||||
|
- nsgmls aboot.conf.sgml | sgmlspl sgmlspl-specs/docbook2man-spec.pl
|
||||||
|
+ docbook2man aboot.conf.sgml
|
||||||
|
|
||||||
|
abootconf.8: abootconf.sgml
|
||||||
|
- nsgmls abootconf.sgml | sgmlspl sgmlspl-specs/docbook2man-spec.pl
|
||||||
|
+ docbook2man abootconf.sgml
|
||||||
|
|
||||||
|
isomarkboot.1: isomarkboot.sgml
|
||||||
|
- nsgmls isomarkboot.sgml | sgmlspl sgmlspl-specs/docbook2man-spec.pl
|
||||||
|
+ docbook2man isomarkboot.sgml
|
||||||
|
|
||||||
|
netabootwrap.1: netabootwrap.sgml
|
||||||
|
- nsgmls netabootwrap.sgml | sgmlspl sgmlspl-specs/docbook2man-spec.pl
|
||||||
|
+ docbook2man netabootwrap.sgml
|
||||||
|
|
||||||
|
sdisklabel.8: sdisklabel.sgml
|
||||||
|
- nsgmls sdisklabel.sgml | sgmlspl sgmlspl-specs/docbook2man-spec.pl
|
||||||
|
+ docbook2man sdisklabel.sgml
|
||||||
11
aboot-optflags.patch
Normal file
11
aboot-optflags.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
diff -up aboot-1.0_pre20040408/Makefile.optflags aboot-1.0_pre20040408/Makefile
|
||||||
|
--- aboot-1.0_pre20040408/Makefile.optflags 2007-09-27 15:31:38.000000000 +0200
|
||||||
|
+++ aboot-1.0_pre20040408/Makefile 2007-09-27 15:32:03.000000000 +0200
|
||||||
|
@@ -18,6 +18,7 @@ VMLINUXGZ = $(KSRC)/arch/alpha/boot/vmli
|
||||||
|
|
||||||
|
# for boot testing
|
||||||
|
#CFGDEFS = -DDEBUG_ISO -DDEBUG_ROCK -DDEBUG_EXT2 -DDEBUG
|
||||||
|
+CFGDEFS = $(OPTFLAGS)
|
||||||
|
|
||||||
|
# root, aka prefix
|
||||||
|
root =
|
||||||
131
aboot.spec
Normal file
131
aboot.spec
Normal file
|
|
@ -0,0 +1,131 @@
|
||||||
|
%define prever pre20040408
|
||||||
|
Summary: A bootloader which can be started from the SRM console
|
||||||
|
Name: aboot
|
||||||
|
Version: 1.0
|
||||||
|
Release: 0.3.%{prever}%{?dist}
|
||||||
|
ExclusiveArch: alpha
|
||||||
|
License: GPLv2+
|
||||||
|
Group: System Environment/Base
|
||||||
|
URL: http://www.sf.net/projects/aboot
|
||||||
|
Source0: http://aboot.sourceforge.net/tarballs/aboot-%{version}_%{prever}.tar.bz2
|
||||||
|
Patch0: aboot_1.0~%{prever}-2.diff.gz
|
||||||
|
Patch1: aboot-1.0.doc_install_fix.patch
|
||||||
|
Patch2: aboot-optflags.patch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
|
BuildRequires: kernel-devel, docbook-utils
|
||||||
|
|
||||||
|
%description
|
||||||
|
The aboot program is the preferred way of booting Linux when using SRM
|
||||||
|
firmware (the firmware normally used to boot an DEC UNIX). Aboot supports
|
||||||
|
the creation of bootable block devices and contains a program which can
|
||||||
|
load Linux kernels from a filesystem which is bootable by SRM. Aboot
|
||||||
|
also supports direct booting from various filesystems (ext2, ISO9660,
|
||||||
|
UFS), booting of executable object files (ELF and ECOFF), booting of
|
||||||
|
compressed kernels, network booting (using bootp), partition tables in
|
||||||
|
DEC UNIX format, and interactive booting and default configurations for
|
||||||
|
SRM consoles that cannot pass long option strings.
|
||||||
|
|
||||||
|
If you are installing Fedora or Red Hat Linux on an Alpha, you'll need to
|
||||||
|
install the aboot package.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}_%{prever}
|
||||||
|
%patch0 -p1
|
||||||
|
%patch1 -p1 -b .doc_install_fix
|
||||||
|
%patch2 -p1 -b .optflags
|
||||||
|
|
||||||
|
%build
|
||||||
|
sed -ie "s^KSRC.*=.*$^KSRC=/lib/modules/`uname -r`/build^" Makefile
|
||||||
|
export OPTFLAGS="%{optflags}"
|
||||||
|
make
|
||||||
|
cd doc/man && make
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
mkdir -p $RPM_BUILD_ROOT
|
||||||
|
chmod go= $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
|
||||||
|
make root=$RPM_BUILD_ROOT bindir=$RPM_BUILD_ROOT/sbin install
|
||||||
|
|
||||||
|
mv -f sdisklabel/README sdisklabel/README-sdisklabel || true
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%doc INSTALL README ChangeLog TODO aboot.conf sdisklabel/README-sdisklabel COPYING
|
||||||
|
%attr(644, root, root) /boot/bootlx
|
||||||
|
/sbin/abootconf
|
||||||
|
/sbin/e2writeboot
|
||||||
|
/sbin/isomarkboot
|
||||||
|
/sbin/swriteboot
|
||||||
|
%defattr(0644,root,root)
|
||||||
|
%{_mandir}/man8/*
|
||||||
|
%{_mandir}/man5/*
|
||||||
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.3.pre20040408
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.2.pre20040408
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Sep 27 2007 Oliver Falk <oliver@linux-kernel.at> - 1.0-0.1.pre20040408
|
||||||
|
- bz#294641:
|
||||||
|
- New versioning - versioning guidelines
|
||||||
|
- Add patch to add global rpm cflags and use 'em
|
||||||
|
- Fix manpage attrs - defattr
|
||||||
|
|
||||||
|
* Fri Sep 21 2007 Oliver Falk <oliver@linux-kernel.at> - 1.0_pre20040408-2
|
||||||
|
- Fix some rpmlint warnings, bz#294641
|
||||||
|
- Fix license: GPLv2+, bz#294641
|
||||||
|
|
||||||
|
* Mon Aug 20 2007 Oliver Falk <oliver@linux-kernel.at> - 1.0_pre20040408-1
|
||||||
|
- Rebuild in koji
|
||||||
|
- Cleanup spec; Merge RH, AC, MDK spec
|
||||||
|
- To be included into upstream fp.o hopefully
|
||||||
|
|
||||||
|
* Mon Apr 18 2005 Balint Cristian <rezso@rdsor.ro>
|
||||||
|
- Latest from CVS
|
||||||
|
- Build for alphacore 1.0
|
||||||
|
- Fix build with 2.6
|
||||||
|
|
||||||
|
* Tue Nov 30 1999 Matt Wilson <msw@redhat.com>
|
||||||
|
- changed to use ext2 patch based from Ruediger Oertel <ro@suse.de>
|
||||||
|
|
||||||
|
* Mon Nov 22 1999 Matt Wilson <msw@redhat.com>
|
||||||
|
- patched ext2 read code to deal with rev1 filesystems
|
||||||
|
- added a patch to properly guess IDE cdroms
|
||||||
|
(well, sort of)
|
||||||
|
|
||||||
|
* Tue Sep 07 1999 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- add patch to allow it to boot on *large* disks
|
||||||
|
|
||||||
|
* Mon Apr 26 1999 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- patch from Jay Estabrook to make it work with EXT2 filesystems larger
|
||||||
|
than 2Gb
|
||||||
|
|
||||||
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
||||||
|
- auto rebuild in the new build environment (release 9)
|
||||||
|
|
||||||
|
* Tue Jan 19 1999 Erik Troan <ewt@redhat.com>
|
||||||
|
- built for Red HAt 6.0
|
||||||
|
|
||||||
|
* Tue Sep 15 1998 Richard Henderson <rth@cygnus.com>
|
||||||
|
- use aboot.lds for elf, so that the phdr comes out right.
|
||||||
|
- relax the need to have a compiled kernel installed.
|
||||||
|
- make sdisklabel take partition sizes in sectors, not kilobytes.
|
||||||
|
|
||||||
|
* Thu Aug 20 1998 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
|
||||||
|
- corrected a small but essential error in the ELF patch
|
||||||
|
|
||||||
|
* Mon Aug 3 1998 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
|
||||||
|
- added a patch to allow booting of ELF images created with binutils >= 2.9
|
||||||
|
- compiled against glibc 2.0.94
|
||||||
|
|
||||||
|
* Sun May 31 1998 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
|
||||||
|
- made changes needed for glibc2 and 2.1.x kernels
|
||||||
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Orphaned for 6+ weeks
|
|
||||||
2
sources
Normal file
2
sources
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
ac1214102d8304f326655e3e36d89847 aboot-1.0_pre20040408.tar.bz2
|
||||||
|
4958ed11b630af923417d0950229704a aboot_1.0~pre20040408-2.diff.gz
|
||||||
Reference in a new issue