Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37567412
en ru br
ALT Linux repos
S:7.4.3-alt6

Group :: System/Servers
RPM: pve-manager

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: pve-container-alt.patch
Download


--- pve-container/src/Makefile.alt	2020-12-09 11:49:36.000000000 +0000
+++ pve-container/src/Makefile	2020-12-11 08:30:25.983845209 +0000
@@ -26,11 +26,11 @@ include /usr/share/pve-doc-generator/pve
 all:
 
 pct.bash-completion:
-	PVE_GENERATING_DOCS=1 perl -I. -T -e "use PVE::CLI::pct; PVE::CLI::pct->generate_bash_completions();" >$@.tmp
+	PVE_GENERATING_DOCS=1 perl -I../../pve-guest-common/src -I../../pve-firewall/src -I../../pve-ha-manager/src -I../../qemu-server -I. -T -e "use PVE::CLI::pct; PVE::CLI::pct->generate_bash_completions();" >$@.tmp
 	mv $@.tmp $@
 
 pct.zsh-completion:
-	PVE_GENERATING_DOCS=1 perl -I. -T -e "use PVE::CLI::pct; PVE::CLI::pct->generate_zsh_completions();" >$@.tmp
+	PVE_GENERATING_DOCS=1 perl -I../../pve-guest-common/src -I../../pve-firewall/src -I../../pve-ha-manager/src -I../../qemu-server -I. -T -e "use PVE::CLI::pct; PVE::CLI::pct->generate_zsh_completions();" >$@.tmp
 	mv $@.tmp $@
 
 .PHONY: check
@@ -41,7 +41,7 @@ check: test
 install: pct lxc-pve.conf pct.1 pct.conf.5 pct.bash-completion pct.zsh-completion \
     pve-userns.seccomp pve-container@.service pve-container-debug@.service \
     lxc-pve-prestart-hook lxc-pve-autodev-hook lxc-pve-poststop-hook lxcnetaddbr
-	PVE_GENERATING_DOCS=1 perl -I. -T -e "use PVE::CLI::pct; PVE::CLI::pct->verify_api();"
+	PVE_GENERATING_DOCS=1 perl -I../../pve-guest-common/src -I../../pve-firewall/src -I../../pve-ha-manager/src -I../../qemu-server -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}
@@ -69,7 +69,7 @@ install: pct lxc-pve.conf pct.1 pct.conf
 	install -m 0644 pct.conf.5 ${MAN5DIR}
 	gzip -9 ${MAN5DIR}/pct.conf.5
 	cd ${MAN5DIR}; ln -s pct.conf.5.gz ct.conf.5.gz
-	install -D -m 0644 10-pve-ct-inotify-limits.conf ${LIBDIR}/sysctl.d/10-pve-ct-inotify-limits.conf
+	install -D -m 0644 10-pve-ct-inotify-limits.conf ${DESTDIR}/etc/sysctl.d/10-pve-ct-inotify-limits.conf
 
 pve-userns.seccomp: /usr/share/lxc/config/common.seccomp
 	cp $< $@
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin