grub2-vl.spec 38 KB

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