Switch from Systemd to Enit

This commit is contained in:
2025-03-10 20:26:05 +02:00
parent 2dff973bf9
commit 7f9bea1f77
2 changed files with 19 additions and 15 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
name: util-linux name: util-linux
description: Linux system utilities description: Linux system utilities
version: 2.39.3 version: 2.39.3
revision: 3
url: https://github.com/util-linux/util-linux url: https://github.com/util-linux/util-linux
license: GPL2 license: GPL2
architecture: any architecture: any
depends: ["glibc","ncurses","readline","systemd","zlib"] depends: ["glibc","ncurses","readline","zlib"]
make_depends: ["bash","binutils","coreutils","diffutils","file","findutils","gawk","gcc","gettext","glibc","grep","make","ncurses","pkgconf","sed","systemd","zlib"] make_depends: ["bash","binutils","coreutils","diffutils","file","findutils","gawk","gcc","gettext","glibc","grep","make","ncurses","pkgconf","sed","zlib"]
type: source type: source
+16 -13
View File
@@ -16,19 +16,22 @@ prepare() {
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {
sed -i '/test_mkfds/s/^/#/' tests/helpers/Makemodule.am sed -i '/test_mkfds/s/^/#/' tests/helpers/Makemodule.am
./configure --bindir=/usr/bin \ ./configure --bindir=/usr/bin \
--libdir=/usr/lib \ --libdir=/usr/lib \
--runstatedir=/run \ --runstatedir=/run \
--sbindir=/usr/sbin \ --sbindir=/usr/sbin \
--disable-chfn-chsh \ --disable-chfn-chsh \
--disable-login \ --disable-login \
--disable-nologin \ --disable-nologin \
--disable-su \ --disable-su \
--disable-setpriv \ --disable-setpriv \
--disable-runuser \ --disable-runuser \
--disable-pylibmount \ --disable-pylibmount \
--disable-static \ --disable-liblastlog2 \
--without-python \ --disable-static \
--without-python \
--without-systemd \
--without-systemdsystemunitdir \
ADJTIME_PATH=/var/lib/hwclock/adjtime \ ADJTIME_PATH=/var/lib/hwclock/adjtime \
--docdir=/usr/share/doc/util-linux --docdir=/usr/share/doc/util-linux
make make