lxc: lxc-void: try to fix empty XBPS_ARCH.
This commit is contained in:
parent
213261db33
commit
f80993040e
|
@ -104,9 +104,9 @@ install_void() {
|
||||||
hostname=$3
|
hostname=$3
|
||||||
arch=$4
|
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}
|
export XBPS_ARCH=${arch}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ _desc="Linux Containers"
|
||||||
|
|
||||||
pkgname=lxc
|
pkgname=lxc
|
||||||
version=1.0.5
|
version=1.0.5
|
||||||
revision=5
|
revision=6
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-doc --enable-seccomp --disable-apparmor --with-distro=none
|
configure_args="--enable-doc --enable-seccomp --disable-apparmor --with-distro=none
|
||||||
--with-rootfs-path=/var/lxc/containers --with-log-path=/var/lxc/log"
|
--with-rootfs-path=/var/lxc/containers --with-log-path=/var/lxc/log"
|
||||||
|
|
Loading…
Reference in New Issue