grub2-vl.spec 39 KB

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