grub2-vl.spec 38 KB

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