Remove systemd tmpfiles.d directory
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: polkit
|
name: polkit
|
||||||
description: Toolkit for defining and handling authorizations
|
description: Toolkit for defining and handling authorizations
|
||||||
version: "126"
|
version: "126"
|
||||||
revision: 3
|
revision: 4
|
||||||
url: https://github.com/polkit-org/polkit
|
url: https://github.com/polkit-org/polkit
|
||||||
license: LGPL2-or-later
|
license: LGPL2-or-later
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -12,16 +12,16 @@ prepare() {
|
|||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
meson setup --prefix=/usr \
|
meson setup --prefix=/usr \
|
||||||
--libdir=/usr/lib \
|
--libdir=/usr/lib \
|
||||||
--buildtype=release \
|
--buildtype=release \
|
||||||
-Dman=true \
|
-Dman=true \
|
||||||
-Dgtk_doc=true \
|
-Dgtk_doc=true \
|
||||||
-Dos_type=lfs \
|
-Dos_type=lfs \
|
||||||
-Dpolkitd_uid=9 \
|
-Dpolkitd_uid=9 \
|
||||||
-Dpolkitd_user=polkitd \
|
-Dpolkitd_user=polkitd \
|
||||||
-Dsession_tracking=elogind \
|
-Dsession_tracking=elogind \
|
||||||
-Dsystemdsystemunitdir=/tmp \
|
-Dsystemdsystemunitdir=no \
|
||||||
-Dtests=false build
|
-Dtests=false build
|
||||||
meson compile -C build
|
meson compile -C build
|
||||||
}
|
}
|
||||||
@@ -31,6 +31,9 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
meson install -C build --destdir="$BPM_OUTPUT"
|
meson install -C build --destdir="$BPM_OUTPUT"
|
||||||
|
|
||||||
|
# Remove systemd tmpfiles.d directory
|
||||||
|
rm -r "$BPM_OUTPUT"/usr/lib/tmpfiles.d
|
||||||
|
|
||||||
# Install esvm service
|
# Install esvm service
|
||||||
install -Dm644 "$BPM_WORKDIR"/polkitd.esv "$BPM_OUTPUT"/etc/esvm/services/polkitd.esv
|
install -Dm644 "$BPM_WORKDIR"/polkitd.esv "$BPM_OUTPUT"/etc/esvm/services/polkitd.esv
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user