dracut: update to 106.
Dracut now strips out the systemd stuff for us in the build
This commit is contained in:
parent
1e9149de0d
commit
10778a19c3
@ -1,6 +1,6 @@
|
|||||||
# Template file for 'dracut'
|
# Template file for 'dracut'
|
||||||
pkgname=dracut
|
pkgname=dracut
|
||||||
version=105
|
version=106
|
||||||
revision=1
|
revision=1
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/usr --sysconfdir=/etc"
|
configure_args="--prefix=/usr --sysconfdir=/etc"
|
||||||
@ -14,7 +14,7 @@ license="GPL-2.0-or-later, LGPL-2.0-or-later"
|
|||||||
homepage="https://github.com/dracut-ng/dracut-ng/wiki"
|
homepage="https://github.com/dracut-ng/dracut-ng/wiki"
|
||||||
changelog="https://raw.githubusercontent.com/dracut-ng/dracut-ng/master/NEWS.md"
|
changelog="https://raw.githubusercontent.com/dracut-ng/dracut-ng/master/NEWS.md"
|
||||||
distfiles="https://github.com/dracut-ng/dracut-ng/archive/refs/tags/${version}.tar.gz"
|
distfiles="https://github.com/dracut-ng/dracut-ng/archive/refs/tags/${version}.tar.gz"
|
||||||
checksum=a5f94012873f589e2efc3659341f5e383ec90419f5c361a6fd3561f946133f69
|
checksum=9009ac13072c9b583822ad1a17f2cca47af463190f0d6623e90b0f1107c71f95
|
||||||
alternatives="
|
alternatives="
|
||||||
initramfs:/etc/kernel.d/post-install/20-initramfs:/usr/libexec/dracut/kernel-hook-postinst
|
initramfs:/etc/kernel.d/post-install/20-initramfs:/usr/libexec/dracut/kernel-hook-postinst
|
||||||
initramfs:/etc/kernel.d/post-remove/20-initramfs:/usr/libexec/dracut/kernel-hook-postrm
|
initramfs:/etc/kernel.d/post-remove/20-initramfs:/usr/libexec/dracut/kernel-hook-postrm
|
||||||
@ -42,17 +42,6 @@ post_install() {
|
|||||||
vinstall ${FILESDIR}/kernel-hook-postinst 755 usr/libexec/dracut
|
vinstall ${FILESDIR}/kernel-hook-postinst 755 usr/libexec/dracut
|
||||||
vinstall ${FILESDIR}/kernel-hook-postrm 755 usr/libexec/dracut
|
vinstall ${FILESDIR}/kernel-hook-postrm 755 usr/libexec/dracut
|
||||||
|
|
||||||
# We don't need the systemd stuff.
|
|
||||||
rm -r ${DESTDIR}/usr/lib/dracut/modules.d/*systemd*
|
|
||||||
|
|
||||||
# systemd dependent additional dracut modules
|
|
||||||
for f in 06rngd 06dbus-broker 06dbus-daemon 09dbus \
|
|
||||||
35connman 35network-manager 80lvmmerge \
|
|
||||||
91fido2 91pcsc 91pkcs11 91tpm2-tss 95squash* \
|
|
||||||
99memstrack 99squash*; do
|
|
||||||
rm -r ${DESTDIR}/usr/lib/dracut/modules.d/${f}
|
|
||||||
done
|
|
||||||
|
|
||||||
# don't need s390x architecture dependent dracut modules
|
# don't need s390x architecture dependent dracut modules
|
||||||
for f in 80cms 81cio_ignore 91zipl 95dasd 95dasd_mod \
|
for f in 80cms 81cio_ignore 91zipl 95dasd 95dasd_mod \
|
||||||
95dcssblk 95zfcp 95znet; do
|
95dcssblk 95zfcp 95znet; do
|
||||||
@ -70,7 +59,7 @@ dracut-network_package() {
|
|||||||
pkg_install() {
|
pkg_install() {
|
||||||
for f in 35network-legacy 40network 45url-lib \
|
for f in 35network-legacy 40network 45url-lib \
|
||||||
90kernel-network-modules 90qemu-net 90livenet \
|
90kernel-network-modules 90qemu-net 90livenet \
|
||||||
95cifs 95fcoe 95fcoe-uefi 95iscsi 95nbd 95nfs 95ssh-client; do
|
95cifs 95fcoe 95fcoe-uefi 95iscsi 95nbd 95nfs 95nvmf 95ssh-client; do
|
||||||
vmove usr/lib/dracut/modules.d/${f}
|
vmove usr/lib/dracut/modules.d/${f}
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user