Update source.sh script and remove systemd tmpfiles.d directory
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user