1 | %bcond_with systemd |
---|
2 | %global with_secure_boot 0 |
---|
3 | %undefine _hardened_build |
---|
4 | |
---|
5 | %undefine _missing_build_ids_terminate_build |
---|
6 | %global _configure_gnuconfig_hack 0 |
---|
7 | |
---|
8 | %global tarversion 2.04 |
---|
9 | %global gnulibversion fixes |
---|
10 | |
---|
11 | %global build_cflags %{optflags} |
---|
12 | %global build_ldflags %{nil} |
---|
13 | |
---|
14 | Name: grub2 |
---|
15 | Version: 2.04 |
---|
16 | Release: 4%{?_dist_release}%{?with_systemd:.systemd} |
---|
17 | Summary: Bootloader with support for Linux, Multiboot and more |
---|
18 | Group: system |
---|
19 | License: GPLv3+ |
---|
20 | URL: https://www.gnu.org/software/grub/ |
---|
21 | Vendor: Project Vine |
---|
22 | Distribution: Vine Linux |
---|
23 | Packager: tomop |
---|
24 | |
---|
25 | #Obsoletes: grub < 1:0.98 |
---|
26 | Source0: https://ftp.gnu.org/gnu/grub/grub-%{tarversion}.tar.xz |
---|
27 | Source1: grub.macros |
---|
28 | Source2: gnulib-%{gnulibversion}.tar.gz |
---|
29 | Source3: 99-grub-mkconfig.install |
---|
30 | Source4: http://unifoundry.com/unifont-5.1.20080820.pcf.gz |
---|
31 | Source5: theme.tar.bz2 |
---|
32 | Source6: gitignore |
---|
33 | Source7: bootstrap |
---|
34 | Source8: bootstrap.conf |
---|
35 | Source9: strtoull_test.c |
---|
36 | Source10: 20-grub.install |
---|
37 | Source12: grub.patches |
---|
38 | # Vine |
---|
39 | Source1000: grub.default-vine |
---|
40 | Source1001: grub-%{version}-ja.po |
---|
41 | Source1002: grub2-theme-vine.tar.gz |
---|
42 | |
---|
43 | %include %{SOURCE1} |
---|
44 | |
---|
45 | # generate with do-rebase |
---|
46 | %include %{SOURCE12} |
---|
47 | |
---|
48 | # Vine patch(es) |
---|
49 | Patch100001: 100001-change-title-for-Vine-Linux.patch |
---|
50 | |
---|
51 | BuildRequires: gcc efi-srpm-macros |
---|
52 | BuildRequires: flex bison binutils python3 |
---|
53 | BuildRequires: ncurses-devel xz-devel bzip2-devel |
---|
54 | BuildRequires: freetype2-devel libusb1-devel fuse-devel |
---|
55 | BuildRequires: rpm-devel |
---|
56 | BuildRequires: rpm-devel rpm-libs |
---|
57 | BuildRequires: autoconf automake autogen device-mapper-devel |
---|
58 | BuildRequires: freetype-devel gettext-devel git |
---|
59 | BuildRequires: texinfo |
---|
60 | BuildRequires: TrueType-vlgothic |
---|
61 | BuildRequires: help2man |
---|
62 | %if 0%{with_secure_boot} |
---|
63 | %ifarch %{efi_arch} |
---|
64 | BuildRequires: pesign >= 0.99-8 |
---|
65 | %endif |
---|
66 | %endif |
---|
67 | %if %{?_with_ccache: 1}%{?!_with_ccache: 0} |
---|
68 | BuildRequires: ccache |
---|
69 | %endif |
---|
70 | |
---|
71 | ExcludeArch: s390 s390x %{arm} |
---|
72 | Obsoletes: %{name} <= %{evr} |
---|
73 | |
---|
74 | %if 0%{with_legacy_arch} |
---|
75 | Requires: %{name}-%{legacy_package_arch} = %{evr} |
---|
76 | %else |
---|
77 | Requires: %{name}-%{package_arch} = %{evr} |
---|
78 | %endif |
---|
79 | |
---|
80 | %global desc \ |
---|
81 | The GRand Unified Bootloader (GRUB) is a highly configurable and \ |
---|
82 | customizable bootloader with modular architecture. It supports a rich \ |
---|
83 | variety of kernel formats, file systems, computer architectures and \ |
---|
84 | hardware devices.\ |
---|
85 | %{nil} |
---|
86 | |
---|
87 | %description |
---|
88 | %{desc} |
---|
89 | |
---|
90 | |
---|
91 | %package common |
---|
92 | Summary: grub2 common layout |
---|
93 | Group: system |
---|
94 | BuildArch: noarch |
---|
95 | |
---|
96 | %description common |
---|
97 | This package provides some directories which are required by various grub2 |
---|
98 | subpackages. |
---|
99 | |
---|
100 | |
---|
101 | %package tools |
---|
102 | Summary: Support tools for GRUB. |
---|
103 | Group: admin-tools |
---|
104 | Obsoletes: %{name}-tools < %{evr} |
---|
105 | Requires: %{name}-common = %{evr} |
---|
106 | Requires: gettext os-prober which file |
---|
107 | Requires(pre): dracut |
---|
108 | Requires(post): dracut |
---|
109 | |
---|
110 | %description tools |
---|
111 | %{desc} |
---|
112 | This subpackage provides tools for support of all platforms. |
---|
113 | |
---|
114 | %ifarch x86_64 |
---|
115 | %package tools-efi |
---|
116 | Summary: Support tools for GRUB. |
---|
117 | Group: admin-tools |
---|
118 | Requires: gettext os-prober which file |
---|
119 | Requires: %{name}-common = %{evr} |
---|
120 | Obsoletes: %{name}-tools < %{evr} |
---|
121 | |
---|
122 | %description tools-efi |
---|
123 | %{desc} |
---|
124 | This subpackage provides tools for support of EFI platforms. |
---|
125 | %endif |
---|
126 | |
---|
127 | %package tools-minimal |
---|
128 | Summary: Support tools for GRUB. |
---|
129 | Group: admin-tools |
---|
130 | Requires: gettext |
---|
131 | Requires: %{name}-common = %{evr} |
---|
132 | Obsoletes: %{name}-tools < %{evr} |
---|
133 | |
---|
134 | %description tools-minimal |
---|
135 | %{desc} |
---|
136 | This subpackage provides tools for support of all platforms. |
---|
137 | |
---|
138 | %package tools-extra |
---|
139 | Summary: Support tools for GRUB. |
---|
140 | Group: admin-tools |
---|
141 | Requires: gettext os-prober which file console-setup |
---|
142 | Requires: %{name}-tools-minimal = %{evr} |
---|
143 | Requires: %{name}-common = %{evr} |
---|
144 | Obsoletes: %{name}-tools < %{evr} |
---|
145 | |
---|
146 | %description tools-extra |
---|
147 | %{desc} |
---|
148 | This subpackage provides tools for support of all platforms. |
---|
149 | |
---|
150 | |
---|
151 | %if 0%{with_efi_arch} |
---|
152 | %{expand:%define_efi_variant %%{package_arch} -o} |
---|
153 | %endif |
---|
154 | %if 0%{with_alt_efi_arch} |
---|
155 | %{expand:%define_efi_variant %%{alt_package_arch}} |
---|
156 | %endif |
---|
157 | %if 0%{with_legacy_arch} |
---|
158 | %{expand:%define_legacy_variant %%{legacy_package_arch}} |
---|
159 | %endif |
---|
160 | |
---|
161 | |
---|
162 | %if 0%{with_emu_arch} |
---|
163 | %package emu |
---|
164 | Summary: GRUB user-space emulation. |
---|
165 | Group: system |
---|
166 | Requires: %{name}-tools-minimal = %{evr} |
---|
167 | |
---|
168 | %description emu |
---|
169 | %{desc} |
---|
170 | This subpackage provides the GRUB user-space emulation support of all platforms. |
---|
171 | |
---|
172 | |
---|
173 | %package emu-modules |
---|
174 | Summary: GRUB user-space emulation modules. |
---|
175 | Group: system |
---|
176 | Requires: %{name}-tools-minimal = %{evr} |
---|
177 | |
---|
178 | %description emu-modules |
---|
179 | %{desc} |
---|
180 | This subpackage provides the GRUB user-space emulation modules. |
---|
181 | %endif |
---|
182 | |
---|
183 | |
---|
184 | %package theme-starfield |
---|
185 | Summary: Starfield theme for GRUB2 |
---|
186 | Group: system |
---|
187 | Requires: %{name}-common = %{version}-%{release} |
---|
188 | |
---|
189 | %description theme-starfield |
---|
190 | %{desc} |
---|
191 | This subpackage provides Starfield theme. |
---|
192 | |
---|
193 | |
---|
194 | %package theme-vine |
---|
195 | Summary: Vine Linux theme for GRUB2 |
---|
196 | Group: system |
---|
197 | Requires: %{name}-common = %{version}-%{release} |
---|
198 | |
---|
199 | %description theme-vine |
---|
200 | %{desc} |
---|
201 | This package provides Vine Linux theme. |
---|
202 | |
---|
203 | |
---|
204 | %debug_package |
---|
205 | |
---|
206 | |
---|
207 | %prep |
---|
208 | %do_common_setup |
---|
209 | |
---|
210 | cp -f %{SOURCE1001} po/ja.po |
---|
211 | pushd po |
---|
212 | msgfmt -v ja.po -o ja.gmo |
---|
213 | popd |
---|
214 | |
---|
215 | %if 0%{with_efi_arch} |
---|
216 | mkdir grub-%{grubefiarch}-%{tarversion} |
---|
217 | grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grubefiarch}-%{tarversion}/.gitignore |
---|
218 | cp %{SOURCE4} grub-%{grubefiarch}-%{tarversion}/unifont.pcf.gz |
---|
219 | git add grub-%{grubefiarch}-%{tarversion} |
---|
220 | %endif |
---|
221 | %if 0%{with_alt_efi_arch} |
---|
222 | mkdir grub-%{grubaltefiarch}-%{tarversion} |
---|
223 | grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grubaltefiarch}-%{tarversion}/.gitignore |
---|
224 | cp %{SOURCE4} grub-%{grubaltefiarch}-%{tarversion}/unifont.pcf.gz |
---|
225 | git add grub-%{grubaltefiarch}-%{tarversion} |
---|
226 | %endif |
---|
227 | %if 0%{with_legacy_arch} |
---|
228 | mkdir grub-%{grublegacyarch}-%{tarversion} |
---|
229 | grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grublegacyarch}-%{tarversion}/.gitignore |
---|
230 | cp %{SOURCE4} grub-%{grublegacyarch}-%{tarversion}/unifont.pcf.gz |
---|
231 | git add grub-%{grublegacyarch}-%{tarversion} |
---|
232 | %endif |
---|
233 | %if 0%{with_emu_arch} |
---|
234 | mkdir grub-emu-%{tarversion} |
---|
235 | grep -A100000 '# stuff "make" creates' .gitignore > grub-emu-%{tarversion}/.gitignore |
---|
236 | cp %{SOURCE4} grub-emu-%{tarversion}/unifont.pcf.gz |
---|
237 | git add grub-emu-%{tarversion} |
---|
238 | %endif |
---|
239 | git commit -m "After making subdirs" |
---|
240 | |
---|
241 | |
---|
242 | %build |
---|
243 | sed -i \ |
---|
244 | -e 's,-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ,,g' \ |
---|
245 | -e 's,-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ,,g' \ |
---|
246 | gnulib/gnulib-tool \ |
---|
247 | grub-core/lib/gnulib/Makefile.in \ |
---|
248 | grub-core/lib/gnulib/Makefile.am |
---|
249 | |
---|
250 | sed -i \ |
---|
251 | -e 's|systemdunitdir = .*$|systemdunitdir = %{_unitdir}|' \ |
---|
252 | conf/Makefile.common |
---|
253 | |
---|
254 | %if 0%{with_efi_arch} |
---|
255 | %{expand:%do_primary_efi_build %%{grubefiarch} %%{grubefiname} %%{grubeficdname} %%{_target_platform} %%{efi_target_cflags} %%{efi_host_cflags}} |
---|
256 | %endif |
---|
257 | %if 0%{with_alt_efi_arch} |
---|
258 | %{expand:%do_alt_efi_build %%{grubaltefiarch} %%{grubaltefiname} %%{grubalteficdname} %%{_alt_target_platform} %%{alt_efi_target_cflags} %%{alt_efi_host_cflags}} |
---|
259 | %endif |
---|
260 | %if 0%{with_legacy_arch} |
---|
261 | %{expand:%do_legacy_build %%{grublegacyarch}} |
---|
262 | %endif |
---|
263 | %if 0%{with_emu_arch} |
---|
264 | %{expand:%do_emu_build} |
---|
265 | %endif |
---|
266 | makeinfo --no-split -I docs -o docs/grub-dev.info \ |
---|
267 | docs/grub-dev.texi |
---|
268 | makeinfo --no-split -I docs -o docs/grub.info \ |
---|
269 | docs/grub.texi |
---|
270 | makeinfo --html --no-split -I docs -o docs/grub-dev.html \ |
---|
271 | docs/grub-dev.texi |
---|
272 | makeinfo --html --no-split -I docs -o docs/grub.html \ |
---|
273 | docs/grub.texi |
---|
274 | |
---|
275 | |
---|
276 | %install |
---|
277 | set -e |
---|
278 | rm -fr $RPM_BUILD_ROOT |
---|
279 | |
---|
280 | %do_common_install |
---|
281 | %if 0%{with_efi_arch} |
---|
282 | %{expand:%do_efi_install %%{grubefiarch} %%{grubefiname} %%{grubeficdname}} |
---|
283 | %endif |
---|
284 | %if 0%{with_alt_efi_arch} |
---|
285 | %{expand:%do_alt_efi_install %%{grubaltefiarch} %%{grubaltefiname} %%{grubalteficdname}} |
---|
286 | %endif |
---|
287 | %if 0%{with_legacy_arch} |
---|
288 | %{expand:%do_legacy_install %%{grublegacyarch} %%{alt_grub_target_name} 0%{with_efi_arch}} |
---|
289 | %endif |
---|
290 | %if 0%{with_emu_arch} |
---|
291 | %{expand:%do_emu_install %%{package_arch}} |
---|
292 | %endif |
---|
293 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
---|
294 | ln -s %{name}-set-password ${RPM_BUILD_ROOT}/%{_sbindir}/%{name}-setpassword |
---|
295 | echo '.so man8/%{name}-set-password.8' > ${RPM_BUILD_ROOT}/%{_datadir}/man/man8/%{name}-setpassword.8 |
---|
296 | %ifnarch x86_64 |
---|
297 | rm -vf ${RPM_BUILD_ROOT}/%{_bindir}/%{name}-render-label |
---|
298 | rm -vf ${RPM_BUILD_ROOT}/%{_sbindir}/%{name}-bios-setup |
---|
299 | rm -vf ${RPM_BUILD_ROOT}/%{_sbindir}/%{name}-macbless |
---|
300 | %endif |
---|
301 | |
---|
302 | %find_lang grub |
---|
303 | |
---|
304 | # Make selinux happy with exec stack binaries. |
---|
305 | mkdir ${RPM_BUILD_ROOT}%{_sysconfdir}/prelink.conf.d/ |
---|
306 | cat << EOF > ${RPM_BUILD_ROOT}%{_sysconfdir}/prelink.conf.d/grub2.conf |
---|
307 | # these have execstack, and break under selinux |
---|
308 | -b /usr/bin/grub2-script-check |
---|
309 | -b /usr/bin/grub2-mkrelpath |
---|
310 | -b /usr/bin/grub2-mount |
---|
311 | -b /usr/bin/grub2-fstest |
---|
312 | -b /usr/sbin/grub2-bios-setup |
---|
313 | -b /usr/sbin/grub2-probe |
---|
314 | -b /usr/sbin/grub2-sparc64-setup |
---|
315 | EOF |
---|
316 | |
---|
317 | # Install kernel-install scripts |
---|
318 | install -d -m 0755 %{buildroot}%{_prefix}/lib/kernel/install.d/ |
---|
319 | install -D -m 0755 -t %{buildroot}%{_prefix}/lib/kernel/install.d/ %{SOURCE10} |
---|
320 | install -D -m 0755 -t %{buildroot}%{_prefix}/lib/kernel/install.d/ %{SOURCE3} |
---|
321 | install -d -m 0755 %{buildroot}%{_sysconfdir}/kernel/install.d/ |
---|
322 | %if %{with systemd} |
---|
323 | # Install systemd user service to set the boot_success flag |
---|
324 | install -D -m 0755 -t %{buildroot}%{_userunitdir} \ |
---|
325 | docs/grub-boot-success.{timer,service} |
---|
326 | install -d -m 0755 %{buildroot}%{_userunitdir}/timers.target.wants |
---|
327 | ln -s ../grub-boot-success.timer \ |
---|
328 | %{buildroot}%{_userunitdir}/timers.target.wants |
---|
329 | # Install systemd system-update unit to set boot_indeterminate for offline-upd |
---|
330 | install -D -m 0755 -t %{buildroot}%{_unitdir} docs/grub-boot-indeterminate.service |
---|
331 | install -d -m 0755 %{buildroot}%{_unitdir}/system-update.target.wants |
---|
332 | install -d -m 0755 %{buildroot}%{_unitdir}/reboot.target.wants |
---|
333 | ln -s ../grub-boot-indeterminate.service \ |
---|
334 | %{buildroot}%{_unitdir}/system-update.target.wants |
---|
335 | ln -s ../grub2-systemd-integration.service \ |
---|
336 | %{buildroot}%{_unitdir}/reboot.target.wants |
---|
337 | %else |
---|
338 | rm -rf %{buildroot}%{_unitdir} |
---|
339 | rm -rf %{buildroot}%{_libexecdir}/grub2 |
---|
340 | %endif |
---|
341 | |
---|
342 | # Don't run debuginfo on all the grub modules and whatnot; it just |
---|
343 | # rejects them, complains, and slows down extraction. |
---|
344 | %global finddebugroot "%{_builddir}/%{?buildsubdir}/debug" |
---|
345 | |
---|
346 | %global dip RPM_BUILD_ROOT=%{finddebugroot} %{__debug_install_post} |
---|
347 | %define __debug_install_post ( \ |
---|
348 | mkdir -p %{finddebugroot}/usr \ |
---|
349 | mv ${RPM_BUILD_ROOT}/usr/bin %{finddebugroot}/usr/bin \ |
---|
350 | mv ${RPM_BUILD_ROOT}/usr/sbin %{finddebugroot}/usr/sbin \ |
---|
351 | %{dip} \ |
---|
352 | install -m 0755 -d %{buildroot}/usr/lib/ %{buildroot}/usr/src/ \ |
---|
353 | cp -al %{finddebugroot}/usr/lib/debug/ \\\ |
---|
354 | %{buildroot}/usr/lib/debug/ \ |
---|
355 | cp -al %{finddebugroot}/usr/src/debug/ \\\ |
---|
356 | %{buildroot}/usr/src/debug/ ) \ |
---|
357 | mv %{finddebugroot}/usr/bin %{buildroot}/usr/bin \ |
---|
358 | mv %{finddebugroot}/usr/sbin %{buildroot}/usr/sbin \ |
---|
359 | %{nil} |
---|
360 | |
---|
361 | %undefine buildsubdir |
---|
362 | |
---|
363 | # drop original configurations |
---|
364 | rm -rf %{buildroot}/boot/grub2/grub.cfg |
---|
365 | |
---|
366 | # install configuration for Vine Linux |
---|
367 | mkdir -p %{buildroot}%{_sysconfdir}/default |
---|
368 | cp %{SOURCE1000} %{buildroot}%{_sysconfdir}/default/grub |
---|
369 | |
---|
370 | # install japanese resources |
---|
371 | mkdir -p %{buildroot}/boot/grub2/{fonts,locale} |
---|
372 | cp -f po/ja.gmo %{buildroot}/boot/grub2/locale/ |
---|
373 | sed -i -e 's|locale_dir=.*$|locale_dir=/boot/grub2/locale|' \ |
---|
374 | %{buildroot}%{_sysconfdir}/grub.d/00_header |
---|
375 | %{buildroot}%{_bindir}/grub2-mkfont -s 16 -o %{buildroot}/boot/grub2/fonts/vlgothic.pf2 %{_datadir}/fonts/TrueType-vlgothic/VL-Gothic-Regular.ttf |
---|
376 | |
---|
377 | # install themes |
---|
378 | mkdir -p %{buildroot}%{_datarootdir}/grub/themes |
---|
379 | cp -af themes/starfield %{buildroot}%{_datarootdir}/grub/themes/ |
---|
380 | pushd %{buildroot}%{_datarootdir}/grub/themes |
---|
381 | tar xvf %{SOURCE1002} |
---|
382 | popd |
---|
383 | |
---|
384 | |
---|
385 | %clean |
---|
386 | rm -rf $RPM_BUILD_ROOT |
---|
387 | |
---|
388 | |
---|
389 | %pre tools |
---|
390 | if [ -f /boot/grub2/user.cfg ]; then |
---|
391 | if grep -q '^GRUB_PASSWORD=' /boot/grub2/user.cfg ; then |
---|
392 | sed -i 's/^GRUB_PASSWORD=/GRUB2_PASSWORD=/' /boot/grub2/user.cfg |
---|
393 | fi |
---|
394 | elif [ -f %{efi_esp_dir}/user.cfg ]; then |
---|
395 | if grep -q '^GRUB_PASSWORD=' %{efi_esp_dir}/user.cfg ; then |
---|
396 | sed -i 's/^GRUB_PASSWORD=/GRUB2_PASSWORD=/' \ |
---|
397 | %{efi_esp_dir}/user.cfg |
---|
398 | fi |
---|
399 | elif [ -f /etc/grub.d/01_users ] && \ |
---|
400 | grep -q '^password_pbkdf2 root' /etc/grub.d/01_users ; then |
---|
401 | if [ -f %{efi_esp_dir}/grub.cfg ]; then |
---|
402 | # on EFI we don't get permissions on the file, but |
---|
403 | # the directory is protected. |
---|
404 | grep '^password_pbkdf2 root' /etc/grub.d/01_users | \ |
---|
405 | sed 's/^password_pbkdf2 root \(.*\)$/GRUB2_PASSWORD=\1/' \ |
---|
406 | > %{efi_esp_dir}/user.cfg |
---|
407 | fi |
---|
408 | if [ -f /boot/grub2/grub.cfg ]; then |
---|
409 | install -m 0600 /dev/null /boot/grub2/user.cfg |
---|
410 | chmod 0600 /boot/grub2/user.cfg |
---|
411 | grep '^password_pbkdf2 root' /etc/grub.d/01_users | \ |
---|
412 | sed 's/^password_pbkdf2 root \(.*\)$/GRUB2_PASSWORD=\1/' \ |
---|
413 | > /boot/grub2/user.cfg |
---|
414 | fi |
---|
415 | fi |
---|
416 | |
---|
417 | %post tools |
---|
418 | if [ "$1" = 1 ]; then |
---|
419 | /sbin/install-info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz || : |
---|
420 | /sbin/install-info --info-dir=%{_infodir} %{_infodir}/%{name}-dev.info.gz || : |
---|
421 | fi |
---|
422 | |
---|
423 | %preun tools |
---|
424 | if [ "$1" = 0 ]; then |
---|
425 | /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz || : |
---|
426 | /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/%{name}-dev.info.gz || : |
---|
427 | fi |
---|
428 | |
---|
429 | %files common -f grub.lang |
---|
430 | %dir %{_libdir}/grub/ |
---|
431 | %dir %{_datarootdir}/grub/ |
---|
432 | %dir %{_datarootdir}/grub/themes/ |
---|
433 | %exclude %{_datarootdir}/grub/themes/* |
---|
434 | %attr(0700,root,root) %dir %{_sysconfdir}/grub.d |
---|
435 | %{_prefix}/lib/kernel/install.d/20-grub.install |
---|
436 | %{_prefix}/lib/kernel/install.d/99-grub-mkconfig.install |
---|
437 | %exclude %{_datarootdir}/grub/* |
---|
438 | %attr(0700,root,root) %dir /boot/%{name} |
---|
439 | %dir /boot/%{name}/locale |
---|
440 | /boot/%{name}/locale/* |
---|
441 | %dir /boot/%{name}/fonts |
---|
442 | /boot/%{name}/fonts/* |
---|
443 | %dir /boot/%{name}/themes/ |
---|
444 | %dir /boot/%{name}/themes/system |
---|
445 | %dir %attr(0700,root,root) %{efi_esp_dir} |
---|
446 | %ifnarch %{ix86} |
---|
447 | %exclude %{efi_esp_dir}/* |
---|
448 | %endif |
---|
449 | %license COPYING |
---|
450 | %ghost %config(noreplace) /boot/grub2/grubenv |
---|
451 | %doc INSTALL |
---|
452 | %doc NEWS |
---|
453 | %doc README |
---|
454 | %doc THANKS |
---|
455 | %doc TODO |
---|
456 | %doc docs/grub.html |
---|
457 | %doc docs/grub-dev.html |
---|
458 | %doc docs/font_char_metrics.png |
---|
459 | |
---|
460 | %files tools-minimal |
---|
461 | %{_sysconfdir}/prelink.conf.d/grub2.conf |
---|
462 | %{_sbindir}/%{name}-get-kernel-settings |
---|
463 | %{_sbindir}/%{name}-probe |
---|
464 | %attr(4755, root, root) %{_sbindir}/%{name}-set-bootflag |
---|
465 | %{_sbindir}/%{name}-set-default |
---|
466 | %{_sbindir}/%{name}-set*password |
---|
467 | %{_bindir}/%{name}-editenv |
---|
468 | %{_bindir}/%{name}-mkpasswd-pbkdf2 |
---|
469 | %{_bindir}/%{name}-mount |
---|
470 | |
---|
471 | %{_datadir}/man/man3/%{name}-get-kernel-settings* |
---|
472 | %{_datadir}/man/man8/%{name}-set-default* |
---|
473 | %{_datadir}/man/man8/%{name}-set*password* |
---|
474 | %{_datadir}/man/man1/%{name}-editenv* |
---|
475 | %{_datadir}/man/man1/%{name}-mkpasswd-* |
---|
476 | |
---|
477 | %ifarch x86_64 |
---|
478 | %files tools-efi |
---|
479 | %{_sbindir}/%{name}-macbless |
---|
480 | %{_bindir}/%{name}-render-label |
---|
481 | %{_datadir}/man/man8/%{name}-macbless* |
---|
482 | %{_datadir}/man/man1/%{name}-render-label* |
---|
483 | %endif |
---|
484 | |
---|
485 | %files tools |
---|
486 | %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/default/grub |
---|
487 | %config %{_sysconfdir}/grub.d/??_* |
---|
488 | %{_sysconfdir}/grub.d/README |
---|
489 | %if %{with systemd} |
---|
490 | %{_userunitdir}/grub-boot-success.timer |
---|
491 | %{_userunitdir}/grub-boot-success.service |
---|
492 | %{_userunitdir}/timers.target.wants |
---|
493 | %{_unitdir}/grub-boot-indeterminate.service |
---|
494 | %{_unitdir}/system-update.target.wants |
---|
495 | %{_unitdir}/grub2-systemd-integration.service |
---|
496 | %{_unitdir}/reboot.target.wants |
---|
497 | %{_unitdir}/systemd-logind.service.d |
---|
498 | %dir %{_libexecdir}/grub2 |
---|
499 | %{_libexecdir}/grub2/systemd-integration.sh |
---|
500 | %endif |
---|
501 | %{_infodir}/%{name}* |
---|
502 | %{_datarootdir}/grub/* |
---|
503 | %{_sbindir}/%{name}-install |
---|
504 | %exclude %{_datarootdir}/grub/themes |
---|
505 | %exclude %{_datarootdir}/grub/*.h |
---|
506 | %{_datarootdir}/bash-completion/completions/grub |
---|
507 | %{_sbindir}/%{name}-mkconfig |
---|
508 | %{_sbindir}/%{name}-switch-to-blscfg |
---|
509 | %{_sbindir}/%{name}-rpm-sort |
---|
510 | %{_sbindir}/%{name}-reboot |
---|
511 | %{_bindir}/%{name}-file |
---|
512 | %{_bindir}/%{name}-menulst2cfg |
---|
513 | %{_bindir}/%{name}-mkimage |
---|
514 | %{_bindir}/%{name}-mkrelpath |
---|
515 | %{_bindir}/%{name}-script-check |
---|
516 | %{_datadir}/man/man?/* |
---|
517 | |
---|
518 | # exclude man pages from tools-extra |
---|
519 | %exclude %{_datadir}/man/man8/%{name}-sparc64-setup* |
---|
520 | %exclude %{_datadir}/man/man8/%{name}-install* |
---|
521 | %exclude %{_datadir}/man/man1/%{name}-fstest* |
---|
522 | %exclude %{_datadir}/man/man1/%{name}-glue-efi* |
---|
523 | %exclude %{_datadir}/man/man1/%{name}-kbdcomp* |
---|
524 | %exclude %{_datadir}/man/man1/%{name}-mkfont* |
---|
525 | %exclude %{_datadir}/man/man1/%{name}-mklayout* |
---|
526 | %exclude %{_datadir}/man/man1/%{name}-mknetdir* |
---|
527 | %exclude %{_datadir}/man/man1/%{name}-mkrescue* |
---|
528 | %exclude %{_datadir}/man/man1/%{name}-mkstandalone* |
---|
529 | %exclude %{_datadir}/man/man1/%{name}-syslinux2cfg* |
---|
530 | |
---|
531 | # exclude man pages from tools-minimal |
---|
532 | %exclude %{_datadir}/man/man3/%{name}-get-kernel-settings* |
---|
533 | %exclude %{_datadir}/man/man8/%{name}-set-default* |
---|
534 | %exclude %{_datadir}/man/man8/%{name}-set*password* |
---|
535 | %exclude %{_datadir}/man/man1/%{name}-editenv* |
---|
536 | %exclude %{_datadir}/man/man1/%{name}-mkpasswd-* |
---|
537 | %exclude %{_datadir}/man/man8/%{name}-macbless* |
---|
538 | %exclude %{_datadir}/man/man1/%{name}-render-label* |
---|
539 | |
---|
540 | %if %{with_legacy_arch} |
---|
541 | %ifarch x86_64 |
---|
542 | %{_sbindir}/%{name}-bios-setup |
---|
543 | %else |
---|
544 | %exclude %{_datadir}/man/man8/%{name}-bios-setup* |
---|
545 | %endif |
---|
546 | %ifarch %{sparc} |
---|
547 | %{_sbindir}/%{name}-sparc64-setup |
---|
548 | %else |
---|
549 | %exclude %{_sbindir}/%{name}-sparc64-setup |
---|
550 | %exclude %{_datadir}/man/man8/%{name}-sparc64-setup* |
---|
551 | %endif |
---|
552 | %ifarch %{sparc} ppc ppc64 ppc64le |
---|
553 | %{_sbindir}/%{name}-ofpathname |
---|
554 | %else |
---|
555 | %exclude %{_sbindir}/%{name}-ofpathname |
---|
556 | %exclude %{_datadir}/man/man8/%{name}-ofpathname* |
---|
557 | %endif |
---|
558 | %endif |
---|
559 | |
---|
560 | %files tools-extra |
---|
561 | %{_sbindir}/%{name}-sparc64-setup |
---|
562 | %{_sbindir}/%{name}-ofpathname |
---|
563 | %{_bindir}/%{name}-fstest |
---|
564 | %{_bindir}/%{name}-glue-efi |
---|
565 | %{_bindir}/%{name}-kbdcomp |
---|
566 | %{_bindir}/%{name}-mkfont |
---|
567 | %{_bindir}/%{name}-mklayout |
---|
568 | %{_bindir}/%{name}-mknetdir |
---|
569 | %ifnarch %{sparc} |
---|
570 | %{_bindir}/%{name}-mkrescue |
---|
571 | %endif |
---|
572 | %{_bindir}/%{name}-mkstandalone |
---|
573 | %{_bindir}/%{name}-syslinux2cfg |
---|
574 | %{_sysconfdir}/sysconfig/grub |
---|
575 | %{_datadir}/man/man8/%{name}-sparc64-setup* |
---|
576 | %{_datadir}/man/man8/%{name}-install* |
---|
577 | %{_datadir}/man/man1/%{name}-fstest* |
---|
578 | %{_datadir}/man/man1/%{name}-glue-efi* |
---|
579 | %{_datadir}/man/man1/%{name}-kbdcomp* |
---|
580 | %{_datadir}/man/man1/%{name}-mkfont* |
---|
581 | %{_datadir}/man/man1/%{name}-mklayout* |
---|
582 | %{_datadir}/man/man1/%{name}-mknetdir* |
---|
583 | %{_datadir}/man/man1/%{name}-mkrescue* |
---|
584 | %{_datadir}/man/man1/%{name}-mkstandalone* |
---|
585 | %{_datadir}/man/man8/%{name}-ofpathname* |
---|
586 | %{_datadir}/man/man1/%{name}-syslinux2cfg* |
---|
587 | %exclude %{_datarootdir}/grub/themes/starfield |
---|
588 | |
---|
589 | %if 0%{with_efi_arch} |
---|
590 | %{expand:%define_efi_variant_files %%{package_arch} %%{grubefiname} %%{grubeficdname} %%{grubefiarch} %%{target_cpu_name} %%{grub_target_name}} |
---|
591 | %endif |
---|
592 | %if 0%{with_alt_efi_arch} |
---|
593 | %{expand:%define_efi_variant_files %%{alt_package_arch} %%{grubaltefiname} %%{grubalteficdname} %%{grubaltefiarch} %%{alt_target_cpu_name} %%{alt_grub_target_name}} |
---|
594 | %endif |
---|
595 | %if 0%{with_legacy_arch} |
---|
596 | %{expand:%define_legacy_variant_files %%{legacy_package_arch} %%{grublegacyarch}} |
---|
597 | %endif |
---|
598 | |
---|
599 | %if 0%{with_emu_arch} |
---|
600 | %files emu |
---|
601 | %{_bindir}/%{name}-emu* |
---|
602 | %{_datadir}/man/man1/%{name}-emu* |
---|
603 | |
---|
604 | %files emu-modules |
---|
605 | %{_libdir}/grub/%{emuarch}-emu/* |
---|
606 | %exclude %{_libdir}/grub/%{emuarch}-emu/*.module |
---|
607 | %endif |
---|
608 | |
---|
609 | %files theme-starfield |
---|
610 | %defattr(-,root,root) |
---|
611 | %{_datarootdir}/grub/themes/starfield |
---|
612 | |
---|
613 | %files theme-vine |
---|
614 | %defattr(-,root,root) |
---|
615 | %{_datarootdir}/grub/themes/vine |
---|
616 | |
---|
617 | |
---|
618 | %changelog |
---|
619 | * Wed Sep 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.04-4 |
---|
620 | * Tue Jul 28 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.04-3 |
---|
621 | - imported Patch206-222 from rawhide. |
---|
622 | - updated ja.po. |
---|
623 | |
---|
624 | * Fri Apr 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.04-2 |
---|
625 | - replaced all patches to rawhide's. |
---|
626 | - fixed a path to locale files for UEFI. |
---|
627 | |
---|
628 | * Sat Sep 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.04-1 |
---|
629 | - new upstream release. |
---|
630 | - replaced all patches to rawhide's. |
---|
631 | - updated ja.po. |
---|
632 | |
---|
633 | * Sat Sep 16 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.02-16 |
---|
634 | - updated ja.po. |
---|
635 | |
---|
636 | * Fri Sep 15 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.02-15 |
---|
637 | - initial build for Vine Linux. |
---|
638 | - added configuration for Vine Linux. |
---|
639 | - added Patch100001: modified title-format. |
---|
640 | |
---|
641 | * Fri Aug 25 2017 Peter Jones <pjones@redhat.com> - 2.02-14 |
---|
642 | - Revert the /usr/lib/.build-id/ change: |
---|
643 | https://fedoraproject.org/wiki/Changes/ParallelInstallableDebuginfo |
---|
644 | says (without any particularly convincing reasoning): |
---|
645 | The main build-id file should not be in the debuginfo file, but in the |
---|
646 | main package (this was always a problem since the package and debuginfo |
---|
647 | package installed might not match). If we want to make usr/lib/debug/ a |
---|
648 | network resource then we will need to move the symlink to another |
---|
649 | location (maybe /usr/lib/.build-id). |
---|
650 | So do it that way. Of course it doesn't matter, because exclude gets |
---|
651 | ignored due to implementation details. |
---|
652 | |
---|
653 | * Fri Aug 25 2017 Peter Jones <pjones@redhat.com> - 2.02-13 |
---|
654 | - Add some unconditional Provides: |
---|
655 | grub2-efi on grub2-efi-${arch} |
---|
656 | grub2-efi-cdboot on grub2-efi-${arch}-cdboot |
---|
657 | grub2 on all grub2-${arch} pacakges |
---|
658 | - Something is somehow adding /usr/lib/.build-id/... to all the -tools |
---|
659 | subpackages, so exclude all that. |
---|
660 | |
---|
661 | * Thu Aug 24 2017 Peter Jones <pjones@redhat.com> - 2.02-12 |
---|
662 | - Fix arm kernel command line allocation |
---|
663 | Resolves: rhbz#1484609 |
---|
664 | - Get rid of the temporary extra efi packages hack. |
---|
665 | |
---|
666 | * Wed Aug 23 2017 Peter Jones <pjones@redhat.com> - 2.02-11 |
---|
667 | - Put grub2-mkimage in -tools, not -tools-extra. |
---|
668 | - Fix i686 building |
---|
669 | - Fix ppc HFS+ usage due to /boot/efi's presence. |
---|
670 | |
---|
671 | * Fri Aug 18 2017 Peter Jones <pjones@redhat.com> - 2.02-10 |
---|
672 | - Add the .img files into grub2-pc-modules (and all legacy variants) |
---|
673 | |
---|
674 | * Wed Aug 16 2017 Peter Jones <pjones@redhat.com> - 2.02-9 |
---|
675 | - Re-work for ia32-efi. |
---|
676 | |
---|
677 | * Wed Aug 16 2017 pjones <pjones@redhat.com> - 2.02-8 |
---|
678 | - Rebased to newer upstream for fedora-27 |
---|
679 | |
---|
680 | * Tue Aug 15 2017 Peter Jones <pjones@redhat.com> - 2.02-7 |
---|
681 | - Rebuild again with new fixed rpm. (bug #1480407) |
---|
682 | |
---|
683 | * Fri Aug 11 2017 Kevin Fenzi <kevin@scrye.com> - 2.02-6 |
---|
684 | - Rebuild again with new fixed rpm. (bug #1480407) |
---|
685 | |
---|
686 | * Thu Aug 10 2017 Kevin Fenzi <kevin@scrye.com> - 2.02-5 |
---|
687 | - Rebuild for rpm soname bump again. |
---|
688 | |
---|
689 | * Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.02-4 |
---|
690 | - Rebuilt for RPM soname bump |
---|
691 | |
---|
692 | * Thu Aug 03 2017 Peter Jones <pjones@redhat.com> - 2.02-3 |
---|
693 | - Rebuild so it gets SB signed correctly. |
---|
694 | Related: rhbz#1335533 |
---|
695 | - Enable lsefi |
---|
696 | |
---|
697 | * Mon Jul 24 2017 Michael Cronenworth <mike@cchtml.com> - 2.02-2 |
---|
698 | - Fix symlink to work on both EFI and BIOS machines |
---|
699 | Resolves: rhbz#1335533 |
---|
700 | |
---|
701 | * Mon Jul 10 2017 Peter Jones <pjones@redhat.com> - 2.02-1 |
---|
702 | - Rebased to newer upstream for fedora-27 |
---|
703 | |
---|
704 | * Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.02-0.39 |
---|
705 | - Add missing %%license macro |
---|
706 | - Fix deps that should have moved to -tools but didn't. |
---|
707 | |
---|
708 | * Thu Dec 08 2016 Peter Jones <pjones@redhat.com> - 2.02-0.38 |
---|
709 | - Fix regexp in power compile flags, and synchronize release number with |
---|
710 | other branches. |
---|
711 | |
---|
712 | * Fri Dec 02 2016 pjones <pjones@redhat.com> - 1:2.02-0.37 |
---|
713 | - Rebased to newer upstream for fedora-26 |
---|
714 | |
---|
715 | * Thu Dec 01 2016 Peter Jones <pjones@redhat.com> - 2.02-0.36 |
---|
716 | - Update version to .36 because I already built an f25 one named 0.35 |
---|
717 | |
---|
718 | * Thu Dec 01 2016 pjones <pjones@redhat.com> - 1:2.02-0.35 |
---|
719 | - Rebased to newer upstream for fedora-26 |
---|
720 | |
---|
721 | * Thu Dec 01 2016 Peter Jones <pjones@redhat.com> - 2.02-0.34 |
---|
722 | - Fix power6 makefile bits for newer autoconf defaults. |
---|
723 | - efi/chainloader: fix wrong sanity check in relocate_coff() (Laszlo Ersek) |
---|
724 | Resolves: rhbz#1347291 |
---|
725 | |
---|
726 | * Thu Aug 25 2016 Peter Jones <pjones@redhat.com> - 2.02-0.34 |
---|
727 | - Update to be newer than f24's branch. |
---|
728 | - Add grub2-get-kernel-settings |
---|
729 | Related: rhbz#1226325 |
---|
730 | |
---|
731 | * Thu Apr 07 2016 pjones <pjones@redhat.com> - 1:2.02-0.30 |
---|
732 | - Revert 27e66193, which was replaced by upstream's 49426e9fd |
---|
733 | Resolves: rhbz#1251600 |
---|
734 | |
---|
735 | * Thu Apr 07 2016 Peter Jones <pjones@redhat.com> - 2.02-0.29 |
---|
736 | - Fix ppc64 build failure and rebase to newer f24 code. |
---|
737 | |
---|
738 | * Tue Apr 05 2016 pjones <pjones@redhat.com> - 1:2.02-0.27 |
---|
739 | - Pull TPM updates from mjg59. |
---|
740 | Resolves: rhbz#1318067 |
---|
741 | |
---|
742 | * Tue Mar 08 2016 pjones <pjones@redhat.com> - 1:2.02-0.27 |
---|
743 | - Fix aarch64 build problem. |
---|
744 | |
---|
745 | * Fri Mar 04 2016 Peter Jones <pjones@redhat.com> - 2.02-0.26 |
---|
746 | - Rebased to newer upstream (grub-2.02-beta3) for fedora-24 |
---|
747 | |
---|
748 | * Thu Dec 10 2015 Peter Jones <pjones@redhat.com> - 2.02-0.25 |
---|
749 | - Fix security issue when reading username and password |
---|
750 | Related: CVE-2015-8370 |
---|
751 | - Do a better job of handling GRUB2_PASSWORD |
---|
752 | Related: rhbz#1284370 |
---|
753 | |
---|
754 | * Fri Nov 20 2015 Peter Jones <pjones@redhat.com> - 2.02-0.24 |
---|
755 | - Rebuild without multiboot* modules in the EFI image. |
---|
756 | Related: rhbz#1264103 |
---|
757 | |
---|
758 | * Sat Sep 05 2015 Kalev Lember <klember@redhat.com> - 2.02-0.23 |
---|
759 | - Rebuilt for librpm soname bump |
---|
760 | |
---|
761 | * Wed Aug 05 2015 Peter Jones <pjones@redhat.com> - 2.02-0.21 |
---|
762 | - Back out one of the debuginfo generation patches; it doesn't work right on |
---|
763 | aarch64 yet. |
---|
764 | Resolves: rhbz#1250197 |
---|
765 | |
---|
766 | * Mon Aug 03 2015 Peter Jones <pjones@redhat.com> - 2.02-0.20 |
---|
767 | - The previous fix was completely not right, so fix it a different way. |
---|
768 | Resolves: rhbz#1249668 |
---|
769 | |
---|
770 | * Fri Jul 31 2015 Peter Jones <pjones@redhat.com> - 2.02-0.19 |
---|
771 | - Fix grub2-mkconfig's sort to put kernels in the right order. |
---|
772 | Related: rhbz#1124074 |
---|
773 | |
---|
774 | * Thu Jul 30 2015 Peter Jones <pjones@redhat.com> - 2.02-0.18 |
---|
775 | - Fix a build failure on aarch64 |
---|
776 | |
---|
777 | * Wed Jul 22 2015 Peter Jones <pjones@redhat.com> - 2.02-0.17 |
---|
778 | - Don't build hardened (fixes FTBFS) (pbrobinson) |
---|
779 | - Reconcile with the current upstream |
---|
780 | - Fixes for gcc 5 |
---|
781 | |
---|
782 | * Tue Apr 28 2015 Peter Jones <pjones@redhat.com> - 2.02-0.16 |
---|
783 | - Make grub2-mkconfig produce the kernel titles we actually want. |
---|
784 | Resolves: rhbz#1215839 |
---|
785 | |
---|
786 | * Sat Feb 21 2015 Till Maas <opensource@till.name> |
---|
787 | - Rebuilt for Fedora 23 Change |
---|
788 | https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code |
---|
789 | |
---|
790 | * Mon Jan 05 2015 Peter Jones <pjones@redhat.com> - 2.02-0.15 |
---|
791 | - Bump release to rebuild with Ralf Corsépius's fixes. |
---|
792 | |
---|
793 | * Sun Jan 04 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.02-0.14 |
---|
794 | - Move grub2.info/grub2-dev.info install-info scriptlets into *-tools package. |
---|
795 | - Use sub-shell in %%__debug_install_post (RHBZ#1168732). |
---|
796 | - Cleanup grub2-starfield-theme packaging. |
---|
797 | |
---|
798 | * Thu Dec 04 2014 Peter Jones <pjones@redhat.com> - 2.02-0.13 |
---|
799 | - Update minilzo to 2.08 for CVE-2014-4607 |
---|
800 | Resolves: rhbz#1131793 |
---|
801 | |
---|
802 | * Thu Nov 13 2014 Peter Jones <pjones@redhat.com> - 2.02-0.12 |
---|
803 | - Make backtrace and usb conditional on !arm |
---|
804 | - Make sure gcdaa64.efi is packaged. |
---|
805 | Resolves: rhbz#1163481 |
---|
806 | |
---|
807 | * Fri Nov 07 2014 Peter Jones <pjones@redhat.com> - 2.02-0.11 |
---|
808 | - fix a copy-paste error in patch 0154. |
---|
809 | Resolves: rhbz#964828 |
---|
810 | |
---|
811 | * Mon Oct 27 2014 Peter Jones <pjones@redhat.com> - 2.02-0.10 |
---|
812 | - Try to emit linux16/initrd16 and linuxefi/initrdefi when appropriate |
---|
813 | in 30_os-prober. |
---|
814 | Resolves: rhbz#1108296 |
---|
815 | - If $fw_path doesn't work to find the config file, try $prefix as well |
---|
816 | Resolves: rhbz#1148652 |
---|
817 | |
---|
818 | * Mon Sep 29 2014 Peter Jones <pjones@redhat.com> - 2.02-0.9 |
---|
819 | - Clean up the build a bit to make it faster |
---|
820 | - Make grubenv work right on UEFI machines |
---|
821 | Related: rhbz#1119943 |
---|
822 | - Sort debug and rescue kernels later than normal ones |
---|
823 | Related: rhbz#1065360 |
---|
824 | - Allow "fallback" to include entries by title as well as number. |
---|
825 | Related: rhbz#1026084 |
---|
826 | - Fix a segfault on aarch64. |
---|
827 | - Load arm with SB enabled if available. |
---|
828 | - Add some serial port options to GRUB_MODULES. |
---|
829 | |
---|
830 | * Tue Aug 19 2014 Peter Jones <pjones@redhat.com> - 2.02-0.8 |
---|
831 | - Add ppc64le support. |
---|
832 | Resolves: rhbz#1125540 |
---|
833 | |
---|
834 | * Thu Jul 24 2014 Peter Jones <pjones@redhat.com> - 2.02-0.7 |
---|
835 | - Enabled syslinuxcfg module. |
---|
836 | |
---|
837 | * Wed Jul 02 2014 Peter Jones <pjones@redhat.com> - 2.02-0.6 |
---|
838 | - Re-merge RHEL 7 changes and ARM works in progress. |
---|
839 | |
---|
840 | * Mon Jun 30 2014 Peter Jones <pjones@redhat.com> - 2.02-0.5 |
---|
841 | - Avoid munging raw spaces when we're escaping command line arguments. |
---|
842 | Resolves: rhbz#923374 |
---|
843 | |
---|
844 | * Tue Jun 24 2014 Peter Jones <pjones@redhat.com> - 2.02-0.4 |
---|
845 | - Update to latest upstream. |
---|
846 | |
---|
847 | * Thu Mar 13 2014 Peter Jones <pjones@redhat.com> - 2.02-0.3 |
---|
848 | - Merge in RHEL 7 changes and ARM works in progress. |
---|
849 | |
---|
850 | * Mon Jan 06 2014 Peter Jones <pjones@redhat.com> - 2.02-0.2 |
---|
851 | - Update to grub-2.02~beta2 |
---|
852 | |
---|
853 | * Sat Aug 10 2013 Peter Jones <pjones@redhat.com> - 2.00-25 |
---|
854 | - Last build failed because of a hardware error on the builder. |
---|
855 | |
---|
856 | * Mon Aug 05 2013 Peter Jones <pjones@redhat.com> - 2.00-24 |
---|
857 | - Fix compiler flags to deal with -fstack-protector-strong |
---|
858 | |
---|
859 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.00-24 |
---|
860 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
861 | |
---|
862 | * Tue Jul 02 2013 Dennis Gilmore <dennis@ausil.us> - 2.00-23 |
---|
863 | - add epoch to obsoletes |
---|
864 | |
---|
865 | * Fri Jun 21 2013 Peter Jones <pjones@redhat.com> - 2.00-22 |
---|
866 | - Fix linewrapping in edit menu. |
---|
867 | Resolves: rhbz #976643 |
---|
868 | |
---|
869 | * Thu Jun 20 2013 Peter Jones <pjones@redhat.com> - 2.00-21 |
---|
870 | - Fix obsoletes to pull in -starfield-theme subpackage when it should. |
---|
871 | |
---|
872 | * Fri Jun 14 2013 Peter Jones <pjones@redhat.com> - 2.00-20 |
---|
873 | - Put the theme entirely ento the subpackage where it belongs (#974667) |
---|
874 | |
---|
875 | * Wed Jun 12 2013 Peter Jones <pjones@redhat.com> - 2.00-19 |
---|
876 | - Rebase to upstream snapshot. |
---|
877 | - Fix PPC build error (#967862) |
---|
878 | - Fix crash on net_bootp command (#960624) |
---|
879 | - Reset colors on ppc when appropriate (#908519) |
---|
880 | - Left align "Loading..." messages (#908492) |
---|
881 | - Fix probing of SAS disks on PPC (#953954) |
---|
882 | - Add support for UEFI OSes returned by os-prober |
---|
883 | - Disable "video" mode on PPC for now (#973205) |
---|
884 | - Make grub fit better into the boot sequence, visually (#966719) |
---|
885 | |
---|
886 | * Fri May 10 2013 Matthias Clasen <mclasen@redhat.com> - 2.00-18 |
---|
887 | - Move the starfield theme to a subpackage (#962004) |
---|
888 | - Don't allow SSE or MMX on UEFI builds (#949761) |
---|
889 | |
---|
890 | * Wed Apr 24 2013 Peter Jones <pjones@redhat.com> - 2.00-17.pj0 |
---|
891 | - Rebase to upstream snapshot. |
---|
892 | |
---|
893 | * Thu Apr 04 2013 Peter Jones <pjones@redhat.com> - 2.00-17 |
---|
894 | - Fix booting from drives with 4k sectors on UEFI. |
---|
895 | - Move bash completion to new location (#922997) |
---|
896 | - Include lvm support for /boot (#906203) |
---|
897 | |
---|
898 | * Thu Feb 14 2013 Peter Jones <pjones@redhat.com> - 2.00-16 |
---|
899 | - Allow the user to disable submenu generation |
---|
900 | - (partially) support BLS-style configuration stanzas. |
---|
901 | |
---|
902 | * Tue Feb 12 2013 Peter Jones <pjones@redhat.com> - 2.00-15.pj0 |
---|
903 | - Add various config file related changes. |
---|
904 | |
---|
905 | * Thu Dec 20 2012 Dennis Gilmore <dennis@ausil.us> - 2.00-15 |
---|
906 | - bump nvr |
---|
907 | |
---|
908 | * Mon Dec 17 2012 Karsten Hopp <karsten@redhat.com> 2.00-14 |
---|
909 | - add bootpath device to the device list (pfsmorigo, #886685) |
---|
910 | |
---|
911 | * Tue Nov 27 2012 Peter Jones <pjones@redhat.com> - 2.00-13 |
---|
912 | - Add vlan tag support (pfsmorigo, #871563) |
---|
913 | - Follow symlinks during PReP installation in grub2-install (pfsmorigo, #874234) |
---|
914 | - Improve search paths for config files on network boot (pfsmorigo, #873406) |
---|
915 | |
---|
916 | * Tue Oct 23 2012 Peter Jones <pjones@redhat.com> - 2.00-12 |
---|
917 | - Don't load modules when grub transitions to "normal" mode on UEFI. |
---|
918 | |
---|
919 | * Mon Oct 22 2012 Peter Jones <pjones@redhat.com> - 2.00-11 |
---|
920 | - Rebuild with newer pesign so we'll get signed with the final signing keys. |
---|
921 | |
---|
922 | * Thu Oct 18 2012 Peter Jones <pjones@redhat.com> - 2.00-10 |
---|
923 | - Various PPC fixes. |
---|
924 | - Fix crash fetching from http (gustavold, #860834) |
---|
925 | - Issue separate dns queries for ipv4 and ipv6 (gustavold, #860829) |
---|
926 | - Support IBM CAS reboot (pfsmorigo, #859223) |
---|
927 | - Include all modules in the core image on ppc (pfsmorigo, #866559) |
---|
928 | |
---|
929 | * Mon Oct 01 2012 Peter Jones <pjones@redhat.com> - 1:2.00-9 |
---|
930 | - Work around bug with using "\x20" in linux command line. |
---|
931 | Related: rhbz#855849 |
---|
932 | |
---|
933 | * Thu Sep 20 2012 Peter Jones <pjones@redhat.com> - 2.00-8 |
---|
934 | - Don't error on insmod on UEFI/SB, but also don't do any insmodding. |
---|
935 | - Increase device path size for ieee1275 |
---|
936 | Resolves: rhbz#857936 |
---|
937 | - Make network booting work on ieee1275 machines. |
---|
938 | Resolves: rhbz#857936 |
---|
939 | |
---|
940 | * Wed Sep 05 2012 Matthew Garrett <mjg@redhat.com> - 2.00-7 |
---|
941 | - Add Apple partition map support for EFI |
---|
942 | |
---|
943 | * Thu Aug 23 2012 David Cantrell <dcantrell@redhat.com> - 2.00-6 |
---|
944 | - Only require pesign on EFI architectures (#851215) |
---|
945 | |
---|
946 | * Tue Aug 14 2012 Peter Jones <pjones@redhat.com> - 2.00-5 |
---|
947 | - Work around AHCI firmware bug in efidisk driver. |
---|
948 | - Move to newer pesign macros |
---|
949 | - Don't allow insmod if we're in secure-boot mode. |
---|
950 | |
---|
951 | * Wed Aug 08 2012 Peter Jones <pjones@redhat.com> |
---|
952 | - Split module lists for UEFI boot vs UEFI cd images. |
---|
953 | - Add raid modules for UEFI image (related: #750794) |
---|
954 | - Include a prelink whitelist for binaries that need execstack (#839813) |
---|
955 | - Include fix efi memory map fix from upstream (#839363) |
---|
956 | |
---|
957 | * Wed Aug 08 2012 Peter Jones <pjones@redhat.com> - 2.00-4 |
---|
958 | - Correct grub-mkimage invocation to use efidir RPM macro (jwb) |
---|
959 | - Sign with test keys on UEFI systems. |
---|
960 | - PPC - Handle device paths with commas correctly. |
---|
961 | Related: rhbz#828740 |
---|
962 | |
---|
963 | * Wed Jul 25 2012 Peter Jones <pjones@redhat.com> - 2.00-3 |
---|
964 | - Add some more code to support Secure Boot, and temporarily disable |
---|
965 | some other bits that don't work well enough yet. |
---|
966 | Resolves: rhbz#836695 |
---|
967 | |
---|
968 | * Wed Jul 11 2012 Matthew Garrett <mjg@redhat.com> - 2.00-2 |
---|
969 | - Set a prefix for the image - needed for installer work |
---|
970 | - Provide the font in the EFI directory for the same reason |
---|
971 | |
---|
972 | * Thu Jun 28 2012 Peter Jones <pjones@redhat.com> - 2.00-1 |
---|
973 | - Rebase to grub-2.00 release. |
---|
974 | |
---|
975 | * Mon Jun 18 2012 Peter Jones <pjones@redhat.com> - 2.0-0.37.beta6 |
---|
976 | - Fix double-free in grub-probe. |
---|
977 | |
---|
978 | * Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.36.beta6 |
---|
979 | - Build with patch19 applied. |
---|
980 | |
---|
981 | * Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.35.beta6 |
---|
982 | - More ppc fixes. |
---|
983 | |
---|
984 | * Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.34.beta6 |
---|
985 | - Add IBM PPC fixes. |
---|
986 | |
---|
987 | * Mon Jun 04 2012 Peter Jones <pjones@redhat.com> - 2.0-0.33.beta6 |
---|
988 | - Update to beta6. |
---|
989 | - Various fixes from mads. |
---|
990 | |
---|
991 | * Fri May 25 2012 Peter Jones <pjones@redhat.com> - 2.0-0.32.beta5 |
---|
992 | - Revert builddep change for crt1.o; it breaks ppc build. |
---|
993 | |
---|
994 | * Fri May 25 2012 Peter Jones <pjones@redhat.com> - 2.0-0.31.beta5 |
---|
995 | - Add fwsetup command (pjones) |
---|
996 | - More ppc fixes (IBM) |
---|
997 | |
---|
998 | * Tue May 22 2012 Peter Jones <pjones@redhat.com> - 2.0-0.30.beta5 |
---|
999 | - Fix the /other/ grub2-tools require to include epoch. |
---|
1000 | |
---|
1001 | * Mon May 21 2012 Peter Jones <pjones@redhat.com> - 2.0-0.29.beta5 |
---|
1002 | - Get rid of efi_uga and efi_gop, favoring all_video instead. |
---|
1003 | |
---|
1004 | * Mon May 21 2012 Peter Jones <pjones@redhat.com> - 2.0-0.28.beta5 |
---|
1005 | - Name grub.efi something that's arch-appropriate (kiilerix, pjones) |
---|
1006 | - use EFI/$SOMETHING_DISTRO_BASED/ not always EFI/redhat/grub2-efi/ . |
---|
1007 | - move common stuff to -tools (kiilerix) |
---|
1008 | - spec file cleanups (kiilerix) |
---|
1009 | |
---|
1010 | * Mon May 14 2012 Peter Jones <pjones@redhat.com> - 2.0-0.27.beta5 |
---|
1011 | - Fix module trampolining on ppc (benh) |
---|
1012 | |
---|
1013 | * Thu May 10 2012 Peter Jones <pjones@redhat.com> - 2.0-0.27.beta5 |
---|
1014 | - Fix license of theme (mizmo) |
---|
1015 | Resolves: rhbz#820713 |
---|
1016 | - Fix some PPC bootloader detection IBM problem |
---|
1017 | Resolves: rhbz#820722 |
---|
1018 | |
---|
1019 | * Thu May 10 2012 Peter Jones <pjones@redhat.com> - 2.0-0.26.beta5 |
---|
1020 | - Update to beta5. |
---|
1021 | - Update how efi building works (kiilerix) |
---|
1022 | - Fix theme support to bring in fonts correctly (kiilerix, pjones) |
---|
1023 | |
---|
1024 | * Wed May 09 2012 Peter Jones <pjones@redhat.com> - 2.0-0.25.beta4 |
---|
1025 | - Include theme support (mizmo) |
---|
1026 | - Include locale support (kiilerix) |
---|
1027 | - Include html docs (kiilerix) |
---|
1028 | |
---|
1029 | * Thu Apr 26 2012 Peter Jones <pjones@redhat.com> - 2.0-0.24 |
---|
1030 | - Various fixes from Mads Kiilerich |
---|
1031 | |
---|
1032 | * Thu Apr 19 2012 Peter Jones <pjones@redhat.com> - 2.0-0.23 |
---|
1033 | - Update to 2.00~beta4 |
---|
1034 | - Make fonts work so we can do graphics reasonably |
---|
1035 | |
---|
1036 | * Thu Mar 29 2012 David Aquilina <dwa@redhat.com> - 2.0-0.22 |
---|
1037 | - Fix ieee1275 platform define for ppc |
---|
1038 | |
---|
1039 | * Thu Mar 29 2012 Peter Jones <pjones@redhat.com> - 2.0-0.21 |
---|
1040 | - Remove ppc excludearch lines (dwa) |
---|
1041 | - Update ppc terminfo patch (hamzy) |
---|
1042 | |
---|
1043 | * Wed Mar 28 2012 Peter Jones <pjones@redhat.com> - 2.0-0.20 |
---|
1044 | - Fix ppc64 vs ppc exclude according to what dwa tells me they need |
---|
1045 | - Fix version number to better match policy. |
---|
1046 | |
---|
1047 | * Tue Mar 27 2012 Dan Horák <dan[at]danny.cz> - 1.99-19.2 |
---|
1048 | - Add support for serial terminal consoles on PPC by Mark Hamzy |
---|
1049 | |
---|
1050 | * Sun Mar 25 2012 Dan Horák <dan[at]danny.cz> - 1.99-19.1 |
---|
1051 | - Use Fix-tests-of-zeroed-partition patch by Mark Hamzy |
---|
1052 | |
---|
1053 | * Thu Mar 15 2012 Peter Jones <pjones@redhat.com> - 1.99-19 |
---|
1054 | - Use --with-grubdir= on configure to make it behave like -17 did. |
---|
1055 | |
---|
1056 | * Wed Mar 14 2012 Peter Jones <pjones@redhat.com> - 1.99-18 |
---|
1057 | - Rebase from 1.99 to 2.00~beta2 |
---|
1058 | |
---|
1059 | * Wed Mar 07 2012 Peter Jones <pjones@redhat.com> - 1.99-17 |
---|
1060 | - Update for newer autotools and gcc 4.7.0 |
---|
1061 | Related: rhbz#782144 |
---|
1062 | - Add /etc/sysconfig/grub link to /etc/default/grub |
---|
1063 | Resolves: rhbz#800152 |
---|
1064 | - ExcludeArch s390*, which is not supported by this package. |
---|
1065 | Resolves: rhbz#758333 |
---|
1066 | |
---|
1067 | * Fri Feb 17 2012 Orion Poplawski <orion@cora.nwra.com> - 1:1.99-16 |
---|
1068 | - Build with -Os (bug 782144) |
---|
1069 | |
---|
1070 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.99-15 |
---|
1071 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
1072 | |
---|
1073 | * Wed Dec 14 2011 Matthew Garrett <mjg@redhat.com> - 1.99-14 |
---|
1074 | - fix up various grub2-efi issues |
---|
1075 | |
---|
1076 | * Thu Dec 08 2011 Adam Williamson <awilliam@redhat.com> - 1.99-13 |
---|
1077 | - fix hardwired call to grub-probe in 30_os-prober (rhbz#737203) |
---|
1078 | |
---|
1079 | * Mon Nov 07 2011 Peter Jones <pjones@redhat.com> - 1.99-12 |
---|
1080 | - Lots of .spec fixes from Mads Kiilerich: |
---|
1081 | Remove comment about update-grub - it isn't run in any scriptlets |
---|
1082 | patch info pages so they can be installed and removed correctly when renamed |
---|
1083 | fix references to grub/grub2 renames in info pages (#743964) |
---|
1084 | update README.Fedora (#734090) |
---|
1085 | fix comments for the hack for upgrading from grub2 < 1.99-4 |
---|
1086 | fix sed syntax error preventing use of $RPM_OPT_FLAGS (#704820) |
---|
1087 | make /etc/grub2*.cfg %config(noreplace) |
---|
1088 | make grub.cfg %ghost - an empty file is of no use anyway |
---|
1089 | create /etc/default/grub more like anaconda would create it (#678453) |
---|
1090 | don't create rescue entries by default - grubby will not maintain them anyway |
---|
1091 | set GRUB_SAVEDEFAULT=true so saved defaults works (rbhz#732058) |
---|
1092 | grub2-efi should have its own bash completion |
---|
1093 | don't set gfxpayload in efi mode - backport upstream r3402 |
---|
1094 | - Handle dmraid better. Resolves: rhbz#742226 |
---|
1095 | |
---|
1096 | * Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.99-11 |
---|
1097 | - Rebuilt for glibc bug#747377 |
---|
1098 | |
---|
1099 | * Wed Oct 19 2011 Adam Williamson <awilliam@redhat.com> - 1.99-10 |
---|
1100 | - /etc/default/grub is explicitly intended for user customization, so |
---|
1101 | mark it as config(noreplace) |
---|
1102 | |
---|
1103 | * Tue Oct 11 2011 Peter Jones <pjones@redhat.com> - 1.99-9 |
---|
1104 | - grub has an epoch, so we need that expressed in the obsolete as well. |
---|
1105 | Today isn't my day. |
---|
1106 | |
---|
1107 | * Tue Oct 11 2011 Peter Jones <pjones@redhat.com> - 1.99-8 |
---|
1108 | - Fix my bad obsoletes syntax. |
---|
1109 | |
---|
1110 | * Thu Oct 06 2011 Peter Jones <pjones@redhat.com> - 1.99-7 |
---|
1111 | - Obsolete grub |
---|
1112 | Resolves: rhbz#743381 |
---|
1113 | |
---|
1114 | * Wed Sep 14 2011 Peter Jones <pjones@redhat.com> - 1.99-6 |
---|
1115 | - Use mv not cp to try to avoid moving disk blocks around for -5 fix |
---|
1116 | Related: rhbz#735259 |
---|
1117 | - handle initramfs on xen better (patch from Marko Ristola) |
---|
1118 | Resolves: rhbz#728775 |
---|
1119 | |
---|
1120 | * Sat Sep 03 2011 Kalev Lember <kalevlember@gmail.com> - 1.99-5 |
---|
1121 | - Fix upgrades from grub2 < 1.99-4 (#735259) |
---|
1122 | |
---|
1123 | * Fri Sep 02 2011 Peter Jones <pjones@redhat.com> - 1.99-4 |
---|
1124 | - Don't do sysadminny things in %preun or %post ever. (#735259) |
---|
1125 | - Actually include the changelog in this build (sorry about -3) |
---|
1126 | |
---|
1127 | * Thu Sep 01 2011 Peter Jones <pjones@redhat.com> - 1.99-2 |
---|
1128 | - Require os-prober (#678456) (patch from Elad Alfassa) |
---|
1129 | - Require which (#734959) (patch from Elad Alfassa) |
---|
1130 | |
---|
1131 | * Thu Sep 01 2011 Peter Jones <pjones@redhat.com> - 1.99-1 |
---|
1132 | - Update to grub-1.99 final. |
---|
1133 | - Fix crt1.o require on x86-64 (fix from Mads Kiilerich) |
---|
1134 | - Various CFLAGS fixes (from Mads Kiilerich) |
---|
1135 | - -fexceptions and -m64 |
---|
1136 | - Temporarily ignore translations (from Mads Kiilerich) |
---|
1137 | |
---|
1138 | * Thu Jul 21 2011 Peter Jones <pjones@redhat.com> - 1.99-0.3 |
---|
1139 | - Use /sbin not /usr/sbin . |
---|
1140 | |
---|
1141 | * Thu Jun 23 2011 Peter Lemenkov <lemenkov@gmail.com> - 1:1.99-0.2 |
---|
1142 | - Fixes for ppc and ppc64 |
---|
1143 | |
---|
1144 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.98-4 |
---|
1145 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|