diff options
author | Juan RP <xtraeme@gmail.com> | 2014-08-07 20:10:50 +0000 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2014-08-07 20:10:50 +0000 |
commit | f80993040ef7e709bb1dcefccea4b39432865e14 (patch) | |
tree | 20bb7d4830f5bc795a6d79982f59e0d06277cd09 | |
parent | 213261db336ccbdd09019fa45f16c5ede83f8bdb (diff) | |
download | void-packages-f80993040ef7e709bb1dcefccea4b39432865e14.tar void-packages-f80993040ef7e709bb1dcefccea4b39432865e14.tar.gz void-packages-f80993040ef7e709bb1dcefccea4b39432865e14.tar.bz2 void-packages-f80993040ef7e709bb1dcefccea4b39432865e14.tar.lz void-packages-f80993040ef7e709bb1dcefccea4b39432865e14.tar.xz void-packages-f80993040ef7e709bb1dcefccea4b39432865e14.tar.zst void-packages-f80993040ef7e709bb1dcefccea4b39432865e14.zip |
lxc: lxc-void: try to fix empty XBPS_ARCH.
-rwxr-xr-x | srcpkgs/lxc/files/lxc-void | 4 | ||||
-rw-r--r-- | srcpkgs/lxc/template | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/srcpkgs/lxc/files/lxc-void b/srcpkgs/lxc/files/lxc-void index 32f0b78c677..0f3db7a24bd 100755 --- a/srcpkgs/lxc/files/lxc-void +++ b/srcpkgs/lxc/files/lxc-void @@ -104,9 +104,9 @@ install_void() { hostname=$3 arch=$4 - [ "${arch}" != "$(uname -m)" ] && different_arch=true + [ "${arch}" != "$(uname -m)" ] && different_arch=1 - if [ "${different_arch}" = "true" ]; then + if [ -n "${different_arch}" ]; then export XBPS_ARCH=${arch} fi diff --git a/srcpkgs/lxc/template b/srcpkgs/lxc/template index c851537691b..fb6b1a258b2 100644 --- a/srcpkgs/lxc/template +++ b/srcpkgs/lxc/template @@ -3,7 +3,7 @@ _desc="Linux Containers" pkgname=lxc version=1.0.5 -revision=5 +revision=6 build_style=gnu-configure configure_args="--enable-doc --enable-seccomp --disable-apparmor --with-distro=none --with-rootfs-path=/var/lxc/containers --with-log-path=/var/lxc/log" |