diff --git a/pkg.info b/pkg.info index d706a0f..b0cb300 100644 --- a/pkg.info +++ b/pkg.info @@ -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 diff --git a/source.sh b/source.sh index e47a837..e7fe0d2 100644 --- a/source.sh +++ b/source.sh @@ -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 }