[lxc-devel] [lxc/lxc] 2d4b3e: add init.lxc.static binary

GitHub noreply at github.com
Tue Jun 3 14:11:33 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 2d4b3e3d9123f675fe57affaa0c7c581a80d9109
      https://github.com/lxc/lxc/commit/2d4b3e3d9123f675fe57affaa0c7c581a80d9109
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-06-03 (Tue, 03 Jun 2014)

  Changed paths:
    M src/lxc/Makefile.am

  Log Message:
  -----------
  add init.lxc.static binary

To avoid having to copy all the library dependencies into the container.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 2322903baaa005032d660dec837877c0140c846d
      https://github.com/lxc/lxc/commit/2322903baaa005032d660dec837877c0140c846d
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-06-03 (Tue, 03 Jun 2014)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  execute: bind init.lxc.static into container

Changelog:

May 19: put init.lxc.static into container's root dir
	rather than under SBINDIR [stgraber].

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 041cb4999b6d611d939c33f891f5330ca6e403f4
      https://github.com/lxc/lxc/commit/041cb4999b6d611d939c33f891f5330ca6e403f4
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-06-03 (Tue, 03 Jun 2014)

  Changed paths:
    M src/lxc/execute.c

  Log Message:
  -----------
  execute: try /lxc.init.static as last resort

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 9d9c111c6106ab53b96a5ce6010fa20c47900e35
      https://github.com/lxc/lxc/commit/9d9c111c6106ab53b96a5ce6010fa20c47900e35
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-06-03 (Tue, 03 Jun 2014)

  Changed paths:
    M .gitignore
    M src/lxc/conf.c
    M src/lxc/execute.c
    M src/lxc/utils.c
    M src/lxc/utils.h

  Log Message:
  -----------
  execute: don't bind mount init.lxc.static if lxc-init is in the container

Move choose_init into utils.c so we can re-use it.  Make it and on_path
accept an optional rootfs argument to prepend to the paths when checking
whether the file exists.

Also add lxc.init.static to .gitignore

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 07ffb1303ef5833847e9cf38d5557aceda9cc5f4
      https://github.com/lxc/lxc/commit/07ffb1303ef5833847e9cf38d5557aceda9cc5f4
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-06-03 (Tue, 03 Jun 2014)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  configure.ac: don't let -lcgmanager end up in LIBS

AC_SEARCH_LIBS always places the library being queried into LIBS.  We
don't want that - we were only checking whether a function is
available.  Not everything (notably not init.lxc.static) needs to
link against -lcgmanager.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 77ae87cdeb5a41589c471ea9f9f3356e055f0fb4
      https://github.com/lxc/lxc/commit/77ae87cdeb5a41589c471ea9f9f3356e055f0fb4
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-06-03 (Tue, 03 Jun 2014)

  Changed paths:
    M src/lxc/Makefile.am

  Log Message:
  -----------
  Fix building init.lxc.static under bionic

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/c83462d56db1...77ae87cdeb5a


More information about the lxc-devel mailing list