[pve-devel] [RFC PATCH container] 'feature' config option

Dietmar Maurer dietmar at proxmox.com
Tue Mar 15 06:56:00 CET 2016


> diff --git a/src/PVE/API2/LXC/Makefile b/src/PVE/API2/LXC/Makefile
> index f372d95..dd1b214 100644
> --- a/src/PVE/API2/LXC/Makefile
> +++ b/src/PVE/API2/LXC/Makefile
> @@ -1,8 +1,12 @@
> -SOURCES=Config.pm Status.pm Snapshot.pm
> +SOURCES=Config.pm Status.pm Snapshot.pm Features.pm
> +
> +LXCPROFILEDIR=${DESTDIR}/etc/apparmor.d/lxc
>  
>  .PHONY: install
>  install:
>  	install -d -m 0755 ${PERLDIR}/PVE/API2/LXC
>  	for i in ${SOURCES}; do install -D -m 0644 $$i ${PERLDIR}/PVE/API2/LXC/$$i;
> done
> +	install -dm755 ${LXCPROFILEDIR}
> +	perl -e 'require "./Features.pm";
> PVE::API2::LXC::Features::generate_apparmor_profiles(\*STDOUT);' >
> ${LXCPROFILEDIR}/lxc-pve-profiles

I would like to have those profiles in git, so that I can see/observe any
changes.




More information about the pve-devel mailing list