~ubuntu-branches/ubuntu/quantal/lxc/quantal-201205292108

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Stéphane Graber
  • Date: 2012-05-29 18:05:35 UTC
  • Revision ID: stgraber@ubuntu.com-20120529180535-3yqel6wi53qtcf5v
Ship a dnsmasq.d hook in the package to workaround dnsmasq related bugs

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
endif
55
55
 
56
56
override_dh_install:
 
57
        # copy apparmor profiles
57
58
        mkdir -p debian/lxc/etc/apparmor.d/lxc
58
59
        cp debian/lxc.apparmor debian/lxc/etc/apparmor.d/usr.bin.lxc-start
59
60
        cp debian/lxc-containers.apparmor debian/lxc/etc/apparmor.d/lxc-containers
62
63
        if [ -x /usr/bin/dh_apparmor ]; then \
63
64
                dh_apparmor --profile-name=usr.bin.lxc-start; \
64
65
        fi
 
66
 
 
67
        # copy dnsmasq configuration
 
68
        mkdir -p debian/lxc/etc/dnsmasq.d
 
69
        cp debian/lxc.dnsmasq debian/lxc/etc/dnsmasq.d/lxc
 
70
 
65
71
        dh_install --fail-missing
66
72
 
67
73
        # replace upstream lxc-wait which can only run one-at-a-time