Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/dracut/
Date: Mon, 04 Jul 2022 23:29:24
Message-Id: 1656977328.034c37b09c552c46d0c8fc6fba03439452b6c7e9.floppym@gentoo
1 commit: 034c37b09c552c46d0c8fc6fba03439452b6c7e9
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 4 23:19:09 2022 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 4 23:28:48 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=034c37b0
7
8 sys-kernel/dracut: drop 053-r1
9
10 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
11
12 sys-kernel/dracut/Manifest | 1 -
13 sys-kernel/dracut/dracut-053-r1.ebuild | 156 ---------------------------------
14 2 files changed, 157 deletions(-)
15
16 diff --git a/sys-kernel/dracut/Manifest b/sys-kernel/dracut/Manifest
17 index 7633cae497de..b62dc908356f 100644
18 --- a/sys-kernel/dracut/Manifest
19 +++ b/sys-kernel/dracut/Manifest
20 @@ -1,4 +1,3 @@
21 -DIST dracut-053.tar.xz 354668 BLAKE2B d20d0f1675e18cf44615a98255c8b1a73f23e9c665a771a1fe99716d3bf0b6082961ab20fe058bf31c106c4f521d9e8708e2ae98cff00f613197bbf9dd3abda3 SHA512 4736f84442bda208a38d3285ffeb8b845f06e52e3bf60d2aaea121240cf695e1369208c2d2cee1137a6c1d3f8f7794385675006beaf5cd86ade259d5f42d039a
22 DIST dracut-055.tar.xz 361752 BLAKE2B 9fcb0bce9ead2e079c70a377ea53701e4634d3dc64ae163e0e157d7d85822a274813e05f6079768640e1807818fad7a8158626413d773686a8d52fcd95fb5680 SHA512 2d2ea2889d9013bc94245bd7d1a2154f24d02bd9c2f7dbb28e5968e17d918e6598c68d85b0f551f968218980a80b19361ca0c9e8e94997ba54f4c09afcd6d866
23 DIST dracut-056.tar.xz 384196 BLAKE2B e3e4fa3024b401cc954ba6069c54e95912691ff68a838e3c43bfc6a5b284bdee1669c782b30503c0246b7146c545ee8825febefcff93bae76ec46067cb7b87e1 SHA512 19268763e128984d20cab766bbdf2de12fe534ce2562fc688203099ef9b4cf83d0ccd2129499c70cdc6dd4ad53f0ffc2f3378eff5b8a15fda27c23b20f903df2
24 DIST dracut-057.tar.gz 481345 BLAKE2B dcf663a1955753256866e9dfa318b0b46a132ea39223ab634d72af1611f7db394c23c1bb4326979a5ee919df6ce3b107c955c9c77ce1ec4f99de835352932901 SHA512 8acdc8db2233a9abbaeea218cc5b1be68c4985088995f42624750783f8d40ecbb7fa97ab4f6468f67c079c8418590ace317c143a92d9305640b48c7c0edd4089
25
26 diff --git a/sys-kernel/dracut/dracut-053-r1.ebuild b/sys-kernel/dracut/dracut-053-r1.ebuild
27 deleted file mode 100644
28 index aabffa07bfb6..000000000000
29 --- a/sys-kernel/dracut/dracut-053-r1.ebuild
30 +++ /dev/null
31 @@ -1,156 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -inherit bash-completion-r1 linux-info optfeature systemd toolchain-funcs
38 -
39 -if [[ ${PV} == 9999 ]] ; then
40 - inherit git-r3
41 - EGIT_REPO_URI="https://github.com/dracutdevs/dracut"
42 -else
43 - [[ "${PV}" = *_rc* ]] || \
44 - KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 sparc x86"
45 - SRC_URI="https://www.kernel.org/pub/linux/utils/boot/${PN}/${P}.tar.xz"
46 -fi
47 -
48 -DESCRIPTION="Generic initramfs generation tool"
49 -HOMEPAGE="https://dracut.wiki.kernel.org"
50 -
51 -LICENSE="GPL-2"
52 -SLOT="0"
53 -IUSE="selinux"
54 -
55 -# Tests need root privileges, bug #298014
56 -RESTRICT="test"
57 -
58 -RDEPEND="
59 - app-arch/cpio
60 - >=app-shells/bash-4.0:0
61 - sys-apps/coreutils[xattr(-)]
62 - >=sys-apps/kmod-23[tools]
63 - || (
64 - >=sys-apps/sysvinit-2.87-r3
65 - sys-apps/openrc[sysv-utils(-),selinux?]
66 - sys-apps/systemd[sysv-utils]
67 - )
68 - >=sys-apps/util-linux-2.21
69 - virtual/pkgconfig
70 - virtual/udev
71 -
72 - elibc_musl? ( sys-libs/fts-standalone )
73 - selinux? (
74 - sec-policy/selinux-dracut
75 - sys-libs/libselinux
76 - sys-libs/libsepol
77 - )
78 -"
79 -DEPEND="
80 - >=sys-apps/kmod-23
81 - elibc_musl? ( sys-libs/fts-standalone )
82 -"
83 -
84 -BDEPEND="
85 - app-text/asciidoc
86 - app-text/docbook-xml-dtd:4.5
87 - >=app-text/docbook-xsl-stylesheets-1.75.2
88 - >=dev-libs/libxslt-1.1.26
89 - virtual/pkgconfig
90 -"
91 -
92 -DOCS=( AUTHORS README.md README.generic README.kernel )
93 -
94 -QA_MULTILIB_PATHS="usr/lib/dracut/.*"
95 -
96 -PATCHES=(
97 - "${FILESDIR}"/053-network-manager.patch
98 - "${FILESDIR}"/gentoo-ldconfig-paths.patch
99 -)
100 -
101 -src_configure() {
102 - local myconf=(
103 - --prefix="${EPREFIX}/usr"
104 - --sysconfdir="${EPREFIX}/etc"
105 - --bashcompletiondir="$(get_bashcompdir)"
106 - --systemdsystemunitdir="$(systemd_get_systemunitdir)"
107 - )
108 -
109 - tc-export CC PKG_CONFIG
110 -
111 - echo ./configure "${myconf[@]}"
112 - ./configure "${myconf[@]}" || die
113 -
114 - if [[ ${PV} != 9999 && ! -f dracut-version.sh ]] ; then
115 - # Source tarball from github doesn't include this file
116 - echo "DRACUT_VERSION=${PV}" > dracut-version.sh || die
117 - fi
118 -}
119 -
120 -src_install() {
121 - default
122 -
123 - docinto html
124 - dodoc dracut.html
125 -}
126 -
127 -pkg_postinst() {
128 - if linux-info_get_any_version && linux_config_exists; then
129 - ewarn ""
130 - ewarn "If the following test report contains a missing kernel"
131 - ewarn "configuration option, you should reconfigure and rebuild your"
132 - ewarn "kernel before booting image generated with this Dracut version."
133 - ewarn ""
134 -
135 - local CONFIG_CHECK="~BLK_DEV_INITRD ~DEVTMPFS"
136 -
137 - # Kernel configuration options descriptions:
138 - local ERROR_DEVTMPFS='CONFIG_DEVTMPFS: "Maintain a devtmpfs filesystem to mount at /dev" '
139 - ERROR_DEVTMPFS+='is missing and REQUIRED'
140 - local ERROR_BLK_DEV_INITRD='CONFIG_BLK_DEV_INITRD: "Initial RAM filesystem and RAM disk '
141 - ERROR_BLK_DEV_INITRD+='(initramfs/initrd) support" is missing and REQUIRED'
142 -
143 - check_extra_config
144 - echo
145 - else
146 - ewarn ""
147 - ewarn "Your kernel configuration couldn't be checked."
148 - ewarn "Please check manually if following options are enabled:"
149 - ewarn ""
150 - ewarn " CONFIG_BLK_DEV_INITRD"
151 - ewarn " CONFIG_DEVTMPFS"
152 - ewarn ""
153 - fi
154 -
155 - optfeature "Networking support" net-misc/networkmanager
156 - optfeature "Legacy networking support" net-misc/curl "net-misc/dhcp[client]" \
157 - sys-apps/iproute2 "net-misc/iputils[arping]"
158 - optfeature \
159 - "Measure performance of the boot process for later visualisation" \
160 - app-benchmarks/bootchart2 app-admin/killproc sys-process/acct
161 - optfeature "Scan for Btrfs on block devices" sys-fs/btrfs-progs
162 - optfeature "Load kernel modules and drop this privilege for real init" \
163 - sys-libs/libcap
164 - optfeature "Support CIFS" net-fs/cifs-utils
165 - optfeature "Decrypt devices encrypted with cryptsetup/LUKS" \
166 - "sys-fs/cryptsetup[-static-libs]"
167 - optfeature "Support for GPG-encrypted keys for crypt module" \
168 - app-crypt/gnupg
169 - optfeature \
170 - "Allows use of dash instead of default bash (on your own risk)" \
171 - app-shells/dash
172 - optfeature "Support iSCSI" sys-block/open-iscsi
173 - optfeature "Support Logical Volume Manager" sys-fs/lvm2
174 - optfeature "Support MD devices, also known as software RAID devices" \
175 - sys-fs/mdadm
176 - optfeature "Support Device Mapper multipathing" sys-fs/multipath-tools
177 - optfeature "Plymouth boot splash" '>=sys-boot/plymouth-0.8.5-r5'
178 - optfeature "Support network block devices" sys-block/nbd
179 - optfeature "Support NFS" net-fs/nfs-utils net-nds/rpcbind
180 - optfeature \
181 - "Install ssh and scp along with config files and specified keys" \
182 - net-misc/openssh
183 - optfeature "Enable logging with rsyslog" app-admin/rsyslog
184 - optfeature \
185 - "Enable rngd service to help generating entropy early during boot" \
186 - sys-apps/rng-tools
187 -}