avatar
Rosa has added 1cc1735968
initial: add from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "bootloader-utils-1.15.tar.bz2": 7cec1ef9852c0f0558fad708da60a94a03c37546
view file @ 1cc1735968
... ... --- /dev/null
... ... +++ b/bootloader-utils.spec
... ... @@ -0,0 +1,202 @@
1
Summary:	Small utils needed for the kernel
2
Name:		bootloader-utils
3
Version:	1.15
4
Release:	%mkrel 7
5
Source0:	%{name}-%{version}.tar.bz2
6
License:	GPL+
7
Group:		System/Kernel and hardware
8
BuildRoot:	%{_tmppath}/%{name}-buildroot
9
Requires:	perl-base
10
11
Requires(post,preun):	chkconfig rpm-helper
12
Requires(post,preun):	initscripts >= 7.06-21mdk
13
14
URL:            http://svn.mandriva.com/cgi-bin/viewvc.cgi/soft/bootloader-utils/
15
Requires:	drakxtools-backend >= 10-52mdk
16
BuildRequires:	perl-MDK-Common
17
BuildArch:	noarch
18
19
%description
20
Utilities needed to install/remove a kernel.  Also for updating
21
bootloaders.
22
23
%prep
24
%setup -q
25
26
%build
27
make
28
29
%install
30
rm -rf %{buildroot}
31
make ROOT=%{buildroot} mandir=%{_mandir} install
32
# nuke obsolete kheader initscript
33
rm -rf %{buildroot}/etc/rc.d/init.d/kheader
34
35
%pre
36
# disable obsolete kheader script on update if it exists
37
if [ $1 = 2 ]; then
38
    if [ -x /etc/rc.d/init.d/kheader ]; then
39
	chkconfig --del kheader
40
    fi
41
fi
42
43
%clean
44
rm -rf %{buildroot}
45
46
%files
47
%defattr(-,root,root)
48
%config(noreplace) /etc/sysconfig/installkernel
49
/sbin/installkernel
50
/sbin/kernel_remove_initrd
51
%{_sbindir}/detectloader
52
%{_sbindir}/rebootin
53
%{_mandir}/man8/detectloader.*
54
%{_mandir}/man8/rebootin.*
55
56
57
58
%changelog
59
* Tue May 03 2011 Oden Eriksson <oeriksson@mandriva.com> 1.15-7mdv2011.0
60
+ Revision: 663331
61
- mass rebuild
62
63
* Tue Nov 30 2010 Oden Eriksson <oeriksson@mandriva.com> 1.15-6mdv2011.0
64
+ Revision: 603764
65
- rebuild
66
67
* Thu Mar 11 2010 Thomas Backlund <tmb@mandriva.org> 1.15-5mdv2010.1
68
+ Revision: 518229
69
- drop obsolete kheader initscript, not used by kernel since 2.6.22-6mdv (#52803)
70
- fix url
71
72
* Sun Aug 09 2009 Oden Eriksson <oeriksson@mandriva.com> 1.15-4mdv2010.0
73
+ Revision: 413181
74
- rebuild
75
76
* Fri Mar 06 2009 Antoine Ginies <aginies@mandriva.com> 1.15-3mdv2009.1
77
+ Revision: 350210
78
- 2009.1 rebuild
79
80
* Mon Jun 16 2008 Thierry Vignaud <tv@mandriva.org> 1.15-2mdv2009.0
81
+ Revision: 220489
82
- rebuild
83
- kill re-definition of %%buildroot on Pixel's request
84
85
  + Olivier Blin <oblin@mandriva.com>
86
    - restore BuildRoot
87
88
* Sun Sep 09 2007 Adam Williamson <awilliamson@mandriva.org> 1.15-1mdv2008.0
89
+ Revision: 83195
90
- rebuild for 2008
91
- Fedora license policy
92
- slight spec clean
93
94
  + Thierry Vignaud <tv@mandriva.org>
95
    - fix man pages
96
97
98
* Mon Jan 15 2007 Pixel <pixel@mandriva.com> 1.15-1mdv2007.0
99
+ Revision: 109040
100
- rebootin with grub: handle short-non-blank labels (used for BOOT_IMAGE=xxx) (#26813)
101
102
* Thu Oct 26 2006 Pixel <pixel@mandriva.com> 1.14-1mdv2007.1
103
+ Revision: 72643
104
- handle "savedefault --once" (grub, #26700)
105
- Import bootloader-utils
106
107
* Sat Aug 12 2006 Gwenole Beauchesne <gbeauchesne@mandriva.com> 1.13-1mdv2007.0
108
- handle default, legacy & xen0 kernels
109
110
* Wed May 31 2006 Pixel <pixel@mandriva.com> 1.12-1mdv2007.0
111
- rename *desktop586 and *desktop686 to *desktop for better consistency
112
113
* Tue May 30 2006 Pixel <pixel@mandriva.com> 1.11-1mdv2007.0
114
- add support for mdv extension (eg: 1mdv instead of 1mdk)
115
- add support for "laptop" kernels (was mm kernels)
116
  (from Thomas Backlund)
117
118
* Wed May 17 2006 Pixel <pixel@mandriva.com> 1.10-1mdk
119
- kheader: add support for tmb kernels
120
- /etc/init.d/kheader should not be a config file
121
- s/Mandrakesoft/Mandriva/
122
123
* Mon Jan 09 2006 Olivier Blin <oblin@mandriva.com> 1.9-6mdk
124
- convert parallel init to LSB
125
- fix post/preun Requires
126
127
* Sun Jan 01 2006 Olivier Blin <oblin@mandriva.com> 1.9-5mdk
128
- parallel init support
129
130
* Tue Aug 30 2005 Pixel <pixel@mandriva.com> 1.9-4mdk
131
- nice handling of "make modules_install" not done 
132
  (when installing own built kernel) (bugzilla #17981)
133
134
* Fri Aug 12 2005 Nicolas Lcureuil <neoclust@mandriva.org> 1.9-3mdk
135
- fix rpmlint errors (PreReq) 
136
- fix URL
137
- mkrel
138
139
* Fri Nov 12 2004 Pixel <pixel@mandrakesoft.com> 1.9-2mdk
140
- kheader is now generated from kheader.pl when building package
141
- kheader: add i586-up-1GB and i686-up-64GB (bugzilla #12189)
142
143
* Fri Aug 27 2004 Juan Quintela <quintela@mandrakesoft.com> 1.9-1mdk
144
- new -C option to work with cramfs.
145
146
* Mon Jul 19 2004 Pixel <pixel@mandrakesoft.com> 1.8-6mdk
147
- installkernel is skipped DURING_INSTALL
148
149
* Mon Jul 19 2004 Pixel <pixel@mandrakesoft.com> 1.8-5mdk
150
- installkernel:
151
  - ensure the PATH contains /sbin and /usr/sbin
152
  - force rebuilding the initrd in "copy" mode
153
    (since one may build more than one kernel with the same version)
154
  - use --no-short-name in "copy" mode
155
156
* Tue Jul 06 2004 Pixel <pixel@mandrakesoft.com> 1.8-4mdk
157
- bootloader-config prefers --no-short-name instead of --no-link
158
159
* Fri Jul 02 2004 Pixel <pixel@mandrakesoft.com> 1.8-3mdk
160
- require drakxtools-backend instead of drakxtools-newt
161
162
* Thu Jul 01 2004 Pixel <pixel@mandrakesoft.com> 1.8-2mdk
163
- installkernel *is* used for copying installing kernels in /boot 
164
  (cf arch/i386/boot/install.sh used by kernel's "make install")
165
166
* Tue Jun 29 2004 Pixel <pixel@mandrakesoft.com> 1.8-1mdk
167
- installkernel:
168
  - it is now a wrapper to bootloader-config (in drakxtools-newt)
169
  - always have option AUTOREMOVE
170
  - always have option NOCOPY (was useful to copy your home built kernel)
171
    => option NOCONFIG deprecated
172
  - force option -s when installing and -S when removing
173
    (ie always do/remove the "build" symlink to the source tree)
174
  - force bootloader auto-detection (options AUTODETECT and LOADER are deprecated)
175
  - option OPTIONS is removed (what was it for exactly?)
176
- detectloader is now a wrapper to bootloader-config (in drakxtools-newt)
177
- helper scripts make-initrd, lilo, grub and yaboot obsolete
178
179
* Tue May 18 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.7-1mdk
180
- sanitize /etc/fstab parsing: do not match "/foobar/" when looking
181
  for "/"
182
- grub configuration:
183
  o simplify code through reusing MDK::Common
184
  o minimal "LABEL=foobar" managment aka handle it when looking for
185
    boot device (generic LABEL=foobar support is still lacking)
186
  o santize boot partition lookup:
187
    * do not match "/foobar/" when looking for "/"
188
    * do not match "/foobar/boot" when looking for "/boot"
189
190
* Tue Mar 02 2004 Nicolas Planel <nplanel@mandrakesoft.com> 1.6-7mdk
191
- getroot() don't have arguement.
192
193
* Tue Mar 02 2004 Nicolas Planel <nplanel@mandrakesoft.com> 1.6-6mdk
194
- append is not null anymore.
195
- ide-scsi removed from command line for all kernel (2.6 2.4).
196
197
* Fri Feb 27 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.6-5mdk
198
- when boot loader is grub, do not remove unrelated kernel entries (#5952)
199
- from Thomas Backlund <tmb@mandrake.org>:
200
  o typo fixes
201
  o make some messages somewhat more understandable
202

Comments