Switch from Systemd to Enit

This commit is contained in:
2025-03-12 12:49:39 +02:00
parent 9d2d2413a6
commit a7607ac5a6
5 changed files with 12 additions and 30 deletions
+3 -4
View File
@@ -20,7 +20,7 @@ build() {
--libexecdir=/usr/lib/dhcpcd \
--dbdir=/var/lib/dhcpcd \
--runstatedir=/run \
--disable-privsep \
--disable-privsep
make
}
@@ -34,7 +34,6 @@ check() {
# This function is used to move the compiled files into the output directory
package() {
make DESTDIR="$BPM_OUTPUT" install
mkdir -p "$BPM_OUTPUT"/usr/lib/systemd/system
install -m 644 ../dhcpcdat "$BPM_OUTPUT"/usr/lib/systemd/system/[email protected]
install -m 644 ../dhcpcd "$BPM_OUTPUT"/usr/lib/systemd/system/dhcpcd.service
mkdir -p "$BPM_OUTPUT"/etc/esvm/services/
install -m 644 ../dhcpcd.esv "$BPM_OUTPUT"/etc/esvm/services/dhcpcd.esv
}