Update source.sh script and remove systemd tmpfiles.d directory
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: podman
|
name: podman
|
||||||
description: A tool for managing OCI containers and pods
|
description: A tool for managing OCI containers and pods
|
||||||
version: 5.7.0
|
version: 5.7.0
|
||||||
revision: 1
|
revision: 2
|
||||||
url: https://podman.io/
|
url: https://podman.io/
|
||||||
license: Apache-2.0
|
license: Apache-2.0
|
||||||
architecture: x86_64
|
architecture: x86_64
|
||||||
|
|||||||
@@ -21,19 +21,24 @@ build() {
|
|||||||
package_podman() {
|
package_podman() {
|
||||||
make PREFIX=/usr DESTDIR="$BPM_OUTPUT" install install.completions
|
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/systemd
|
||||||
|
rm -r "$BPM_OUTPUT"/usr/lib/tmpfiles.d
|
||||||
|
|
||||||
# Install ESVM service
|
# Install ESVM service
|
||||||
install -Dm644 "$BPM_WORKDIR"/podman.esv "$BPM_OUTPUT"/etc/esvm/services/podman.esv
|
install -Dm644 "$BPM_WORKDIR"/podman.esv "$BPM_OUTPUT"/etc/esvm/services/podman.esv
|
||||||
|
|
||||||
# Install package license
|
# 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() {
|
package_podman-docker() {
|
||||||
make -j1 PREFIX=/usr DESTDIR="$BPM_OUTPUT" install.docker-full
|
make -j1 PREFIX=/usr DESTDIR="$BPM_OUTPUT" install.docker-full
|
||||||
|
|
||||||
# Remove systemd services
|
# Remove systemd directories
|
||||||
rm -r $BPM_OUTPUT/usr/lib/systemd
|
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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user