[lxc-devel] [lxc/lxc] 0efd7f: build: don't remove configuration template on clea...

GitHub noreply at github.com
Mon Aug 25 23:11:14 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 0efd7f7fc5255c9186ac073de9b47d5d93735eb8
      https://github.com/lxc/lxc/commit/0efd7f7fc5255c9186ac073de9b47d5d93735eb8
  Author: Daniel Miranda <danielkza2 at gmail.com>
  Date:   2014-08-25 (Mon, 25 Aug 2014)

  Changed paths:
    M config/etc/Makefile.am

  Log Message:
  -----------
  build: don't remove configuration template on clean

Now that default.conf is generated/linked during the configuration
phase, it should not longer be removed in the 'clean' stage, or
subsequent builds will fail. Only remove it during 'dist-clean'.

Signed-off-by: Daniel Miranda <danielkza2 at gmail.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: f4eddfef90c41595905ff45a92ca6e9e954d279b
      https://github.com/lxc/lxc/commit/f4eddfef90c41595905ff45a92ca6e9e954d279b
  Author: Daniel Miranda <danielkza2 at gmail.com>
  Date:   2014-08-25 (Mon, 25 Aug 2014)

  Changed paths:
    M src/python-lxc/setup.py.in

  Log Message:
  -----------
  build: Make setup.py run from srcdir to avoid distutils errors

distutils can't handle paths to source files containing '..'. It will
try to navigate away from the build directory and fail. To fix that,
before building the python module, transform all the path variables then
cd to the srcdir, and set the build directory manually.

This is hopefully the last needed fix to use separate build and
source diretories.

Signed-off-by: Daniel Miranda <danielkza2 at gmail.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/57221f67feb3...f4eddfef90c4


More information about the lxc-devel mailing list