From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/grub/
Date: Sun, 14 Mar 2021 15:34:27 +0000 (UTC) [thread overview]
Message-ID: <1615736046.69bbad0fc40b225e95b0941b7cc5784703b851db.floppym@gentoo> (raw)
commit: 69bbad0fc40b225e95b0941b7cc5784703b851db
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 14 15:34:06 2021 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Mar 14 15:34:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69bbad0f
sys-boot/grub: remove accidentally added ebuild
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
sys-boot/grub/grub-2.06_rc1.ebuild | 297 -------------------------------------
1 file changed, 297 deletions(-)
diff --git a/sys-boot/grub/grub-2.06_rc1.ebuild b/sys-boot/grub/grub-2.06_rc1.ebuild
deleted file mode 100644
index 4a29991e972..00000000000
--- a/sys-boot/grub/grub-2.06_rc1.ebuild
+++ /dev/null
@@ -1,297 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ ${PV} == 9999 ]]; then
- GRUB_AUTORECONF=1
- GRUB_BOOTSTRAP=1
-fi
-
-if [[ -n ${GRUB_AUTOGEN} || -n ${GRUB_BOOTSTRAP} ]]; then
- PYTHON_COMPAT=( python{2_7,3_{6,7,8}} )
- inherit python-any-r1
-fi
-
-if [[ -n ${GRUB_AUTORECONF} ]]; then
- WANT_LIBTOOL=none
- inherit autotools
-fi
-
-inherit bash-completion-r1 flag-o-matic multibuild optfeature pax-utils toolchain-funcs
-
-if [[ ${PV} != 9999 ]]; then
- if [[ ${PV} == *_alpha* || ${PV} == *_beta* || ${PV} == *_rc* ]]; then
- # The quote style is to work with <=bash-4.2 and >=bash-4.3 #503860
- 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"
- S=${WORKDIR}/${P%_*}
- fi
- KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-else
- inherit git-r3
- EGIT_REPO_URI="https://git.savannah.gnu.org/git/grub.git"
-fi
-
-PATCHES=(
- "${FILESDIR}"/gfxpayload.patch
- "${FILESDIR}"/grub-2.02_beta2-KERNEL_GLOBS.patch
-)
-
-DEJAVU=dejavu-sans-ttf-2.37
-UNIFONT=unifont-12.1.02
-SRC_URI+=" fonts? ( mirror://gnu/unifont/${UNIFONT}/${UNIFONT}.pcf.gz )
- themes? ( mirror://sourceforge/dejavu/${DEJAVU}.zip )"
-
-DESCRIPTION="GNU GRUB boot loader"
-HOMEPAGE="https://www.gnu.org/software/grub/"
-
-# Includes licenses for dejavu and unifont
-LICENSE="GPL-3+ BSD MIT fonts? ( GPL-2-with-font-exception ) themes? ( CC-BY-SA-3.0 BitstreamVera )"
-SLOT="2/${PVR}"
-IUSE="device-mapper doc efiemu +fonts mount nls sdl test +themes truetype libzfs"
-
-GRUB_ALL_PLATFORMS=( coreboot efi-32 efi-64 emu ieee1275 loongson multiboot qemu qemu-mips pc uboot xen xen-32 xen-pvh )
-IUSE+=" ${GRUB_ALL_PLATFORMS[@]/#/grub_platforms_}"
-
-REQUIRED_USE="
- grub_platforms_coreboot? ( fonts )
- grub_platforms_qemu? ( fonts )
- grub_platforms_ieee1275? ( fonts )
- grub_platforms_loongson? ( fonts )
-"
-
-BDEPEND="
- ${PYTHON_DEPS}
- app-misc/pax-utils
- sys-devel/flex
- sys-devel/bison
- sys-apps/help2man
- sys-apps/texinfo
- fonts? (
- media-libs/freetype:2
- virtual/pkgconfig
- )
- test? (
- app-admin/genromfs
- app-arch/cpio
- app-arch/lzop
- app-emulation/qemu
- dev-libs/libisoburn
- sys-apps/miscfiles
- sys-block/parted
- sys-fs/squashfs-tools
- )
- themes? (
- app-arch/unzip
- media-libs/freetype:2
- virtual/pkgconfig
- )
- truetype? ( virtual/pkgconfig )
-"
-DEPEND="
- app-arch/xz-utils
- >=sys-libs/ncurses-5.2-r5:0=
- grub_platforms_emu? (
- sdl? ( media-libs/libsdl )
- )
- device-mapper? ( >=sys-fs/lvm2-2.02.45 )
- libzfs? ( sys-fs/zfs:= )
- mount? ( sys-fs/fuse:0 )
- truetype? ( media-libs/freetype:2= )
- ppc? ( >=sys-apps/ibm-powerpc-utils-1.3.5 )
- ppc64? ( >=sys-apps/ibm-powerpc-utils-1.3.5 )
-"
-RDEPEND="${DEPEND}
- kernel_linux? (
- grub_platforms_efi-32? ( sys-boot/efibootmgr )
- grub_platforms_efi-64? ( sys-boot/efibootmgr )
- )
- !sys-boot/grub:0 !sys-boot/grub-static
- nls? ( sys-devel/gettext )
-"
-
-RESTRICT="!test? ( test )"
-
-QA_EXECSTACK="usr/bin/grub-emu* usr/lib/grub/*"
-QA_PRESTRIPPED="usr/lib/grub/.*"
-QA_MULTILIB_PATHS="usr/lib/grub/.*"
-QA_WX_LOAD="usr/lib/grub/*"
-
-src_unpack() {
- if [[ ${PV} == 9999 ]]; then
- git-r3_src_unpack
- pushd "${P}" >/dev/null || die
- local GNULIB_URI="https://git.savannah.gnu.org/git/gnulib.git"
- local GNULIB_REVISION=$(source bootstrap.conf >/dev/null; echo "${GNULIB_REVISION}")
- git-r3_fetch "${GNULIB_URI}" "${GNULIB_REVISION}"
- git-r3_checkout "${GNULIB_URI}" gnulib
- popd >/dev/null || die
- fi
- default
-}
-
-src_prepare() {
- default
-
- sed -i -e /autoreconf/d autogen.sh || die
-
- # Nothing in Gentoo packages 'american-english' in the exact path
- # wanted for the test, but all that is needed is a compressible text
- # file, and we do have 'words' from miscfiles in the same path.
- sed -i \
- -e '/CFILESSRC.*=/s,american-english,words,' \
- tests/util/grub-fs-tester.in \
- || die
-
- if [[ -n ${GRUB_AUTOGEN} || -n ${GRUB_BOOTSTRAP} ]]; then
- python_setup
- fi
-
- if [[ -n ${GRUB_BOOTSTRAP} ]]; then
- eautopoint --force
- AUTOPOINT=: AUTORECONF=: ./bootstrap || die
- elif [[ -n ${GRUB_AUTOGEN} ]]; then
- ./autogen.sh || die
- fi
-
- if [[ -n ${GRUB_AUTORECONF} ]]; then
- eautoreconf
- fi
-}
-
-grub_do() {
- multibuild_foreach_variant run_in_build_dir "$@"
-}
-
-grub_do_once() {
- multibuild_for_best_variant run_in_build_dir "$@"
-}
-
-grub_configure() {
- local platform
-
- case ${MULTIBUILD_VARIANT} in
- efi*) platform=efi ;;
- xen-pvh) platform=xen_pvh ;;
- xen*) platform=xen ;;
- guessed) ;;
- *) platform=${MULTIBUILD_VARIANT} ;;
- esac
-
- case ${MULTIBUILD_VARIANT} in
- *-32)
- if [[ ${CTARGET:-${CHOST}} == x86_64* ]]; then
- local CTARGET=i386
- fi ;;
- *-64)
- if [[ ${CTARGET:-${CHOST}} == i?86* ]]; then
- local CTARGET=x86_64
- local -x TARGET_CFLAGS="-Os -march=x86-64 ${TARGET_CFLAGS}"
- local -x TARGET_CPPFLAGS="-march=x86-64 ${TARGET_CPPFLAGS}"
- fi ;;
- esac
-
- local myeconfargs=(
- --disable-werror
- --program-prefix=
- --libdir="${EPREFIX}"/usr/lib
- $(use_enable device-mapper)
- $(use_enable mount grub-mount)
- $(use_enable nls)
- $(use_enable themes grub-themes)
- $(use_enable truetype grub-mkfont)
- $(use_enable libzfs)
- $(use_enable sdl grub-emu-sdl)
- ${platform:+--with-platform=}${platform}
-
- # Let configure detect this where supported
- $(usex efiemu '' '--disable-efiemu')
- )
-
- if use fonts; then
- ln -rs "${WORKDIR}/${UNIFONT}.pcf" unifont.pcf || die
- fi
-
- if use themes; then
- ln -rs "${WORKDIR}/${DEJAVU}/ttf/DejaVuSans.ttf" DejaVuSans.ttf || die
- fi
-
- local ECONF_SOURCE="${S}"
- econf "${myeconfargs[@]}"
-}
-
-src_configure() {
- # Bug 508758.
- replace-flags -O3 -O2
-
- # 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
-
- tc-ld-disable-gold #439082 #466536 #526348
- export TARGET_LDFLAGS="${TARGET_LDFLAGS} ${LDFLAGS}"
- unset LDFLAGS
-
- tc-export CC NM OBJCOPY RANLIB STRIP
- tc-export BUILD_CC # Bug 485592
-
- MULTIBUILD_VARIANTS=()
- local p
- for p in "${GRUB_ALL_PLATFORMS[@]}"; do
- use "grub_platforms_${p}" && MULTIBUILD_VARIANTS+=( "${p}" )
- done
- [[ ${#MULTIBUILD_VARIANTS[@]} -eq 0 ]] && MULTIBUILD_VARIANTS=( guessed )
- grub_do grub_configure
-}
-
-src_compile() {
- # Sandbox bug 404013.
- use libzfs && addpredict /etc/dfs:/dev/zfs
-
- grub_do emake
- use doc && grub_do_once emake -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.
- grub_do emake check
-}
-
-src_install() {
- grub_do emake install DESTDIR="${D}" bashcompletiondir="$(get_bashcompdir)"
- use doc && grub_do_once emake -C docs install-html DESTDIR="${D}"
-
- einstalldocs
-
- insinto /etc/default
- newins "${FILESDIR}"/grub.default-3 grub
-
- # https://bugs.gentoo.org/231935
- dostrip -x /usr/lib/grub
-}
-
-pkg_postinst() {
- elog "For information on how to configure GRUB2 please refer to the guide:"
- elog " https://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 " https://wiki.gentoo.org/wiki/GRUB2_Migration"
- fi
-
- if [[ -z ${REPLACING_VERSIONS} ]]; then
- elog
- elog "You may consider installing the following optional packages:"
- optfeature "Detect other operating systems (grub-mkconfig)" sys-boot/os-prober
- optfeature "Create rescue media (grub-mkrescue)" dev-libs/libisoburn
- optfeature "Enable RAID device detection" sys-fs/mdadm
- fi
-}
next reply other threads:[~2021-03-14 15:34 UTC|newest]
Thread overview: 215+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-14 15:34 Mike Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-21 13:11 [gentoo-commits] repo/gentoo:master commit in: sys-boot/grub/ Arthur Zamarin
2024-09-21 13:11 Arthur Zamarin
2024-09-13 19:33 Arthur Zamarin
2024-09-12 19:34 Sam James
2024-09-12 19:34 Sam James
2024-09-12 18:26 Mike Gilbert
2024-09-11 14:54 Mike Gilbert
2024-09-05 15:34 James Le Cuirot
2024-08-07 19:21 Andrew Ammerlaan
2024-08-04 15:28 Mike Gilbert
2024-04-30 18:46 Mike Gilbert
2024-04-13 14:52 Mike Gilbert
2024-04-04 20:35 Mike Gilbert
2024-04-04 20:35 Mike Gilbert
2024-04-04 20:31 Mike Gilbert
2024-04-04 20:31 Mike Gilbert
2024-03-27 18:53 Arthur Zamarin
2024-03-27 18:52 Arthur Zamarin
2024-03-13 0:54 Sam James
2024-03-02 11:04 Arthur Zamarin
2024-03-02 10:57 Arthur Zamarin
2024-02-15 23:51 Sam James
2024-02-06 22:32 Sam James
2024-02-04 3:20 Mike Gilbert
2024-02-02 6:28 Andrew Ammerlaan
2024-01-16 17:42 Mike Gilbert
2024-01-16 17:42 Mike Gilbert
2024-01-16 17:42 Mike Gilbert
2023-12-26 21:39 Sam James
2023-12-26 21:26 Sam James
2023-12-24 11:59 Ulrich Müller
2023-12-23 1:00 Zac Medico
2023-12-12 6:30 Viorel Munteanu
2023-12-11 16:37 WANG Xuerui
2023-10-05 4:47 Arthur Zamarin
2023-10-05 4:47 Arthur Zamarin
2023-10-04 19:27 Mike Gilbert
2023-07-31 16:42 Mike Gilbert
2023-07-31 16:42 Mike Gilbert
2023-07-11 1:07 Mike Gilbert
2023-07-11 1:07 Mike Gilbert
2023-07-10 1:42 Mike Gilbert
2023-05-09 20:23 Mike Gilbert
2023-04-22 15:15 Arthur Zamarin
2023-04-22 15:15 Arthur Zamarin
2023-04-22 15:15 Arthur Zamarin
2023-04-22 15:15 Arthur Zamarin
2023-04-22 15:15 Arthur Zamarin
2023-04-22 15:15 Arthur Zamarin
2023-04-05 3:50 Arthur Zamarin
2023-01-17 16:03 Mike Gilbert
2023-01-01 3:11 Sam James
2022-12-20 18:13 Mike Gilbert
2022-12-20 18:13 Mike Gilbert
2022-12-02 7:32 Arthur Zamarin
2022-11-19 10:16 Arthur Zamarin
2022-11-19 10:16 Arthur Zamarin
2022-11-19 10:16 Arthur Zamarin
2022-11-19 10:16 Arthur Zamarin
2022-11-19 10:16 Arthur Zamarin
2022-11-19 10:16 Arthur Zamarin
2022-11-16 0:43 Mike Gilbert
2022-11-16 0:43 Mike Gilbert
2022-09-26 14:58 Mike Gilbert
2022-09-02 15:39 Mike Gilbert
2022-09-01 22:17 Matt Turner
2022-08-30 5:07 Arthur Zamarin
2022-07-20 21:02 Sam James
2022-06-25 10:35 Arthur Zamarin
2022-06-23 5:19 Sam James
2022-06-20 18:05 Mike Gilbert
2022-06-20 15:10 Mike Gilbert
2022-06-10 7:11 Agostino Sarubbo
2022-06-10 6:48 Agostino Sarubbo
2022-06-08 1:05 Mike Gilbert
2021-12-15 4:56 Mike Gilbert
2021-09-16 12:32 Marek Szuba
2021-09-14 14:02 Mike Gilbert
2021-09-07 17:28 Mike Gilbert
2021-09-07 17:28 Mike Gilbert
2021-09-07 17:28 Mike Gilbert
2021-08-11 19:11 Sam James
2021-06-30 10:56 Agostino Sarubbo
2021-06-30 10:56 Agostino Sarubbo
2021-06-30 10:55 Agostino Sarubbo
2021-06-30 10:55 Agostino Sarubbo
2021-06-30 10:54 Agostino Sarubbo
2021-06-08 19:59 Mike Gilbert
2021-04-22 19:50 Mike Gilbert
2021-04-21 3:38 Matt Turner
2021-04-04 18:55 Andreas Sturmlechner
2021-03-28 7:14 Sam James
2021-03-27 18:25 Agostino Sarubbo
2021-03-26 17:51 Mike Gilbert
2021-03-26 15:16 Mike Gilbert
2021-03-26 14:24 Agostino Sarubbo
2021-03-26 13:40 Agostino Sarubbo
2021-03-25 23:17 Sam James
2021-03-17 14:49 Mike Gilbert
2021-03-17 14:49 Mike Gilbert
2021-03-17 14:49 Mike Gilbert
2020-12-29 23:53 Sam James
2020-11-06 16:14 Mike Gilbert
2020-11-06 2:45 Georgy Yakovlev
2020-10-20 18:28 Mike Gilbert
2020-09-30 18:41 Matt Turner
2020-09-07 8:55 David Seifert
2020-08-05 0:14 Sam James
2020-05-09 15:57 Thomas Deutschmann
2020-04-19 2:35 Craig Andrews
2020-03-15 18:34 Mike Gilbert
2020-03-04 22:53 Mike Gilbert
2020-03-01 19:29 Matt Turner
2020-03-01 18:05 Mike Gilbert
2020-02-16 20:24 David Seifert
2020-01-13 9:12 Agostino Sarubbo
2020-01-13 9:10 Agostino Sarubbo
2020-01-13 9:06 Agostino Sarubbo
2020-01-13 9:04 Agostino Sarubbo
2020-01-13 8:45 Agostino Sarubbo
2020-01-12 17:29 Mike Gilbert
2020-01-11 18:30 Mike Gilbert
2020-01-11 18:26 Mike Gilbert
2019-12-29 19:18 Mike Gilbert
2019-12-07 11:00 Sergei Trofimovich
2019-12-07 11:00 Sergei Trofimovich
2019-07-10 15:03 Mike Gilbert
2019-07-08 23:36 Mike Gilbert
2019-07-08 23:36 Mike Gilbert
2019-07-08 23:36 Mike Gilbert
2019-07-08 23:36 Mike Gilbert
2019-06-26 18:37 Mike Gilbert
2019-05-03 19:05 Mike Gilbert
2019-04-18 1:01 Mike Gilbert
2019-04-15 16:14 Mike Gilbert
2019-04-15 16:14 Mike Gilbert
2019-04-15 16:14 Mike Gilbert
2019-03-21 15:55 Mike Gilbert
2019-03-21 4:29 Mike Gilbert
2019-03-21 4:29 Mike Gilbert
2019-03-21 4:29 Mike Gilbert
2019-03-21 4:29 Mike Gilbert
2019-03-21 3:39 Mike Gilbert
2019-03-21 3:39 Mike Gilbert
2019-03-21 3:26 Mike Gilbert
2019-03-21 3:12 Mike Gilbert
2019-02-10 1:27 Lars Wendler
2018-11-28 9:58 Michał Górny
2018-11-18 11:27 Mikle Kolyada
2018-09-14 5:56 Matt Turner
2018-09-13 3:42 Matt Turner
2018-08-13 14:55 Mike Gilbert
2018-08-13 14:43 Luca Barbato
2018-07-01 14:00 Mike Gilbert
2018-06-26 14:45 Mike Gilbert
2018-06-26 14:45 Mike Gilbert
2018-06-26 14:45 Mike Gilbert
2018-05-07 19:46 Mikle Kolyada
2018-05-07 19:40 Thomas Deutschmann
2018-05-05 23:12 Mike Gilbert
2018-05-04 21:21 Mike Gilbert
2018-05-04 21:05 Mike Gilbert
2018-05-04 21:05 Mike Gilbert
2018-02-01 20:37 Thomas Deutschmann
2017-12-31 21:49 Michał Górny
2017-12-31 21:49 Michał Górny
2017-12-14 14:53 Thomas Deutschmann
2017-12-14 12:00 Thomas Deutschmann
2017-10-26 20:26 Ian Stakenvicius
2017-09-01 20:17 Ian Stakenvicius
2017-07-18 14:56 Mike Gilbert
2017-06-22 18:32 Mike Gilbert
2017-06-17 17:24 Agostino Sarubbo
2017-06-16 14:10 Agostino Sarubbo
2017-04-27 17:14 Mike Gilbert
2017-03-17 21:08 Mike Gilbert
2017-02-16 20:39 Mike Gilbert
2017-02-14 23:08 Robin H. Johnson
2017-02-14 15:42 Robin H. Johnson
2017-02-04 19:35 Mike Gilbert
2017-02-04 19:31 Mike Gilbert
2016-12-21 22:54 Thomas Deutschmann
2016-10-04 20:58 Ian Stakenvicius
2016-09-18 21:12 Mike Gilbert
2016-09-10 20:02 Mike Gilbert
2016-08-24 18:11 Mike Gilbert
2016-08-18 13:00 Mike Gilbert
2016-08-18 13:00 Mike Gilbert
2016-08-18 13:00 Mike Gilbert
2016-08-14 22:31 Mike Gilbert
2016-08-13 19:33 Mike Gilbert
2016-08-13 19:33 Mike Gilbert
2016-08-11 14:22 William Hubbs
2016-08-10 2:45 William Hubbs
2016-08-10 2:35 William Hubbs
2016-06-29 2:27 Mike Gilbert
2016-06-29 2:27 Mike Gilbert
2016-04-27 17:53 Mike Gilbert
2016-04-27 16:20 Mike Gilbert
2016-04-18 9:43 Patrice Clement
2016-03-05 22:53 Mikle Kolyada
2016-03-05 16:08 Mikle Kolyada
2016-03-04 22:12 Mike Gilbert
2016-02-25 3:04 Mike Gilbert
2015-12-18 16:55 Mike Gilbert
2015-12-17 15:30 Mike Gilbert
2015-12-17 13:48 Agostino Sarubbo
2015-12-17 13:48 Agostino Sarubbo
2015-12-12 17:38 Mike Gilbert
2015-12-12 17:38 Mike Gilbert
2015-12-08 21:24 Ian Stakenvicius
2015-12-08 20:14 Ian Stakenvicius
2015-12-08 20:00 Ian Stakenvicius
2015-12-08 17:30 Doug Goldstein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1615736046.69bbad0fc40b225e95b0941b7cc5784703b851db.floppym@gentoo \
--to=floppym@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox