From: "Ben Kohler" <bkohler@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/os-prober/
Date: Fri, 8 Oct 2021 11:12:33 +0000 (UTC) [thread overview]
Message-ID: <1633691530.e1b5c04466dbe144b71f74aee6d93fa752d781d4.bkohler@gentoo> (raw)
commit: e1b5c04466dbe144b71f74aee6d93fa752d781d4
Author: Peter Levine <plevine457 <AT> gmail <DOT> com>
AuthorDate: Thu Oct 7 23:54:19 2021 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Fri Oct 8 11:12:10 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1b5c044
sys-boot/os-prober: bump live ebuild
Bump 9999 ebuild for live testing upstream.
Package-Manager: Portage-3.0.26, Repoman-3.0.3
Signed-off-by: Peter Levine <plevine457 <AT> gmail.com>
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
sys-boot/os-prober/os-prober-9999.ebuild | 100 +++++++++++++++++++++++++++++++
1 file changed, 100 insertions(+)
diff --git a/sys-boot/os-prober/os-prober-9999.ebuild b/sys-boot/os-prober/os-prober-9999.ebuild
new file mode 100644
index 00000000000..27278da5f56
--- /dev/null
+++ b/sys-boot/os-prober/os-prober-9999.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit readme.gentoo-r1 toolchain-funcs
+
+DESCRIPTION="Utility to detect other OSs on a set of drives"
+HOMEPAGE="https://salsa.debian.org/installer-team/os-prober"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://salsa.debian.org/installer-team/${PN}.git"
+else
+ SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${PV}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+
+# grub-mount needed per bug #607518
+RDEPEND="sys-boot/grub:2[mount]"
+
+# bug 594250
+QA_MULTILIB_PATHS="usr/lib/os-prober/.*"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.76-exherbo.patch
+ "${FILESDIR}"/${PN}-1.78-btrfsfix.patch
+)
+
+DOC_CONTENTS="
+ If you intend for os-prober to detect versions of Windows installed on
+ NTFS-formatted partitions, your system must be capable of reading the
+ NTFS filesystem. One way to do this is by installing sys-fs/ntfs3g.
+ Also, in a chroot environment, it is necessary to bind mount /run/udev
+ (see https://wiki.gentoo.org/wiki/GRUB2#os-prober_and_UEFI_in_chroot).
+
+ NOTE: Since sys-boot/grub-2.06-rc1, grub-mkconfig disables os-prober by default.
+ To enable it, add GRUB_DISABLE_OS_PROBER=false to /etc/default/grub.
+"
+
+src_prepare() {
+ default
+ # use default GNU rules
+ rm Makefile || die 'rm Makefile failed'
+}
+
+src_compile() {
+ tc-export CC
+ emake newns
+}
+
+src_install() {
+ dobin os-prober linux-boot-prober
+
+ # Note: as no shared libraries are installed, /usr/lib is correct
+ exeinto /usr/lib/os-prober
+ doexe newns
+
+ insinto /usr/share/os-prober
+ doins common.sh
+
+ keepdir /var/lib/os-prober
+
+ local debarch=${ARCH%-*} dir
+
+ case ${debarch} in
+ amd64) debarch=x86 ;;
+ ppc|ppc64) debarch=powerpc ;;
+ esac
+
+ for dir in os-probes{,/mounted,/init} linux-boot-probes{,/mounted}; do
+ exeinto /usr/lib/${dir}
+ doexe ${dir}/common/*
+ if [[ -d ${dir}/${debarch} ]]; then
+ for exe in ${dir}/${debarch}/*; do
+ [[ ! -d "${exe}" ]] && doexe "${exe}"
+ done
+ fi
+ if [[ -d ${dir}/${debarch}/efi ]]; then
+ exeinto /usr/lib/${dir}/efi
+ doexe ${dir}/${debarch}/efi/*
+ fi
+ done
+
+ if use amd64 || use x86; then
+ exeinto /usr/lib/os-probes/mounted
+ doexe os-probes/mounted/powerpc/20macosx
+ fi
+
+ einstalldocs
+ dodoc debian/changelog
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}
next reply other threads:[~2021-10-08 11:12 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-08 11:12 Ben Kohler [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-02 22:53 [gentoo-commits] repo/gentoo:master commit in: sys-boot/os-prober/ Sam James
2024-10-02 20:11 Sam James
2024-06-14 14:18 Ben Kohler
2024-06-14 14:18 Ben Kohler
2024-06-14 14:13 Ben Kohler
2024-05-09 14:21 Ben Kohler
2022-12-28 9:41 Pacho Ramos
2022-12-27 20:20 Sam James
2022-07-19 14:18 Ben Kohler
2022-07-19 14:18 Ben Kohler
2022-05-27 16:13 Ben Kohler
2022-04-15 6:23 Agostino Sarubbo
2022-04-14 19:36 Jakov Smolić
2022-01-04 16:13 Ben Kohler
2021-12-22 12:34 Ben Kohler
2021-10-08 11:12 Ben Kohler
2021-10-08 11:12 Ben Kohler
2021-10-08 11:12 Ben Kohler
2021-10-08 11:12 Ben Kohler
2021-10-08 11:12 Ben Kohler
2021-09-28 17:33 Ben Kohler
2021-07-13 13:44 Ben Kohler
2021-04-28 17:04 Sam James
2021-04-28 17:00 Sam James
2021-03-29 12:26 Ben Kohler
2021-03-26 17:44 Ben Kohler
2021-03-26 17:44 Ben Kohler
2021-03-26 17:44 Ben Kohler
2021-03-26 17:44 Ben Kohler
2019-12-05 7:54 Pacho Ramos
2019-11-20 15:40 Agostino Sarubbo
2019-11-20 11:16 Agostino Sarubbo
2019-06-27 13:36 Lars Wendler
2019-06-27 13:34 Lars Wendler
2018-05-14 10:21 Lars Wendler
2018-05-13 23:45 Aaron Bauman
2018-05-13 22:06 Thomas Deutschmann
2017-12-26 12:53 Pacho Ramos
2017-10-29 19:30 Jonas Stein
2017-10-29 19:24 Jonas Stein
2017-10-09 18:22 Manuel Rüger
2017-10-09 18:22 Manuel Rüger
2017-02-19 20:12 Manuel Rüger
2017-01-22 1:51 Manuel Rüger
2017-01-22 1:51 Manuel Rüger
2017-01-05 16:58 Michael Palimaka
2016-12-31 15:59 Pacho Ramos
2016-11-01 13:58 Mike Gilbert
2016-05-22 19:05 Jonathan Callen
2016-02-03 0:16 Manuel Rüger
2016-02-03 0:16 Manuel Rüger
2015-11-07 11:40 Manuel Rüger
2015-11-07 11:40 Manuel Rüger
2015-10-15 20:53 Manuel Rüger
2015-10-05 22:25 Manuel Rüger
2015-08-31 22:54 Manuel Rüger
2015-08-31 22:54 Manuel Rüger
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=1633691530.e1b5c04466dbe144b71f74aee6d93fa752d781d4.bkohler@gentoo \
--to=bkohler@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