[lxc-devel] [PATCH 3/4] lxc-ubuntu: Rename from lxc-ubuntu.in

2012-11-28 Thread Stéphane Graber
lxc-ubuntu no longer uses any build time variables, therefore it can now be simply copied to the target without any autoconf magic. Signed-off-by: Stéphane Graber --- configure.ac| 1 - templates/lxc-ubuntu| 729 templates/lxc-ub

[lxc-devel] [PATCH 2/4] lxc-ubuntu: Guess a list of langpacks to install

2012-11-28 Thread Stéphane Graber
In addition to creating the current locale in the container, also try to scan the host and extra the list of langpacks installed there, then pass that list to debootstrap as additional packages to install. On distros that don't have dpkg, only language-pack-en will be installed. The code will alwa

[lxc-devel] [PATCH 1/4] lxc-ubuntu: Always create the needed locales

2012-11-28 Thread Stéphane Graber
Move some old code from the trim() function into the main configure_ubuntu function so that we always create a locale in the container. Signed-off-by: Stéphane Graber --- templates/lxc-ubuntu.in | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/lxc-

[lxc-devel] [PATCH 4/4] lxc-ubuntu: Fix mixed indent

2012-11-28 Thread Stéphane Graber
Replace all remaining tabs by 8 spaces, to properly indent by 4 spaces. Signed-off-by: Stéphane Graber --- templates/lxc-ubuntu | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/lxc-ubuntu b/templates/lxc-ubuntu index ce1e065..8d230e6 100644 --- a/t

[lxc-devel] [PATCH 0/4] lxc-ubuntu template updates

2012-11-28 Thread Stéphane Graber
A few changes for the lxc-ubuntu template to make it better deal with locales and cleanup the template a bit. Stéphane Graber (4): lxc-ubuntu: Always create the needed locales lxc-ubuntu: Guess a list of langpacks to install lxc-ubuntu: Rename from lxc-ubuntu.in lxc-ubuntu: Fix mixed inden

[lxc-devel] [PATCH] Fix build with --enable-tests on Fedora

2012-11-28 Thread Dwight Engen
When using --enable-tests on Fedora, the linker complains with: "undefined reference to symbol sem_getvalue", which nm shows to be in libpthread not librt. Build tested on Fedora, Oracle Linux, and Ubuntu. Signed-off-by: Dwight Engen --- src/tests/Makefile.am |2 +- 1 files changed, 1 insert