~ubuntu-branches/ubuntu/quantal/lxc/quantal-201208301614

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Stéphane Graber
  • Date: 2012-07-05 15:46:53 UTC
  • Revision ID: stgraber@ubuntu.com-20120705154653-1wx56f3mzugls92a
Allow write access to /proc/sys/kernel/shm* and move abstractions under abstractions/lxc/

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
override_dh_install:
59
59
        # copy apparmor profiles
60
60
        mkdir -p debian/lxc/etc/apparmor.d/lxc
61
 
        mkdir -p debian/lxc/etc/apparmor.d/abstractions
 
61
        mkdir -p debian/lxc/etc/apparmor.d/abstractions/lxc
62
62
        cp debian/apparmor/usr.bin.lxc-start debian/lxc/etc/apparmor.d/usr.bin.lxc-start
63
63
        cp debian/apparmor/lxc-containers debian/lxc/etc/apparmor.d/lxc-containers
64
64
        cp debian/apparmor/lxc-default debian/lxc/etc/apparmor.d/lxc/lxc-default
65
65
        cp debian/apparmor/lxc-default-with-nesting debian/lxc/etc/apparmor.d/lxc/lxc-default-with-nesting
66
 
        cp debian/apparmor/abstractions-lxc-container-default debian/lxc/etc/apparmor.d/abstractions/lxc-container-default
67
 
        cp debian/apparmor/abstractions-lxc-start-container debian/lxc/etc/apparmor.d/abstractions/lxc-start-container
 
66
        cp debian/apparmor/abstractions-lxc-container-base debian/lxc/etc/apparmor.d/abstractions/lxc/container-base
 
67
        cp debian/apparmor/abstractions-lxc-start-container debian/lxc/etc/apparmor.d/abstractions/lxc/start-container
68
68
        if [ -x /usr/bin/dh_apparmor ]; then \
69
69
                dh_apparmor -p lxc --profile-name=usr.bin.lxc-start; \
70
70
        fi