96 lines
2.9 KiB
Plaintext
96 lines
2.9 KiB
Plaintext
# Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
|
|
pkgname=dracut
|
|
pkgver=060
|
|
pkgrel=1
|
|
pkgdesc="An event driven initramfs infrastructure"
|
|
arch=('x86_64')
|
|
url="https://github.com/dracut-ng/dracut-ng"
|
|
license=('GPL-2.0-or-later')
|
|
depends=(
|
|
'bash'
|
|
'coreutils'
|
|
'cpio'
|
|
'filesystem'
|
|
'findutils'
|
|
'gawk'
|
|
'grep'
|
|
'kmod'
|
|
'pkgconf'
|
|
'procps-ng'
|
|
'sed'
|
|
'systemd'
|
|
'util-linux'
|
|
)
|
|
makedepends=(
|
|
'asciidoc'
|
|
'bash-completion'
|
|
'git'
|
|
)
|
|
optdepends=(
|
|
'binutils: --uefi option support'
|
|
'bluez: bluetooth (keyboard)'
|
|
'btrfs-progs: scan for Btrfs on block devices'
|
|
'busybox: allows use of busybox (on your own risk)'
|
|
'bzip2: bzip2 compression'
|
|
'cifs-utils: support CIFS'
|
|
'connman: support for connman networking'
|
|
'cryptsetup: support for encrypted with LUKS filesystems'
|
|
'dash: allows use of dash (on your own risk)'
|
|
'dhclient: legacy networking support'
|
|
'dmraid: dmraid dracut module support'
|
|
'e2fsprogs: ext2/3/4 filesystem support'
|
|
'elfutils: strip binaries to reduce initramfs size'
|
|
'f2fs-tools: fsfs filesystem support'
|
|
'fuse3: live on NTFS (dmsquash-live-ntfs module)'
|
|
'gzip: gzip compression'
|
|
'iproute2: legacy networking support'
|
|
'iputils: networking support'
|
|
'lvm2: support Logical Volume Manager'
|
|
'lzop: lzop compression'
|
|
'mdadm: support MD devices, also known as software RAID devices'
|
|
'multipath-tools: dmraid dracut module support'
|
|
'nbd: support network block devices'
|
|
'ndctl: NVDIMM support'
|
|
'networkmanager: networkmanager support'
|
|
'nfs-utils: support NFS'
|
|
'ntfs-3g: live on NTFS (dmsquash-live-ntfs module)'
|
|
'nvme-cli: NVMe-oF support (nvmf module)'
|
|
'open-iscsi: support iSCSI (iscsi module)'
|
|
'openssh: install ssh and scp along with config files and specified keys (ssh-client module)'
|
|
'pigz: faster gzip compression'
|
|
'plymouth: plymouth boot splash'
|
|
'rng-tools: enable rngd service to help generating entropy early during boot'
|
|
'sbsigntools: uefi_secureboot_cert/key configuration option support'
|
|
'squashfs-tools: support for building a squashed initramfs'
|
|
'tar: live tar image'
|
|
'tpm2-tools: tpm2 support for e.g. LUKS'
|
|
'xz: xz compression'
|
|
)
|
|
provides=('initramfs')
|
|
backup=('etc/dracut.conf')
|
|
source=(
|
|
"${pkgname}-${pkgver}::git+${url}#tag=${pkgver}"
|
|
)
|
|
sha512sums=('8dbdd67d0b86555aac4c2f315c809861c82358d3899ecdf3008e6203b9f32eac2e8a969fe972e9ce63316aeb0d3242e0e997d21c24bee8666ef3d3e7ddda067e')
|
|
b2sums=('41593a6205cf0a66ad49d903cf73e20b6a0b90628e185f93eb29d09df7d7dbcc342759901d204fb3d2c98ec6b8550ac14dbaef43c8243c0d9190b06a56a92a91')
|
|
|
|
build() {
|
|
local prefix=/usr sysconfdir=/etc
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
./configure \
|
|
--sysconfdir=${sysconfdir} \
|
|
--prefix=${prefix} \
|
|
--libdir=${prefix}/lib \
|
|
--systemdsystemunitdir=${prefix}/lib/systemd/system \
|
|
--bashcompletiondir=$(pkg-config --variable=completionsdir bash-completion)
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
DESTDIR="$pkgdir" make install
|
|
}
|