grub2-vl.spec 38 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150
  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: 5%{?_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. * Mon Feb 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.04-5
  536. - rebuilt with rpm-4.16.
  537. * Wed Sep 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.04-4
  538. - rebuilt with current environment.
  539. * Tue Jul 28 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.04-3
  540. - imported Patch206-222 from rawhide.
  541. - updated ja.po.
  542. * Fri Apr 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.04-2
  543. - replaced all patches to rawhide's.
  544. - fixed a path to locale files for UEFI.
  545. * Sat Sep 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.04-1
  546. - new upstream release.
  547. - replaced all patches to rawhide's.
  548. - updated ja.po.
  549. * Sat Sep 16 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.02-16
  550. - updated ja.po.
  551. * Fri Sep 15 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.02-15
  552. - initial build for Vine Linux.
  553. - added configuration for Vine Linux.
  554. - added Patch100001: modified title-format.
  555. * Fri Aug 25 2017 Peter Jones <pjones@redhat.com> - 2.02-14
  556. - Revert the /usr/lib/.build-id/ change:
  557. https://fedoraproject.org/wiki/Changes/ParallelInstallableDebuginfo
  558. says (without any particularly convincing reasoning):
  559. The main build-id file should not be in the debuginfo file, but in the
  560. main package (this was always a problem since the package and debuginfo
  561. package installed might not match). If we want to make usr/lib/debug/ a
  562. network resource then we will need to move the symlink to another
  563. location (maybe /usr/lib/.build-id).
  564. So do it that way. Of course it doesn't matter, because exclude gets
  565. ignored due to implementation details.
  566. * Fri Aug 25 2017 Peter Jones <pjones@redhat.com> - 2.02-13
  567. - Add some unconditional Provides:
  568. grub2-efi on grub2-efi-${arch}
  569. grub2-efi-cdboot on grub2-efi-${arch}-cdboot
  570. grub2 on all grub2-${arch} pacakges
  571. - Something is somehow adding /usr/lib/.build-id/... to all the -tools
  572. subpackages, so exclude all that.
  573. * Thu Aug 24 2017 Peter Jones <pjones@redhat.com> - 2.02-12
  574. - Fix arm kernel command line allocation
  575. Resolves: rhbz#1484609
  576. - Get rid of the temporary extra efi packages hack.
  577. * Wed Aug 23 2017 Peter Jones <pjones@redhat.com> - 2.02-11
  578. - Put grub2-mkimage in -tools, not -tools-extra.
  579. - Fix i686 building
  580. - Fix ppc HFS+ usage due to /boot/efi's presence.
  581. * Fri Aug 18 2017 Peter Jones <pjones@redhat.com> - 2.02-10
  582. - Add the .img files into grub2-pc-modules (and all legacy variants)
  583. * Wed Aug 16 2017 Peter Jones <pjones@redhat.com> - 2.02-9
  584. - Re-work for ia32-efi.
  585. * Wed Aug 16 2017 pjones <pjones@redhat.com> - 2.02-8
  586. - Rebased to newer upstream for fedora-27
  587. * Tue Aug 15 2017 Peter Jones <pjones@redhat.com> - 2.02-7
  588. - Rebuild again with new fixed rpm. (bug #1480407)
  589. * Fri Aug 11 2017 Kevin Fenzi <kevin@scrye.com> - 2.02-6
  590. - Rebuild again with new fixed rpm. (bug #1480407)
  591. * Thu Aug 10 2017 Kevin Fenzi <kevin@scrye.com> - 2.02-5
  592. - Rebuild for rpm soname bump again.
  593. * Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.02-4
  594. - Rebuilt for RPM soname bump
  595. * Thu Aug 03 2017 Peter Jones <pjones@redhat.com> - 2.02-3
  596. - Rebuild so it gets SB signed correctly.
  597. Related: rhbz#1335533
  598. - Enable lsefi
  599. * Mon Jul 24 2017 Michael Cronenworth <mike@cchtml.com> - 2.02-2
  600. - Fix symlink to work on both EFI and BIOS machines
  601. Resolves: rhbz#1335533
  602. * Mon Jul 10 2017 Peter Jones <pjones@redhat.com> - 2.02-1
  603. - Rebased to newer upstream for fedora-27
  604. * Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 2.02-0.39
  605. - Add missing %%license macro
  606. - Fix deps that should have moved to -tools but didn't.
  607. * Thu Dec 08 2016 Peter Jones <pjones@redhat.com> - 2.02-0.38
  608. - Fix regexp in power compile flags, and synchronize release number with
  609. other branches.
  610. * Fri Dec 02 2016 pjones <pjones@redhat.com> - 1:2.02-0.37
  611. - Rebased to newer upstream for fedora-26
  612. * Thu Dec 01 2016 Peter Jones <pjones@redhat.com> - 2.02-0.36
  613. - Update version to .36 because I already built an f25 one named 0.35
  614. * Thu Dec 01 2016 pjones <pjones@redhat.com> - 1:2.02-0.35
  615. - Rebased to newer upstream for fedora-26
  616. * Thu Dec 01 2016 Peter Jones <pjones@redhat.com> - 2.02-0.34
  617. - Fix power6 makefile bits for newer autoconf defaults.
  618. - efi/chainloader: fix wrong sanity check in relocate_coff() (Laszlo Ersek)
  619. Resolves: rhbz#1347291
  620. * Thu Aug 25 2016 Peter Jones <pjones@redhat.com> - 2.02-0.34
  621. - Update to be newer than f24's branch.
  622. - Add grub2-get-kernel-settings
  623. Related: rhbz#1226325
  624. * Thu Apr 07 2016 pjones <pjones@redhat.com> - 1:2.02-0.30
  625. - Revert 27e66193, which was replaced by upstream's 49426e9fd
  626. Resolves: rhbz#1251600
  627. * Thu Apr 07 2016 Peter Jones <pjones@redhat.com> - 2.02-0.29
  628. - Fix ppc64 build failure and rebase to newer f24 code.
  629. * Tue Apr 05 2016 pjones <pjones@redhat.com> - 1:2.02-0.27
  630. - Pull TPM updates from mjg59.
  631. Resolves: rhbz#1318067
  632. * Tue Mar 08 2016 pjones <pjones@redhat.com> - 1:2.02-0.27
  633. - Fix aarch64 build problem.
  634. * Fri Mar 04 2016 Peter Jones <pjones@redhat.com> - 2.02-0.26
  635. - Rebased to newer upstream (grub-2.02-beta3) for fedora-24
  636. * Thu Dec 10 2015 Peter Jones <pjones@redhat.com> - 2.02-0.25
  637. - Fix security issue when reading username and password
  638. Related: CVE-2015-8370
  639. - Do a better job of handling GRUB2_PASSWORD
  640. Related: rhbz#1284370
  641. * Fri Nov 20 2015 Peter Jones <pjones@redhat.com> - 2.02-0.24
  642. - Rebuild without multiboot* modules in the EFI image.
  643. Related: rhbz#1264103
  644. * Sat Sep 05 2015 Kalev Lember <klember@redhat.com> - 2.02-0.23
  645. - Rebuilt for librpm soname bump
  646. * Wed Aug 05 2015 Peter Jones <pjones@redhat.com> - 2.02-0.21
  647. - Back out one of the debuginfo generation patches; it doesn't work right on
  648. aarch64 yet.
  649. Resolves: rhbz#1250197
  650. * Mon Aug 03 2015 Peter Jones <pjones@redhat.com> - 2.02-0.20
  651. - The previous fix was completely not right, so fix it a different way.
  652. Resolves: rhbz#1249668
  653. * Fri Jul 31 2015 Peter Jones <pjones@redhat.com> - 2.02-0.19
  654. - Fix grub2-mkconfig's sort to put kernels in the right order.
  655. Related: rhbz#1124074
  656. * Thu Jul 30 2015 Peter Jones <pjones@redhat.com> - 2.02-0.18
  657. - Fix a build failure on aarch64
  658. * Wed Jul 22 2015 Peter Jones <pjones@redhat.com> - 2.02-0.17
  659. - Don't build hardened (fixes FTBFS) (pbrobinson)
  660. - Reconcile with the current upstream
  661. - Fixes for gcc 5
  662. * Tue Apr 28 2015 Peter Jones <pjones@redhat.com> - 2.02-0.16
  663. - Make grub2-mkconfig produce the kernel titles we actually want.
  664. Resolves: rhbz#1215839
  665. * Sat Feb 21 2015 Till Maas <opensource@till.name>
  666. - Rebuilt for Fedora 23 Change
  667. https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
  668. * Mon Jan 05 2015 Peter Jones <pjones@redhat.com> - 2.02-0.15
  669. - Bump release to rebuild with Ralf Corsépius's fixes.
  670. * Sun Jan 04 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.02-0.14
  671. - Move grub2.info/grub2-dev.info install-info scriptlets into *-tools package.
  672. - Use sub-shell in %%__debug_install_post (RHBZ#1168732).
  673. - Cleanup grub2-starfield-theme packaging.
  674. * Thu Dec 04 2014 Peter Jones <pjones@redhat.com> - 2.02-0.13
  675. - Update minilzo to 2.08 for CVE-2014-4607
  676. Resolves: rhbz#1131793
  677. * Thu Nov 13 2014 Peter Jones <pjones@redhat.com> - 2.02-0.12
  678. - Make backtrace and usb conditional on !arm
  679. - Make sure gcdaa64.efi is packaged.
  680. Resolves: rhbz#1163481
  681. * Fri Nov 07 2014 Peter Jones <pjones@redhat.com> - 2.02-0.11
  682. - fix a copy-paste error in patch 0154.
  683. Resolves: rhbz#964828
  684. * Mon Oct 27 2014 Peter Jones <pjones@redhat.com> - 2.02-0.10
  685. - Try to emit linux16/initrd16 and linuxefi/initrdefi when appropriate
  686. in 30_os-prober.
  687. Resolves: rhbz#1108296
  688. - If $fw_path doesn't work to find the config file, try $prefix as well
  689. Resolves: rhbz#1148652
  690. * Mon Sep 29 2014 Peter Jones <pjones@redhat.com> - 2.02-0.9
  691. - Clean up the build a bit to make it faster
  692. - Make grubenv work right on UEFI machines
  693. Related: rhbz#1119943
  694. - Sort debug and rescue kernels later than normal ones
  695. Related: rhbz#1065360
  696. - Allow "fallback" to include entries by title as well as number.
  697. Related: rhbz#1026084
  698. - Fix a segfault on aarch64.
  699. - Load arm with SB enabled if available.
  700. - Add some serial port options to GRUB_MODULES.
  701. * Tue Aug 19 2014 Peter Jones <pjones@redhat.com> - 2.02-0.8
  702. - Add ppc64le support.
  703. Resolves: rhbz#1125540
  704. * Thu Jul 24 2014 Peter Jones <pjones@redhat.com> - 2.02-0.7
  705. - Enabled syslinuxcfg module.
  706. * Wed Jul 02 2014 Peter Jones <pjones@redhat.com> - 2.02-0.6
  707. - Re-merge RHEL 7 changes and ARM works in progress.
  708. * Mon Jun 30 2014 Peter Jones <pjones@redhat.com> - 2.02-0.5
  709. - Avoid munging raw spaces when we're escaping command line arguments.
  710. Resolves: rhbz#923374
  711. * Tue Jun 24 2014 Peter Jones <pjones@redhat.com> - 2.02-0.4
  712. - Update to latest upstream.
  713. * Thu Mar 13 2014 Peter Jones <pjones@redhat.com> - 2.02-0.3
  714. - Merge in RHEL 7 changes and ARM works in progress.
  715. * Mon Jan 06 2014 Peter Jones <pjones@redhat.com> - 2.02-0.2
  716. - Update to grub-2.02~beta2
  717. * Sat Aug 10 2013 Peter Jones <pjones@redhat.com> - 2.00-25
  718. - Last build failed because of a hardware error on the builder.
  719. * Mon Aug 05 2013 Peter Jones <pjones@redhat.com> - 2.00-24
  720. - Fix compiler flags to deal with -fstack-protector-strong
  721. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.00-24
  722. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  723. * Tue Jul 02 2013 Dennis Gilmore <dennis@ausil.us> - 2.00-23
  724. - add epoch to obsoletes
  725. * Fri Jun 21 2013 Peter Jones <pjones@redhat.com> - 2.00-22
  726. - Fix linewrapping in edit menu.
  727. Resolves: rhbz #976643
  728. * Thu Jun 20 2013 Peter Jones <pjones@redhat.com> - 2.00-21
  729. - Fix obsoletes to pull in -starfield-theme subpackage when it should.
  730. * Fri Jun 14 2013 Peter Jones <pjones@redhat.com> - 2.00-20
  731. - Put the theme entirely ento the subpackage where it belongs (#974667)
  732. * Wed Jun 12 2013 Peter Jones <pjones@redhat.com> - 2.00-19
  733. - Rebase to upstream snapshot.
  734. - Fix PPC build error (#967862)
  735. - Fix crash on net_bootp command (#960624)
  736. - Reset colors on ppc when appropriate (#908519)
  737. - Left align "Loading..." messages (#908492)
  738. - Fix probing of SAS disks on PPC (#953954)
  739. - Add support for UEFI OSes returned by os-prober
  740. - Disable "video" mode on PPC for now (#973205)
  741. - Make grub fit better into the boot sequence, visually (#966719)
  742. * Fri May 10 2013 Matthias Clasen <mclasen@redhat.com> - 2.00-18
  743. - Move the starfield theme to a subpackage (#962004)
  744. - Don't allow SSE or MMX on UEFI builds (#949761)
  745. * Wed Apr 24 2013 Peter Jones <pjones@redhat.com> - 2.00-17.pj0
  746. - Rebase to upstream snapshot.
  747. * Thu Apr 04 2013 Peter Jones <pjones@redhat.com> - 2.00-17
  748. - Fix booting from drives with 4k sectors on UEFI.
  749. - Move bash completion to new location (#922997)
  750. - Include lvm support for /boot (#906203)
  751. * Thu Feb 14 2013 Peter Jones <pjones@redhat.com> - 2.00-16
  752. - Allow the user to disable submenu generation
  753. - (partially) support BLS-style configuration stanzas.
  754. * Tue Feb 12 2013 Peter Jones <pjones@redhat.com> - 2.00-15.pj0
  755. - Add various config file related changes.
  756. * Thu Dec 20 2012 Dennis Gilmore <dennis@ausil.us> - 2.00-15
  757. - bump nvr
  758. * Mon Dec 17 2012 Karsten Hopp <karsten@redhat.com> 2.00-14
  759. - add bootpath device to the device list (pfsmorigo, #886685)
  760. * Tue Nov 27 2012 Peter Jones <pjones@redhat.com> - 2.00-13
  761. - Add vlan tag support (pfsmorigo, #871563)
  762. - Follow symlinks during PReP installation in grub2-install (pfsmorigo, #874234)
  763. - Improve search paths for config files on network boot (pfsmorigo, #873406)
  764. * Tue Oct 23 2012 Peter Jones <pjones@redhat.com> - 2.00-12
  765. - Don't load modules when grub transitions to "normal" mode on UEFI.
  766. * Mon Oct 22 2012 Peter Jones <pjones@redhat.com> - 2.00-11
  767. - Rebuild with newer pesign so we'll get signed with the final signing keys.
  768. * Thu Oct 18 2012 Peter Jones <pjones@redhat.com> - 2.00-10
  769. - Various PPC fixes.
  770. - Fix crash fetching from http (gustavold, #860834)
  771. - Issue separate dns queries for ipv4 and ipv6 (gustavold, #860829)
  772. - Support IBM CAS reboot (pfsmorigo, #859223)
  773. - Include all modules in the core image on ppc (pfsmorigo, #866559)
  774. * Mon Oct 01 2012 Peter Jones <pjones@redhat.com> - 1:2.00-9
  775. - Work around bug with using "\x20" in linux command line.
  776. Related: rhbz#855849
  777. * Thu Sep 20 2012 Peter Jones <pjones@redhat.com> - 2.00-8
  778. - Don't error on insmod on UEFI/SB, but also don't do any insmodding.
  779. - Increase device path size for ieee1275
  780. Resolves: rhbz#857936
  781. - Make network booting work on ieee1275 machines.
  782. Resolves: rhbz#857936
  783. * Wed Sep 05 2012 Matthew Garrett <mjg@redhat.com> - 2.00-7
  784. - Add Apple partition map support for EFI
  785. * Thu Aug 23 2012 David Cantrell <dcantrell@redhat.com> - 2.00-6
  786. - Only require pesign on EFI architectures (#851215)
  787. * Tue Aug 14 2012 Peter Jones <pjones@redhat.com> - 2.00-5
  788. - Work around AHCI firmware bug in efidisk driver.
  789. - Move to newer pesign macros
  790. - Don't allow insmod if we're in secure-boot mode.
  791. * Wed Aug 08 2012 Peter Jones <pjones@redhat.com>
  792. - Split module lists for UEFI boot vs UEFI cd images.
  793. - Add raid modules for UEFI image (related: #750794)
  794. - Include a prelink whitelist for binaries that need execstack (#839813)
  795. - Include fix efi memory map fix from upstream (#839363)
  796. * Wed Aug 08 2012 Peter Jones <pjones@redhat.com> - 2.00-4
  797. - Correct grub-mkimage invocation to use efidir RPM macro (jwb)
  798. - Sign with test keys on UEFI systems.
  799. - PPC - Handle device paths with commas correctly.
  800. Related: rhbz#828740
  801. * Wed Jul 25 2012 Peter Jones <pjones@redhat.com> - 2.00-3
  802. - Add some more code to support Secure Boot, and temporarily disable
  803. some other bits that don't work well enough yet.
  804. Resolves: rhbz#836695
  805. * Wed Jul 11 2012 Matthew Garrett <mjg@redhat.com> - 2.00-2
  806. - Set a prefix for the image - needed for installer work
  807. - Provide the font in the EFI directory for the same reason
  808. * Thu Jun 28 2012 Peter Jones <pjones@redhat.com> - 2.00-1
  809. - Rebase to grub-2.00 release.
  810. * Mon Jun 18 2012 Peter Jones <pjones@redhat.com> - 2.0-0.37.beta6
  811. - Fix double-free in grub-probe.
  812. * Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.36.beta6
  813. - Build with patch19 applied.
  814. * Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.35.beta6
  815. - More ppc fixes.
  816. * Wed Jun 06 2012 Peter Jones <pjones@redhat.com> - 2.0-0.34.beta6
  817. - Add IBM PPC fixes.
  818. * Mon Jun 04 2012 Peter Jones <pjones@redhat.com> - 2.0-0.33.beta6
  819. - Update to beta6.
  820. - Various fixes from mads.
  821. * Fri May 25 2012 Peter Jones <pjones@redhat.com> - 2.0-0.32.beta5
  822. - Revert builddep change for crt1.o; it breaks ppc build.
  823. * Fri May 25 2012 Peter Jones <pjones@redhat.com> - 2.0-0.31.beta5
  824. - Add fwsetup command (pjones)
  825. - More ppc fixes (IBM)
  826. * Tue May 22 2012 Peter Jones <pjones@redhat.com> - 2.0-0.30.beta5
  827. - Fix the /other/ grub2-tools require to include epoch.
  828. * Mon May 21 2012 Peter Jones <pjones@redhat.com> - 2.0-0.29.beta5
  829. - Get rid of efi_uga and efi_gop, favoring all_video instead.
  830. * Mon May 21 2012 Peter Jones <pjones@redhat.com> - 2.0-0.28.beta5
  831. - Name grub.efi something that's arch-appropriate (kiilerix, pjones)
  832. - use EFI/$SOMETHING_DISTRO_BASED/ not always EFI/redhat/grub2-efi/ .
  833. - move common stuff to -tools (kiilerix)
  834. - spec file cleanups (kiilerix)
  835. * Mon May 14 2012 Peter Jones <pjones@redhat.com> - 2.0-0.27.beta5
  836. - Fix module trampolining on ppc (benh)
  837. * Thu May 10 2012 Peter Jones <pjones@redhat.com> - 2.0-0.27.beta5
  838. - Fix license of theme (mizmo)
  839. Resolves: rhbz#820713
  840. - Fix some PPC bootloader detection IBM problem
  841. Resolves: rhbz#820722
  842. * Thu May 10 2012 Peter Jones <pjones@redhat.com> - 2.0-0.26.beta5
  843. - Update to beta5.
  844. - Update how efi building works (kiilerix)
  845. - Fix theme support to bring in fonts correctly (kiilerix, pjones)
  846. * Wed May 09 2012 Peter Jones <pjones@redhat.com> - 2.0-0.25.beta4
  847. - Include theme support (mizmo)
  848. - Include locale support (kiilerix)
  849. - Include html docs (kiilerix)
  850. * Thu Apr 26 2012 Peter Jones <pjones@redhat.com> - 2.0-0.24
  851. - Various fixes from Mads Kiilerich
  852. * Thu Apr 19 2012 Peter Jones <pjones@redhat.com> - 2.0-0.23
  853. - Update to 2.00~beta4
  854. - Make fonts work so we can do graphics reasonably
  855. * Thu Mar 29 2012 David Aquilina <dwa@redhat.com> - 2.0-0.22
  856. - Fix ieee1275 platform define for ppc
  857. * Thu Mar 29 2012 Peter Jones <pjones@redhat.com> - 2.0-0.21
  858. - Remove ppc excludearch lines (dwa)
  859. - Update ppc terminfo patch (hamzy)
  860. * Wed Mar 28 2012 Peter Jones <pjones@redhat.com> - 2.0-0.20
  861. - Fix ppc64 vs ppc exclude according to what dwa tells me they need
  862. - Fix version number to better match policy.
  863. * Tue Mar 27 2012 Dan Horák <dan[at]danny.cz> - 1.99-19.2
  864. - Add support for serial terminal consoles on PPC by Mark Hamzy
  865. * Sun Mar 25 2012 Dan Horák <dan[at]danny.cz> - 1.99-19.1
  866. - Use Fix-tests-of-zeroed-partition patch by Mark Hamzy
  867. * Thu Mar 15 2012 Peter Jones <pjones@redhat.com> - 1.99-19
  868. - Use --with-grubdir= on configure to make it behave like -17 did.
  869. * Wed Mar 14 2012 Peter Jones <pjones@redhat.com> - 1.99-18
  870. - Rebase from 1.99 to 2.00~beta2
  871. * Wed Mar 07 2012 Peter Jones <pjones@redhat.com> - 1.99-17
  872. - Update for newer autotools and gcc 4.7.0
  873. Related: rhbz#782144
  874. - Add /etc/sysconfig/grub link to /etc/default/grub
  875. Resolves: rhbz#800152
  876. - ExcludeArch s390*, which is not supported by this package.
  877. Resolves: rhbz#758333
  878. * Fri Feb 17 2012 Orion Poplawski <orion@cora.nwra.com> - 1:1.99-16
  879. - Build with -Os (bug 782144)
  880. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.99-15
  881. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  882. * Wed Dec 14 2011 Matthew Garrett <mjg@redhat.com> - 1.99-14
  883. - fix up various grub2-efi issues
  884. * Thu Dec 08 2011 Adam Williamson <awilliam@redhat.com> - 1.99-13
  885. - fix hardwired call to grub-probe in 30_os-prober (rhbz#737203)
  886. * Mon Nov 07 2011 Peter Jones <pjones@redhat.com> - 1.99-12
  887. - Lots of .spec fixes from Mads Kiilerich:
  888. Remove comment about update-grub - it isn't run in any scriptlets
  889. patch info pages so they can be installed and removed correctly when renamed
  890. fix references to grub/grub2 renames in info pages (#743964)
  891. update README.Fedora (#734090)
  892. fix comments for the hack for upgrading from grub2 < 1.99-4
  893. fix sed syntax error preventing use of $RPM_OPT_FLAGS (#704820)
  894. make /etc/grub2*.cfg %config(noreplace)
  895. make grub.cfg %ghost - an empty file is of no use anyway
  896. create /etc/default/grub more like anaconda would create it (#678453)
  897. don't create rescue entries by default - grubby will not maintain them anyway
  898. set GRUB_SAVEDEFAULT=true so saved defaults works (rbhz#732058)
  899. grub2-efi should have its own bash completion
  900. don't set gfxpayload in efi mode - backport upstream r3402
  901. - Handle dmraid better. Resolves: rhbz#742226
  902. * Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.99-11
  903. - Rebuilt for glibc bug#747377
  904. * Wed Oct 19 2011 Adam Williamson <awilliam@redhat.com> - 1.99-10
  905. - /etc/default/grub is explicitly intended for user customization, so
  906. mark it as config(noreplace)
  907. * Tue Oct 11 2011 Peter Jones <pjones@redhat.com> - 1.99-9
  908. - grub has an epoch, so we need that expressed in the obsolete as well.
  909. Today isn't my day.
  910. * Tue Oct 11 2011 Peter Jones <pjones@redhat.com> - 1.99-8
  911. - Fix my bad obsoletes syntax.
  912. * Thu Oct 06 2011 Peter Jones <pjones@redhat.com> - 1.99-7
  913. - Obsolete grub
  914. Resolves: rhbz#743381
  915. * Wed Sep 14 2011 Peter Jones <pjones@redhat.com> - 1.99-6
  916. - Use mv not cp to try to avoid moving disk blocks around for -5 fix
  917. Related: rhbz#735259
  918. - handle initramfs on xen better (patch from Marko Ristola)
  919. Resolves: rhbz#728775
  920. * Sat Sep 03 2011 Kalev Lember <kalevlember@gmail.com> - 1.99-5
  921. - Fix upgrades from grub2 < 1.99-4 (#735259)
  922. * Fri Sep 02 2011 Peter Jones <pjones@redhat.com> - 1.99-4
  923. - Don't do sysadminny things in %preun or %post ever. (#735259)
  924. - Actually include the changelog in this build (sorry about -3)
  925. * Thu Sep 01 2011 Peter Jones <pjones@redhat.com> - 1.99-2
  926. - Require os-prober (#678456) (patch from Elad Alfassa)
  927. - Require which (#734959) (patch from Elad Alfassa)
  928. * Thu Sep 01 2011 Peter Jones <pjones@redhat.com> - 1.99-1
  929. - Update to grub-1.99 final.
  930. - Fix crt1.o require on x86-64 (fix from Mads Kiilerich)
  931. - Various CFLAGS fixes (from Mads Kiilerich)
  932. - -fexceptions and -m64
  933. - Temporarily ignore translations (from Mads Kiilerich)
  934. * Thu Jul 21 2011 Peter Jones <pjones@redhat.com> - 1.99-0.3
  935. - Use /sbin not /usr/sbin .
  936. * Thu Jun 23 2011 Peter Lemenkov <lemenkov@gmail.com> - 1:1.99-0.2
  937. - Fixes for ppc and ppc64
  938. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.98-4
  939. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild