From 7f9bea1f77cf184e134dac16e9066cb7b3adfc3d Mon Sep 17 00:00:00 2001 From: EnumDev Date: Mon, 10 Mar 2025 20:26:05 +0200 Subject: [PATCH] Switch from Systemd to Enit --- pkg.info | 5 +++-- source.sh | 29 ++++++++++++++++------------- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/pkg.info b/pkg.info index e2d91c6..f78738b 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,10 @@ name: util-linux description: Linux system utilities version: 2.39.3 +revision: 3 url: https://github.com/util-linux/util-linux license: GPL2 architecture: any -depends: ["glibc","ncurses","readline","systemd","zlib"] -make_depends: ["bash","binutils","coreutils","diffutils","file","findutils","gawk","gcc","gettext","glibc","grep","make","ncurses","pkgconf","sed","systemd","zlib"] +depends: ["glibc","ncurses","readline","zlib"] +make_depends: ["bash","binutils","coreutils","diffutils","file","findutils","gawk","gcc","gettext","glibc","grep","make","ncurses","pkgconf","sed","zlib"] type: source diff --git a/source.sh b/source.sh index 7f8bbc7..beb6997 100644 --- a/source.sh +++ b/source.sh @@ -16,19 +16,22 @@ prepare() { # This function is used to compile the source code build() { sed -i '/test_mkfds/s/^/#/' tests/helpers/Makemodule.am - ./configure --bindir=/usr/bin \ - --libdir=/usr/lib \ - --runstatedir=/run \ - --sbindir=/usr/sbin \ - --disable-chfn-chsh \ - --disable-login \ - --disable-nologin \ - --disable-su \ - --disable-setpriv \ - --disable-runuser \ - --disable-pylibmount \ - --disable-static \ - --without-python \ + ./configure --bindir=/usr/bin \ + --libdir=/usr/lib \ + --runstatedir=/run \ + --sbindir=/usr/sbin \ + --disable-chfn-chsh \ + --disable-login \ + --disable-nologin \ + --disable-su \ + --disable-setpriv \ + --disable-runuser \ + --disable-pylibmount \ + --disable-liblastlog2 \ + --disable-static \ + --without-python \ + --without-systemd \ + --without-systemdsystemunitdir \ ADJTIME_PATH=/var/lib/hwclock/adjtime \ --docdir=/usr/share/doc/util-linux make