summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-12-30 08:47:29 +0100
committerChristian Poessinger <christian@poessinger.com>2022-12-30 08:47:29 +0100
commit46aa056544aa9e0a46c14bc4722816970e613c00 (patch)
tree0f5d1070faa5b7d7046a4bef549fc74e79ba7f35 /packages
parent6d26b8989237e81e518d0d2f763c6a65ac9bd064 (diff)
downloadvyos-build-46aa056544aa9e0a46c14bc4722816970e613c00.tar.gz
vyos-build-46aa056544aa9e0a46c14bc4722816970e613c00.zip
podman: T4899: systemd services not being installed correctly
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/podman/build.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/packages/podman/build.sh b/packages/podman/build.sh
index 3842d707..08aa319a 100755
--- a/packages/podman/build.sh
+++ b/packages/podman/build.sh
@@ -16,12 +16,8 @@ export PATH=/opt/go/bin:$PATH
cd ${SRC}
version="$(git describe --tags | tr _ .)"
echo "I: Build Debian $SRC Package"
-make
-install -m 0755 -d tmp/usr/bin
-install -m 0755 -d tmp/lib/systemd/system
-install -m 0755 bin/* tmp/usr/bin/
-install -m 0644 contrib/systemd/system/* tmp/lib/systemd/system
+PREFIX=/usr DESTDIR=tmp make all install.systemd install
rm -f *.deb
fpm --input-type dir --output-type deb --name podman \