Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/os-prober/
Date: Tue, 04 Jan 2022 16:13:51
Message-Id: 1641312805.5b972921a2baa951eea3320f2fa0ad760d47b50f.bkohler@gentoo
1 commit: 5b972921a2baa951eea3320f2fa0ad760d47b50f
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 4 15:47:43 2022 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 4 16:13:25 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b972921
7
8 sys-boot/os-prober: drop old
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
12
13 sys-boot/os-prober/os-prober-1.79.ebuild | 104 -------------------------------
14 1 file changed, 104 deletions(-)
15
16 diff --git a/sys-boot/os-prober/os-prober-1.79.ebuild b/sys-boot/os-prober/os-prober-1.79.ebuild
17 deleted file mode 100644
18 index 811ad1fef51f..000000000000
19 --- a/sys-boot/os-prober/os-prober-1.79.ebuild
20 +++ /dev/null
21 @@ -1,104 +0,0 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=8
26 -inherit readme.gentoo-r1 toolchain-funcs
27 -
28 -DESCRIPTION="Utility to detect other OSs on a set of drives"
29 -HOMEPAGE="https://salsa.debian.org/installer-team/os-prober"
30 -
31 -if [[ ${PV} == 9999 ]]; then
32 - inherit git-r3
33 - EGIT_REPO_URI="https://salsa.debian.org/installer-team/${PN}.git"
34 -else
35 - SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${PN}_${PV}.tar.xz"
36 - KEYWORDS="~amd64 ~x86"
37 - S="${WORKDIR}"/${PN}
38 -fi
39 -
40 -LICENSE="GPL-3"
41 -SLOT="0"
42 -
43 -# grub-mount needed per bug #607518
44 -RDEPEND="sys-boot/grub:2[mount]"
45 -
46 -# bug 594250
47 -QA_MULTILIB_PATHS="usr/lib/os-prober/.*"
48 -
49 -PATCHES=(
50 - "${FILESDIR}"/${PN}-1.79-mdraid-detection.patch
51 - "${FILESDIR}"/${PN}-1.79-handle-multiple-initrd-paths.patch
52 - "${FILESDIR}"/${PN}-1.79-btrfs-subvolume-detection.patch
53 - "${FILESDIR}"/${PN}-1.79-use-fstab-name.patch
54 - "${FILESDIR}"/${PN}-1.79-mounted-boot-partition-fix.patch
55 - "${FILESDIR}"/${PN}-1.79-fix-busy-umount-message.patch
56 - "${FILESDIR}"/${PN}-1.79-efi-chroot-blkid-fallback.patch
57 -)
58 -
59 -DOC_CONTENTS="
60 - If you intend for os-prober to detect versions of Windows installed on
61 - NTFS-formatted partitions, your system must be capable of reading the
62 - NTFS filesystem. One way to do this is by installing sys-fs/ntfs3g.
63 -
64 - NOTE: Since sys-boot/grub-2.06-rc1, grub-mkconfig disables os-prober by default.
65 - To enable it, add GRUB_DISABLE_OS_PROBER=false to /etc/default/grub.
66 -"
67 -
68 -src_prepare() {
69 - default
70 - # use default GNU rules
71 - rm Makefile || die 'rm Makefile failed'
72 -}
73 -
74 -src_compile() {
75 - tc-export CC
76 - emake newns
77 -}
78 -
79 -src_install() {
80 - dobin os-prober linux-boot-prober
81 -
82 - # Note: as no shared libraries are installed, /usr/lib is correct
83 - exeinto /usr/lib/os-prober
84 - doexe newns
85 -
86 - insinto /usr/share/os-prober
87 - doins common.sh
88 -
89 - keepdir /var/lib/os-prober
90 -
91 - local debarch=${ARCH%-*} dir
92 -
93 - case ${debarch} in
94 - amd64) debarch=x86 ;;
95 - ppc|ppc64) debarch=powerpc ;;
96 - esac
97 -
98 - for dir in os-probes{,/mounted,/init} linux-boot-probes{,/mounted}; do
99 - exeinto /usr/lib/${dir}
100 - doexe ${dir}/common/*
101 - if [[ -d ${dir}/${debarch} ]]; then
102 - for exe in ${dir}/${debarch}/*; do
103 - [[ ! -d "${exe}" ]] && doexe "${exe}"
104 - done
105 - fi
106 - if [[ -d ${dir}/${debarch}/efi ]]; then
107 - exeinto /usr/lib/${dir}/efi
108 - doexe ${dir}/${debarch}/efi/*
109 - fi
110 - done
111 -
112 - if use amd64 || use x86; then
113 - exeinto /usr/lib/os-probes/mounted
114 - doexe os-probes/mounted/powerpc/20macosx
115 - fi
116 -
117 - einstalldocs
118 - dodoc debian/changelog
119 -
120 - readme.gentoo_create_doc
121 -}
122 -
123 -pkg_postinst() {
124 - readme.gentoo_print_elog
125 -}