]> git.proxmox.com Git - pve-container.git/commitdiff
revert removal of pct from installation
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 6 Feb 2018 12:54:10 +0000 (13:54 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 6 Feb 2018 12:58:33 +0000 (13:58 +0100)
Fixes: c47b855338e2 "remove transitional pve-update-lxc-config script (PVE 4 beta era)"
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/Makefile

index e9fdefbdbeb7f44cd5577202102166a47218357e..08d1f4dc107093f8f671ba924ebe146c86a2da1d 100644 (file)
@@ -3,6 +3,7 @@ PACKAGE=pve-container
 PREFIX=${DESTDIR}/usr
 BINDIR=${PREFIX}/bin
 LIBDIR=${PREFIX}/lib
+SBINDIR=${PREFIX}/sbin
 MANDIR=${PREFIX}/share/man
 DOCDIR=${PREFIX}/share/doc/${PACKAGE}
 LXC_SCRIPT_DIR=${PREFIX}/share/lxc
@@ -33,6 +34,8 @@ check: test
 .PHONY: install
 install: pct lxc-pve.conf lxc-pve-prestart-hook lxc-pve-autodev-hook lxc-pve-poststop-hook lxcnetaddbr pct.1 pct.conf.5 pct.bash-completion
        PVE_GENERATING_DOCS=1 perl -I. -T -e "use PVE::CLI::pct; PVE::CLI::pct->verify_api();"
+       install -d ${SBINDIR}
+       install -m 0755 pct ${SBINDIR}
        install -d ${LXC_SCRIPT_DIR}
        install -m 0755 lxcnetaddbr ${LXC_SCRIPT_DIR}
        install -m 0755 pve-container-stop-wrapper ${LXC_SCRIPT_DIR}