Update source.sh script and remove systemd tmpfiles.d directory

This commit is contained in:
2025-11-25 18:26:23 +02:00
parent f0cc134990
commit 2e989c6cd9
2 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: podman
description: A tool for managing OCI containers and pods
version: 5.7.0
revision: 1
revision: 2
url: https://podman.io/
license: Apache-2.0
architecture: x86_64
+9 -4
View File
@@ -21,19 +21,24 @@ build() {
package_podman() {
make PREFIX=/usr DESTDIR="$BPM_OUTPUT" install install.completions
# Remove systemd services
# Remove systemd directories
rm -r "$BPM_OUTPUT"/usr/lib/systemd
rm -r "$BPM_OUTPUT"/usr/lib/tmpfiles.d
# Install ESVM service
install -Dm644 "$BPM_WORKDIR"/podman.esv "$BPM_OUTPUT"/etc/esvm/services/podman.esv
# Install package license
install -Dm644 LICENSE "$BPM_OUTPUT"/usr/share/licenses/podman/LICENSE
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/podman/LICENSE
}
package_podman-docker() {
make -j1 PREFIX=/usr DESTDIR="$BPM_OUTPUT" install.docker-full
# Remove systemd services
rm -r $BPM_OUTPUT/usr/lib/systemd
# Remove systemd directories
rm -r "$BPM_OUTPUT"/usr/lib/systemd
rm -r "$BPM_OUTPUT"/usr/lib/tmpfiles.d
# Install package license
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/podman-docker/LICENSE
}