1. 13 Jun, 2016 5 commits
    • Move apt-transport-https to global packages_template · b27223f1
      Jesse Pretorius authored
      In many environments the preference is to configure containers with
      apt mirrors that are SSL-secured.
      
      When building containers using the download template this can't be
      done unless an insecure mirror is first used to install the
      apt-transport-https package, then the sources reconfigured to
      use the https URL.
      
      When building containers without using the download template this
      can't be done unless the container creator specifically includes
      this package in the package list at build time. It seems more
      intuitive to me to have the package installed by default.
      
      Commit 396f75ab added the package
      to the minbase variant, but this variant is not used by the download
      template build process. The build process instead specifies no
      variant, so this patch moves the package from the packages_template
      package list in the minbase variant to the global packages_template
      package list, ensuring that this package is included in all Ubuntu
      build images that use the lxc-ubuntu template.
      Signed-off-by: 's avatarJesse Pretorius <jesse.pretorius@rackspace.co.uk>
    • start containers in foreground when using the lxc@.service · 2991a7d0
      Evgeni Golov authored
      lxc-start started to default to daemonize the container when starting
      this conflicts with type=simple of the systemd unit
      
      call lxc-start with -F and thus force execution in foreground
      that way we can feed the log to journald properly and keep type=simple
      
      Debian-Bug: https://bugs.debian.org/826100Signed-off-by: 's avatarEvgeni Golov <evgeni@golov.de>
    • travis: test VPATH builds · dafca213
      Aleksandr Mezin authored
      It looks like VPATH (split source and build directories) builds
      are frequently broken. So let's test them on travis-ci.
      
      Personally I use VPATH build in my deployment scripts.
      Signed-off-by: 's avatarAleksandr Mezin <mezin.alexander@gmail.com>
    • Fix redefinition of struct in6_addr · 340f3a48
      Jörg Krause authored
      struct in6_addr is both defined in the C library header <netinet/in.h>
      and the Linux kernel header <linux/in6.h>.
      
      lxc_user_nic.c includes both <netinet/in.h> and <linux/if_bridge.h>. The
      later one includes <linux/in6.h>.
      
      This breaks build with the musl libc:
        error: redefinition of ‘struct in6_addr’
      
      As lxc_user_nic.c does not use any references from <linux/if_bridge.h> it
      is safe to remove this header.
      Signed-off-by: 's avatarJörg Krause <joerg.krause@embedded.rocks>
  2. 16 May, 2016 1 commit
  3. 11 May, 2016 26 commits
  4. 18 Apr, 2016 8 commits