~ubuntu-branches/ubuntu/precise/lxc/precise-updates

« back to all changes in this revision

Viewing changes to src/lxc/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn
  • Date: 2012-03-21 08:20:06 UTC
  • Revision ID: package-import@ubuntu.com-20120321082006-bsepg8w3z7qb79xt
Tags: 0.7.5-3ubuntu41
* add lxc-shutdown command:
  - 0060-lxc-shutdown: add the command to the source
  - debian/lxc.upstart: use lxc-shutdown to shut down containers cleanly
  - debian/lxc.default: add LXC_SHUTDOWN_TIMEOUT (default 120s)
* support per-container apparmor policies:  (LP: #953453)
  - 0061-lxc-start-apparmor: add lxc.aa_profile to config file.  If not
    specified, lxc-default profile is used for container.  Otherwise, the
    specified profile is used.
    Note that per-container profiles must be named 'lxc-*'.
  - split debian/lxc-default.apparmor from debian/lxc.apparmor.
  - have /etc/apparmor.d/lxc-containers #include /etc/apparmor.d/lxc/*
  - debian/lxc.postinst: load the new lxc-containers profiles
  - debian/lxc.postrm: remove lxc-containers profiles
  - debian/rules: make new etc/apparmor.d/lxc dir and copy lxc-default into it
  - debian/control: add libapparmor-dev to build-depends
  - debian/lxc.upstart: load apparmor per-container policies at pre-start.
* debian/lxc.apparmor: insert the stricter mount rules for lxc-start
  (LP: #645625) (LP: #942934)
* debian/local/lxc-start-ephemeral: re-enable aufs option (LP: #960262)
* replace upstream lxc-wait with our own bash script (LP: #951181)
  - debian/local/lxc-wait: the script
  - debian/rules: copy the script into place
* 0062-templates-relative-paths: update templates to use relative paths,
  and make lxc-start always accept /var/lib/lxc/CN/rootfs as target prefix,
  to make lvm containers work.  (LP: #960860)

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
        $(srcdir)/lxc-destroy.in $(srcdir)/lxc-ls.in \
51
51
        $(srcdir)/lxc-netstat.in $(srcdir)/lxc-ps.in \
52
52
        $(srcdir)/lxc-setcap.in $(srcdir)/lxc-setuid.in \
53
 
        $(srcdir)/lxc-version.in
 
53
        $(srcdir)/lxc-version.in $(srcdir)/lxc-shutdown.in
54
54
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
55
55
am__aclocal_m4_deps = $(top_srcdir)/config/acinclude.m4 \
56
56
        $(top_srcdir)/config/linux.m4 $(top_srcdir)/configure.ac
60
60
CONFIG_HEADER = $(top_builddir)/src/config.h
61
61
CONFIG_CLEAN_FILES = lxc-ps lxc-ls lxc-netstat lxc-checkconfig \
62
62
        lxc-setcap lxc-setuid lxc-version lxc-create lxc-clone \
63
 
        lxc-destroy
 
63
        lxc-shutdown lxc-destroy
64
64
CONFIG_CLEAN_VPATH_FILES =
65
65
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglibdir)" \
66
66
        "$(DESTDIR)$(sodir)" "$(DESTDIR)$(bindir)" \
368
368
        -shared \
369
369
        -Wl,-soname,liblxc.so.$(firstword $(subst ., ,$(VERSION)))
370
370
 
371
 
liblxc_so_LDADD = -lutil $(CAP_LIBS)
 
371
liblxc_so_LDADD = -lutil $(CAP_LIBS) -lapparmor
372
372
bin_SCRIPTS = \
373
373
        lxc-ps \
374
374
        lxc-netstat \
379
379
        lxc-version \
380
380
        lxc-create \
381
381
        lxc-clone \
 
382
        lxc-shutdown \
382
383
        lxc-destroy
383
384
 
384
385
AM_LDFLAGS = -Wl,-E -Wl,-rpath -Wl,$(libdir)
385
 
LDADD = liblxc.so @CAP_LIBS@
 
386
LDADD = liblxc.so @CAP_LIBS@ -lapparmor
386
387
lxc_attach_SOURCES = lxc_attach.c
387
388
lxc_cgroup_SOURCES = lxc_cgroup.c
388
389
lxc_checkpoint_SOURCES = lxc_checkpoint.c
451
452
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
452
453
lxc-clone: $(top_builddir)/config.status $(srcdir)/lxc-clone.in
453
454
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
 
455
lxc-shutdown: $(top_builddir)/config.status $(srcdir)/lxc-shutdown.in
 
456
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
454
457
lxc-destroy: $(top_builddir)/config.status $(srcdir)/lxc-destroy.in
455
458
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
456
459
install-binPROGRAMS: $(bin_PROGRAMS)