From 0b0a232f722d47f6addc62c740120244e67c3e30 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Tue, 11 Mar 2025 22:10:51 +0200 Subject: [PATCH] Switch from Systemd to Enit --- pkg.info | 3 ++- source.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg.info b/pkg.info index 54add46..8c8c5b3 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,11 @@ name: dracut description: Event driven initramfs infrastructure version: 102 +revision: 2 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"] +depends: ["cpio","kmod","coreutils","util-linux","bash","findutils","gawk","grep","procps-ng","sed","pkgconf"] optional_depends: ["lvm2"] make_depends: ["rustc"] provides: ["initramfs"] diff --git a/source.sh b/source.sh index 8991d9d..6edc0e6 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 --enable-dracut-cpio + ./configure --prefix=/usr --sysconfdir=/etc --disable-documentation --systemdsystemunitdir=no --enable-dracut-cpio make }