diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-12-24 22:42:14 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-12-24 22:42:14 +0000 |
commit | 0366aa4f47bcac58f9402d5db55efc7acb80b1ff (patch) | |
tree | e428406c434ac19708a0ad9202856252eef299eb /sys-boot | |
parent | revbump, rm obsolete cg useflag, fix sdl2 support (diff) | |
download | historical-0366aa4f47bcac58f9402d5db55efc7acb80b1ff.tar.gz historical-0366aa4f47bcac58f9402d5db55efc7acb80b1ff.tar.bz2 historical-0366aa4f47bcac58f9402d5db55efc7acb80b1ff.zip |
Version bump.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0x0BBEEA1FEA4843A4
Diffstat (limited to 'sys-boot')
-rw-r--r-- | sys-boot/grub/ChangeLog | 8 | ||||
-rw-r--r-- | sys-boot/grub/Manifest | 12 | ||||
-rw-r--r-- | sys-boot/grub/grub-2.02_beta2.ebuild | 318 | ||||
-rw-r--r-- | sys-boot/grub/grub-9999-r1.ebuild | 4 |
4 files changed, 334 insertions, 8 deletions
diff --git a/sys-boot/grub/ChangeLog b/sys-boot/grub/ChangeLog index f905ff9b01b5..74d693ce701d 100644 --- a/sys-boot/grub/ChangeLog +++ b/sys-boot/grub/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-boot/grub # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/ChangeLog,v 1.300 2013/12/24 02:41:11 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/ChangeLog,v 1.301 2013/12/24 22:42:11 floppym Exp $ + +*grub-2.02_beta2 (24 Dec 2013) + + 24 Dec 2013; Mike Gilbert <floppym@gentoo.org> +grub-2.02_beta2.ebuild, + grub-9999-r1.ebuild: + Version bump. 24 Dec 2013; Mike Gilbert <floppym@gentoo.org> -grub-2.02_beta1.ebuild, grub-2.02_beta1-r1.ebuild, grub-9999-r1.ebuild: diff --git a/sys-boot/grub/Manifest b/sys-boot/grub/Manifest index dc585126dc16..42faf5ebe164 100644 --- a/sys-boot/grub/Manifest +++ b/sys-boot/grub/Manifest @@ -49,6 +49,7 @@ DIST grub-1.99.tar.xz 2639224 SHA256 f308148d4c83c6f16a73b58a0cd39381656edb74092 DIST grub-2.00.tar.xz 5136412 SHA256 784ec38e7edc32239ad75b8e66df04dc8bfb26d88681bc9f627133a6eb85c458 SHA512 f0dbfc90639491e5c671d2df206dec0139171bf096a99ee236f7ebf21cdafc6e6d39a9607e14ad2a6aee7c199ecc63f0a39573d969318e1a0cd32f989aa6b44a WHIRLPOOL b9690c023ab507926b8615ce28bf9de82b793ebd02126a5ecd52a130ab4bc52e2ae650b02ae2d784d4089e2981be944ba8b4800cde742aab793ff0d9029843c8 DIST grub-2.00_p5107.tar.xz 5836972 SHA256 92fd8f93621e7083f32ba6ef407f2984e5d3caaafdc35fb3d89ed054ca7c4dac SHA512 a70017dfc837e8fa869af7f71ca6191973f3f44f5a93378100cff5da425aa132b3903a3602ab907ef070872bb7a17f0586c8415845645c596d0621a4929ca83d WHIRLPOOL 5d88806fc849d2ff78ca590312110be4505e2801fee7c68faba39a54a44eedc16eb25dad88f1ff0058dea2e98382944c7e7632ccfa6f4a171ff0ef00cf67fd2d DIST grub-2.02~beta1.tar.xz 5780376 SHA256 fa2afb686537f498bb6598633e2a6b8f02e2e4affd487ec5567f657d7ab3bad1 SHA512 03c47822902581ce55ff2bb6e8fa9e61ef75770d5a10cfada8b7760caeaf8509df15f7c49b72921edac8326bc73fd408e584066a348801404c239210b98079b3 WHIRLPOOL ac24a2f6b138305c2e5b6e497cb2e98934ffddf91f9c9f2a9ceeb6c01586bf188445cd531c057227535ad4d6e059825bf20a37eb0bb59b3f428d4c1874cc521a +DIST grub-2.02~beta2.tar.xz 5798740 SHA256 f6c702b2a8ea58f27a2b02928bb77973cb5a827af08f63db38c471c0a01b418d SHA512 359903928febce1df53b3bd38aab701b4ea010dfad0dee434e853c865af4bbc60d115e61eac100c79f18d89aa78b2216ef20123f4ef04cc948ecbe226ea1a58c WHIRLPOOL f92e94f43888648484a972a0c82b0a2ac4dc7fbdd6e35ca8b11a6ee92168ac8cf7ee68987b84697ec46ad18189e5c5c9aee8105b91bb131cd7f6f499f45cd58f DIST splash.xpm.gz 33856 SHA256 b95600f777331b0dd31d51c68f60f0e846e4c8b628857a41165f4e6b30e6acaf SHA512 5ae1f786f7d46a95a7061068d5b2b3ad64607c7b190d6f28379508c5dce67e26308325bfd637542a84855dfcf1ea3d143947326fdb189a6a8972208d3ead23da WHIRLPOOL d95b7b588ea8ac7c2c8c53eb8057aef21c825da6411afe3b7e864c606aeffaaebce8ae41ce3e979f277bd6b48a9e82a1f2ea8afc836213b56523d8a854227d7b DIST unifont-5.1.20080820.pcf.gz 1379965 SHA256 122b9c470f29b70223b0e07404a6dfa7f339fcfa6ae74c024f478945af7a9a63 SHA512 8939e2bc82ca97b60e6678f3ff079a2be7ba9b702f2e8ee289e853af5823695f7baafbf14b674fc5e41071f2a6de4f2dadd56bf8b4653849dd756d59622f1649 WHIRLPOOL 0f083d66781cc4c3e554ebeda4e21843fa275ecf3e1908b4873fadfe37b7c88e8346a124656704bb1b29f89afee23d6301b4df0f19e788f454c60d47156fe78d DIST unifont-6.3.20131217.pcf.gz 1357501 SHA256 67e5a2bbbd638fe5c2b7e58d9935163de686225d33c6b5faac48b01c42a2e8e8 SHA512 4f3c1a6a64a39aadd60f019c7113fa2e8034b524d11afaa74e6d21a0ac97eeeebe031285abac04e253c9bef246f162c2087527246d7bb808fb69cd0389075515 WHIRLPOOL 808c660e996b2167161ff64b24312e324998a680049de2a6d0a01773ba234c9a9d0dc198693f0e6d5b5e3d37ceeeb82def2ded2ec7e498afa1e7a6593c363ab8 @@ -74,13 +75,14 @@ EBUILD grub-2.00-r4.ebuild 6772 SHA256 567b9c19af55d0687a084eab551197c6bb2b36bc8 EBUILD grub-2.00_p5107-r2.ebuild 8080 SHA256 a962749fb4ef3cac0bdbe7faa620380a2d6cb064b37823dc71201dab8356804a SHA512 e29425d7262e5902fd9e87ed6c7e72df15dd670152c6dcd365b5c6e0ee8019599e3314a4cdea867de6acd7d2babcdb66b91535d7ceeb7c58c60ebca9407bb19c WHIRLPOOL 19d522b67db7139193505f93aa5a474e5f88a5d2ee322d7c8283c2c2ad7984bfaf9cbfae6820d125b11b8b0a8b41b049b3ca72e9c60b8f0a4d82653ea791c34e EBUILD grub-2.00_p5107.ebuild 6567 SHA256 fecc66f9d1f45a940530ddaf1fc9fcb1c05c2346b1ee8170c3a897d7be5c5fd9 SHA512 7ce9b814878dceb204dbe5a7103517ab451bce414e2075420e234392369b5edd82e499907becdabff456ad3c5ca53ede74dfa7132ed1b33904f44c52fc471cd0 WHIRLPOOL 103d3db1fb21055d69289717bf6acef361cc4fec4e862413f90d047987889d8b248b5c15288977aab2f3df686990dd14f3e6a3cf90da0d3eb0a066f2b773a593 EBUILD grub-2.02_beta1-r1.ebuild 8197 SHA256 8ad751b9fa33371bf242577bc387c436fc1685b5211363b6d108e2571f9bd0cc SHA512 27aeb00e699e5cd737e7d3c8f714a69e537bbe94e0a2210b40c2e98fe1bc4ee7c79f080ac334564190ea282dff0c76628a52b2f2cbd5d44e94512c45347686ef WHIRLPOOL 85affb0b3bc01fc8659ec27553e7e4827cf9aa7f56600b6855149e759cd935a4332112dad8fd0114e97d80dff5e5c63d6aa4c67832c23139a26bdc198dab8144 -EBUILD grub-9999-r1.ebuild 8191 SHA256 c76065b05cb5115301b818afa0b4efe7d1cd71069c03c85da95f14defdb7710b SHA512 2b6ca153f0e83bcc58b108a2a51907aa7e7fbc11607cf915f439d4872faee8ef4e7837d26e523a6e35d217a9e1bf466dd07e02ee46e9fee3c68cfabdee20c492 WHIRLPOOL a283fd7fc9a70987229b9e5817d788e603035a512454936d71158d60cdac3b6584fb35af2a77aa33c650bb48cc74a3a56838787e2ee3042d252886f88a8c6347 -MISC ChangeLog 56195 SHA256 aa85037f31093c265673287838b7e56c82aa9e3e8ebbbeebad70ffe9a168a1c1 SHA512 f1710dea4818b0d630046bef9af832001b8031e0edb4acee443ce77504164815384511102cc1f9c118ff4eaa65d0401c982bc2f711643fe33f99925f9bf8ed47 WHIRLPOOL 0a3cff9803bbff06c0735e186a78bf2809e74790581cba7e0d4f7cdef90e777d46172c9d62578e271a46bb1a7fe3ed4c4f9694993a1b92037f90c857924b028e +EBUILD grub-2.02_beta2.ebuild 8131 SHA256 1f18c1212cfbe97202ac8ca2e610f10992cd4141ffc8b3268aa41d55fd807523 SHA512 b80f9217d941d1e1c85f5012490785238e487349b1f347e7d0433ac8f1f32dc475d29195957a1b2f5ab3d98856b5872c1090ccd77c090d1b2df4fafd9c5c0be6 WHIRLPOOL f4df22f434f891dcd657dd400a41e242d4d05a7fc81c714b23bf9a72255a89e3b2ecdbef5ed023a174b4522d83bdc39958a5dca6df36d645d92811cd326de0fb +EBUILD grub-9999-r1.ebuild 8129 SHA256 0e19e8a9d5c8c24e75b97eea5e26fe90031a4edddb1b18df58fe79fd317b111d SHA512 bb8de7138e147d3a09713bbc226ae0a05de517fe3e8242833c302c5f50c596e3f6ba783c5aae79bffaa9d8bd28e0ecd2e435d98b1adbaaf829744d7533cc6efe WHIRLPOOL 62220b2a86b67844b529c45141958249b4374cdfd497a7a4009debce4d9b7be79df928c10efb0b166744aeb6f26ed02f251e477b2621d48ea1e53bf593ece000 +MISC ChangeLog 56341 SHA256 c9775fdcecb5ce4dc8dc0febe969ff794b6968559774eccfa8a5e76512d3d91d SHA512 bc1f14d83ea547b361dceabfc793e9c4fea1d248843f2342c9f65bdc9dabaf37727b7bd67f405bd4e9c3d5a8b865eebc1d990fecb8bae33c63ae2fe9c327fa5b WHIRLPOOL c13c7fdc9a40025a7c1ebe989f9986f58c23f8693aef78febfa01e288427f6b8b8f0a2f123d99c55de10a418192e958a442e8cdcfafbfecd14eac6d9a416987b MISC metadata.xml 838 SHA256 01beea9f20f03e00fdc21576a1311d3c21874980cdd57a9f2ed08a9d7cda1c46 SHA512 f6266f2f77db089d2f9289be079ef5a3637726b0906c5e96a7d8b7e29a8105cb7c48b9739f5607c0fdac2545db0e87f35132769f82b12db11a6f0018cc3c92f2 WHIRLPOOL 528d4f57ca38b0f0d4c34cd6bd60c7aeefc0fabd1e1e7be8efe0fcba04824d047a6e04288f1fbbd8e865c7435b53e84caffe7d4196809b157ee76e0d2be6f8df -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iF4EAREIAAYFAlK49E0ACgkQC77qH+pIQ6TCnwEAjx6jhQG1ktHyy3O6ZcoNFVn1 -e34i58LnARuHALH6baoA/15lQsnQnu17I/z9467e2lrlGtPuMF6AYsPTPB0D9lG/ -=skX5 +iF4EAREIAAYFAlK6DcUACgkQC77qH+pIQ6Sf3QEAsFn4hRtBgpmtgwOnwKZxE9O5 +2/BPMPP0PY6ywySaK2sA/2HSzQOqhQ3vu/gr3MI1CJhilPlTV3vEd/GbhUGawBCD +=Tm3y -----END PGP SIGNATURE----- diff --git a/sys-boot/grub/grub-2.02_beta2.ebuild b/sys-boot/grub/grub-2.02_beta2.ebuild new file mode 100644 index 000000000000..d20af58c1cb3 --- /dev/null +++ b/sys-boot/grub/grub-2.02_beta2.ebuild @@ -0,0 +1,318 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-2.02_beta2.ebuild,v 1.1 2013/12/24 22:42:11 floppym Exp $ + +EAPI=5 + +if [[ ${PV} == 9999 ]]; then + AUTOTOOLS_AUTORECONF=1 + GRUB_AUTOGEN=1 +fi + +if [[ -n ${GRUB_AUTOGEN} ]]; then + PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) + inherit python-any-r1 +fi + +inherit autotools-utils bash-completion-r1 eutils flag-o-matic mount-boot multibuild pax-utils toolchain-funcs versionator + +if [[ ${PV} != 9999 ]]; then + if [[ ${PV} == *_alpha* || ${PV} == *_beta* || ${PV} == *_rc* ]]; then + MY_P="${P/_/~}" + SRC_URI="mirror://gnu-alpha/${PN}/${MY_P}.tar.xz" + S=${WORKDIR}/${MY_P} + else + SRC_URI="mirror://gnu/${PN}/${P}.tar.xz + mirror://gentoo/${P}.tar.xz + http://dev.gentoo.org/~floppym/dist/${P}.tar.xz" + S=${WORKDIR}/${P%_*} + fi + KEYWORDS="~amd64 ~x86" + PATCHES=() +else + inherit git-r3 + EGIT_REPO_URI="git://git.sv.gnu.org/grub.git + http://git.savannah.gnu.org/r/grub.git" +fi + +DEJAVU=dejavu-sans-ttf-2.34 +UNIFONT=unifont-6.3.20131217 +SRC_URI+=" truetype? ( + mirror://sourceforge/dejavu/${DEJAVU}.zip + http://unifoundry.com/pub/${UNIFONT}/${UNIFONT}.pcf.gz +)" + +DESCRIPTION="GNU GRUB boot loader" +HOMEPAGE="http://www.gnu.org/software/grub/" + +# Includes licenses for dejavu and unifont +LICENSE="GPL-3 truetype? ( BitstreamVera GPL-2-with-font-exception )" +SLOT="2" +IUSE="debug device-mapper doc efiemu mount +multislot nls static sdl test truetype libzfs" + +GRUB_ALL_PLATFORMS=( + # everywhere: + emu + # mips only: + qemu-mips yeeloong + # amd64, x86, ppc, ppc64: + ieee1275 + # amd64, x86: + coreboot multiboot efi-32 pc qemu + # amd64, ia64: + efi-64 +) +IUSE+=" ${GRUB_ALL_PLATFORMS[@]/#/grub_platforms_}" + +REQUIRED_USE="grub_platforms_qemu? ( truetype ) + grub_platforms_yeeloong? ( truetype )" + +# os-prober: Used on runtime to detect other OSes +# xorriso (dev-libs/libisoburn): Used on runtime for mkrescue +RDEPEND=" + app-arch/xz-utils + >=sys-libs/ncurses-5.2-r5 + debug? ( + sdl? ( media-libs/libsdl ) + ) + device-mapper? ( >=sys-fs/lvm2-2.02.45 ) + libzfs? ( sys-fs/zfs ) + mount? ( sys-fs/fuse ) + truetype? ( media-libs/freetype ) + ppc? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) + ppc64? ( sys-apps/ibm-powerpc-utils sys-apps/powerpc-utils ) +" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + app-misc/pax-utils + sys-devel/flex + sys-devel/bison + sys-apps/help2man + sys-apps/texinfo + static? ( + app-arch/xz-utils[static-libs(+)] + truetype? ( + app-arch/bzip2[static-libs(+)] + media-libs/freetype[static-libs(+)] + sys-libs/zlib[static-libs(+)] + ) + ) + test? ( + dev-libs/libisoburn + app-emulation/qemu + ) + truetype? ( app-arch/unzip ) +" +RDEPEND+=" + kernel_linux? ( + grub_platforms_efi-32? ( sys-boot/efibootmgr ) + grub_platforms_efi-64? ( sys-boot/efibootmgr ) + ) + !multislot? ( !sys-boot/grub:0 ) +" + +STRIP_MASK="*/grub/*/*.{mod,img}" +RESTRICT="test" + +QA_EXECSTACK=" + usr/bin/grub*-emu* + usr/lib*/grub/*/*.mod + usr/lib*/grub/*/*.module + usr/lib*/grub/*/kernel.exec + usr/lib*/grub/*/kernel.img +" + +QA_WX_LOAD=" + usr/lib*/grub/*/kernel.exec + usr/lib*/grub/*/kernel.img + usr/lib*/grub/*/*.image +" + +QA_PRESTRIPPED=" + usr/lib.*/grub/.*/kernel.img +" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]]; then + # Bug 439082 + if ! version_is_at_least 4.8 "$(gcc-version)" && + $(tc-getLD) --version | grep -q "GNU gold"; then + eerror "GRUB does not function correctly when built with the gold linker." + eerror "Please select the bfd linker with binutils-config." + die "GNU gold detected" + fi + fi +} + +src_unpack() { + if [[ ${PV} == 9999 ]]; then + git-r3_src_unpack + fi + default_src_unpack +} + +src_prepare() { + [[ ${PATCHES} ]] && epatch "${PATCHES[@]}" + sed -i -e /autoreconf/d autogen.sh || die + if use multislot; then + # fix texinfo file name, bug 416035 + sed -i -e 's/^\* GRUB:/* GRUB2:/' -e 's/(grub)/(grub2)/' docs/grub.texi || die + fi + epatch_user + if [[ -n ${GRUB_AUTOGEN} ]]; then + python_setup + bash autogen.sh || die + fi + if [[ -n ${AUTOTOOLS_AUTORECONF} ]]; then + autopoint() { return 0; } + eautoreconf + fi +} + +setup_fonts() { + ln -s "${WORKDIR}/${DEJAVU}/ttf/DejaVuSans.ttf" DejaVuSans.ttf || die + ln -s "${WORKDIR}/${UNIFONT}.pcf" unifont.pcf || die +} + +grub_configure() { + local platform + + case ${MULTIBUILD_VARIANT} in + efi-32) + platform=efi + if [[ ${CTARGET:-${CHOST}} == x86_64* ]]; then + local CTARGET=${CTARGET:-i386} + fi ;; + efi-64) + platform=efi + if [[ ${CTARGET:-${CHOST}} == i?86* ]]; then + local CTARGET=${CTARGET:-x86_64} + local TARGET_CFLAGS="-Os -march=x86-64 ${TARGET_CFLAGS}" + local TARGET_CPPFLAGS="-march=x86-64 ${TARGET_CPPFLAGS}" + export TARGET_CFLAGS TARGET_CPPFLAGS + fi ;; + guessed) ;; + *) platform=${MULTIBUILD_VARIANT} ;; + esac + + local myeconfargs=( + --disable-werror + --program-prefix= + --libdir="${EPREFIX}"/usr/lib + --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html + $(use_enable debug mm-debug) + $(use_enable debug grub-emu-usb) + $(use_enable device-mapper) + $(use_enable mount grub-mount) + $(use_enable nls) + $(use_enable truetype grub-mkfont) + $(use_enable libzfs) + $(use sdl && use_enable debug grub-emu-sdl) + ${platform:+--with-platform=}${platform} + + # Let configure detect this where supported + $(usex efiemu '' '--disable-efiemu') + ) + + if use multislot; then + myeconfargs+=( --program-transform-name="s,grub,grub2," ) + fi + + if use truetype; then + mkdir -p "${BUILD_DIR}" || die + run_in_build_dir setup_fonts + fi + + autotools-utils_src_configure +} + +src_configure() { + # We don't want to leak flags onto boot code. + export HOST_CCASFLAGS=${CCASFLAGS} + export HOST_CFLAGS=${CFLAGS} + export HOST_CPPFLAGS=${CPPFLAGS} + export HOST_LDFLAGS=${LDFLAGS} + unset CCASFLAGS CFLAGS CPPFLAGS LDFLAGS + + use static && HOST_LDFLAGS+=" -static" + + if version_is_at_least 4.8 "$(gcc-version)"; then + export TARGET_LDFLAGS+=" -fuse-ld=bfd" + fi + + tc-export CC NM OBJCOPY STRIP + export TARGET_CC=${TARGET_CC:-${CC}} + tc-export BUILD_CC # Bug 485592 + + # Portage will take care of cleaning up GRUB_PLATFORMS + MULTIBUILD_VARIANTS=( ${GRUB_PLATFORMS:-guessed} ) + multibuild_parallel_foreach_variant grub_configure +} + +src_compile() { + # Sandbox bug 404013. + use libzfs && addpredict /etc/dfs:/dev/zfs + + multibuild_foreach_variant autotools-utils_src_compile + + use doc && multibuild_for_best_variant \ + autotools-utils_src_compile -C docs html +} + +src_test() { + # The qemu dependency is a bit complex. + # You will need to adjust QEMU_SOFTMMU_TARGETS to match the cpu/platform. + multibuild_foreach_variant autotools-utils_src_test +} + +src_install() { + multibuild_foreach_variant autotools-utils_src_install \ + bashcompletiondir="$(get_bashcompdir)" + + use doc && multibuild_for_best_variant run_in_build_dir \ + emake -C docs DESTDIR="${D}" install-html + + if use multislot; then + mv "${ED%/}"/usr/share/info/grub{,2}.info || die + fi + + insinto /etc/default + newins "${FILESDIR}"/grub.default-3 grub +} + +pkg_postinst() { + mount-boot_mount_boot_partition + + if [[ -e "${ROOT%/}/boot/grub2/grub.cfg" && ! -e "${ROOT%/}/boot/grub/grub.cfg" ]]; then + mkdir -p "${ROOT%/}/boot/grub" + ln -s ../grub2/grub.cfg "${ROOT%/}/boot/grub/grub.cfg" + fi + + mount-boot_pkg_postinst + + elog "For information on how to configure GRUB2 please refer to the guide:" + elog " http://wiki.gentoo.org/wiki/GRUB2_Quick_Start" + + if has_version 'sys-boot/grub:0'; then + elog "A migration guide for GRUB Legacy users is available:" + elog " http://www.gentoo.org/doc/en/grub2-migration.xml" + fi + + if [[ -z ${REPLACING_VERSIONS} ]]; then + if ! has_version sys-boot/os-prober; then + elog "Install sys-boot/os-prober to enable detection of other operating systems using grub2-mkconfig." + fi + if ! has_version dev-libs/libisoburn; then + elog "Install dev-libs/libisoburn to enable creation of rescue media using grub2-mkrescue." + fi + else + local v + for v in ${REPLACING_VERSIONS}; do + if use multislot && ! version_is_at_least 2.00_p5107-r1 ${v}; then + ewarn "The grub directory has changed from /boot/grub2 to /boot/grub." + ewarn "Please run grub2-install and grub2-mkconfig -o /boot/grub/grub.cfg." + break + fi + done + fi +} diff --git a/sys-boot/grub/grub-9999-r1.ebuild b/sys-boot/grub/grub-9999-r1.ebuild index 964563703efc..fbac8cc4bb11 100644 --- a/sys-boot/grub/grub-9999-r1.ebuild +++ b/sys-boot/grub/grub-9999-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-9999-r1.ebuild,v 1.9 2013/12/24 02:41:11 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-9999-r1.ebuild,v 1.10 2013/12/24 22:42:11 floppym Exp $ EAPI=5 @@ -28,7 +28,7 @@ if [[ ${PV} != 9999 ]]; then S=${WORKDIR}/${P%_*} fi KEYWORDS="~amd64 ~x86" - PATCHES=( "${FILESDIR}/${P}-only-use-scripts-that-are-executable.patch" ) + PATCHES=() else inherit git-r3 EGIT_REPO_URI="git://git.sv.gnu.org/grub.git |