From 75118399ddb57f945530975fc2fb7ec9b5b5e413 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Mon, 9 Sep 2024 10:58:47 +0000 Subject: [PATCH] Converted metadata to yaml and enabled dracut cpio --- pkg.info | 4 ++++ source.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pkg.info b/pkg.info index 0eff9bd..54add46 100644 --- a/pkg.info +++ b/pkg.info @@ -4,4 +4,8 @@ version: 102 url: https://github.com/dracut-ng/dracut-ng license: GPL2-or-later architecture: any +depends: ["cpio","kmod","coreutils","util-linux","bash","findutils","gawk","grep","procps-ng","sed","pkgconf","systemd"] +optional_depends: ["lvm2"] +make_depends: ["rustc"] +provides: ["initramfs"] type: source diff --git a/source.sh b/source.sh index 23a275c..8991d9d 100644 --- a/source.sh +++ b/source.sh @@ -15,7 +15,7 @@ prepare() { # The build function is executed in the source directory # This function is used to compile the source code build() { - ./configure --prefix=/usr --sysconfdir=/etc --disable-documentation --systemdsystemunitdir=/usr/lib/systemd/system + ./configure --prefix=/usr --sysconfdir=/etc --disable-documentation --systemdsystemunitdir=/usr/lib/systemd/system --enable-dracut-cpio make }