RELEASE=4.0
-PACKAGE=lxc
+PACKAGE=lxc-pve
LXCVER=1.1.1
-DEBREL=pve1
+DEBREL=1
-SRCDIR=${PACKAGE}
+SRCDIR=lxc
SRCTAR=${SRCDIR}.tgz
ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
-lxc (1.1.1-pve1) unstable; urgency=low
+lxc (1.1.1-1) unstable; urgency=low
* Initial release for Proxmox VE
Standards-Version: 3.9.5
Homepage: https://linuxcontainers.org
-Package: lxc
+Package: lxc-pve
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libcap2, apparmor, python3, bridge-utils, uidmap, libgnutlsxx28
+Conflicts: lxc
+Replaces: lxc
+Provides: lxc
Description: Linux containers usersapce tools
Containers provides resource management through control groups and
resource isolation through namespaces. The linux containers, lxc, aims
object which provides full resource isolation and resource control for
an applications or a system.
-Package: lxc-dbg
+Package: lxc-pve-dbg
Section: debug
Architecture: any
-Depends: lxc (= ${binary:Version}), lxc-dev (= ${binary:Version}), ${misc:Depends}
+Depends: lxc-pve (= ${binary:Version}), lxc-pve-dev (= ${binary:Version}), ${misc:Depends}
Description: Debug symbols for LXC
This package contains the debug symbols for LXC.
-Package: lxc-dev
+Package: lxc-pve-dev
Section: libdevel
Architecture: any
-Depends: lxc (= ${binary:Version}), ${misc:Depends}
+Depends: lxc-pve (= ${binary:Version}), ${misc:Depends}
Description: Linux Containers userspace tools (development)
Containers provides resource management through control groups and
resource isolation through namespaces. The linux containers, lxc, aims
+++ /dev/null
-usr/include
-usr/lib/*/pkgconfig
-usr/lib/*/*.so
--- /dev/null
+usr/include
+usr/lib/*/pkgconfig
+usr/lib/*/*.so
--- /dev/null
+var/cache/lxc
+var/lib/lxc
+var/log/lxc
--- /dev/null
+usr/bin
+usr/sbin
+usr/share/man
+usr/share/lxc
+usr/lib/*/*.so.*
+usr/lib/*/lxc/lxc-*
+usr/lib/*/lxc/rootfs/README
+lib/systemd
+etc
\ No newline at end of file
--- /dev/null
+#!/bin/sh
+# postinst script for lxc
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+case "$1" in
+ configure)
+
+ # create subuid/subgui map for root
+ # (to run unprivileged containers as root)
+ usermod -v 100000-165535 -w 100000-165535 root
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+++ /dev/null
-var/cache/lxc
-var/lib/lxc
-var/log/lxc
+++ /dev/null
-usr/bin
-usr/sbin
-usr/share/man
-usr/share/lxc
-usr/lib/*/*.so.*
-usr/lib/*/lxc/lxc-*
-usr/lib/*/lxc/rootfs/README
-lib/systemd
-etc
\ No newline at end of file
+++ /dev/null
-#!/bin/sh
-# postinst script for lxc
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-case "$1" in
- configure)
-
- # create subuid/subgui map for root
- # (to run unprivileged containers as root)
- usermod -v 100000-165535 -w 100000-165535 root
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
--disable-examples
override_dh_strip:
- dh_strip --dbg-package=lxc-dbg
+ dh_strip --dbg-package=lxc-pve-dbg
override_dh_install:
- dh_apparmor -p lxc --profile-name=usr.bin.lxc-start
+ dh_apparmor -p lxc-pve --profile-name=usr.bin.lxc-start
# do not include dirs on /etc/pve
# rmdir $(CURDIR)/debian/tmp/etc/pve/lxc