summaryrefslogtreecommitdiff
path: root/user/dracut
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-12 23:57:08 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-12 23:57:08 -0500
commita987aed29a4003ef075b86cd50c1a0875004f30d (patch)
treec683695105b951a3cc04f778d59db2a2544de388 /user/dracut
parent5df660d20458ad44e0220d9890fb0f2854c346b6 (diff)
downloadpackages-a987aed29a4003ef075b86cd50c1a0875004f30d.tar.gz
packages-a987aed29a4003ef075b86cd50c1a0875004f30d.tar.bz2
packages-a987aed29a4003ef075b86cd50c1a0875004f30d.tar.xz
packages-a987aed29a4003ef075b86cd50c1a0875004f30d.zip
user/dracut: add -lvm, fix depends
Diffstat (limited to 'user/dracut')
-rw-r--r--user/dracut/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/user/dracut/APKBUILD b/user/dracut/APKBUILD
index c423d4cbe..5eeab3cf1 100644
--- a/user/dracut/APKBUILD
+++ b/user/dracut/APKBUILD
@@ -2,16 +2,16 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=dracut
pkgver=046
-pkgrel=1
+pkgrel=2
pkgdesc="An event-driven initramfs infrastructure"
url="https://dracut.wiki.kernel.org/"
arch="all"
license="GPL-2.0+"
-depends="libarchive-tools"
+depends="libarchive-tools musl-utils xz"
makedepends="fts-dev kmod-dev"
install=""
options="!check" # Test suite is for kernel developers only, requires ext3 rootfs
-subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch"
+subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch $pkgname-lvm::noarch"
source="https://www.kernel.org/pub/linux/utils/boot/$pkgname/$pkgname-$pkgver.tar.xz
header-fix.patch
"
@@ -42,7 +42,7 @@ package() {
}
bashcomp() {
- depends=""
+ depends="dracut"
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
@@ -51,5 +51,11 @@ bashcomp() {
"$subpkgdir"/usr/share
}
+lvm() {
+ depends="device-mapper dracut lvm2"
+ pkgdesc="$pkgname - LVM2 module"
+ mkdir -p "$subpkgdir"
+}
+
sha512sums="75cefc184960024ef32f7bb5a0fe060e9c7d82dbfd0fe247d54b585e2ebbf0f8af5d5dc1be7e5e8cf2c3bc27b3293842c6361ae62d047289d0c59d7d40b09122 dracut-046.tar.xz
988f03a3fd2e7ee62409d3c57e8029403513dcec5efb37e64633d989728e4c7b619ce5b8775a04c5a0b654f7f093777d94fe6e4098a99a690c353a94f537e24c header-fix.patch"