Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 9644d525 authored by Robert Nelson's avatar Robert Nelson
Browse files

chroot: fix bashism

possible bashism in scripts/chroot.sh line 235 (should be 'b = a'):
	if [ "x${deb_arch}" == "xarmel" ] || [ "x${deb_arch}" == "xarmhf" ] ; then
possible bashism in scripts/chroot.sh line 238 (should be 'b = a'):
	if [ "x${deb_arch}" == "xarm64" ] ; then

fixes: https://github.com/RobertCNelson/omap-image-builder/issues/64



Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 0ad70d5b
No related merge requests found
...@@ -232,10 +232,10 @@ trap chroot_stopped EXIT ...@@ -232,10 +232,10 @@ trap chroot_stopped EXIT
check_defines check_defines
if [ "x${host_arch}" != "xarmv7l" ] && [ "x${host_arch}" != "xaarch64" ] ; then if [ "x${host_arch}" != "xarmv7l" ] && [ "x${host_arch}" != "xaarch64" ] ; then
if [ "x${deb_arch}" == "xarmel" ] || [ "x${deb_arch}" == "xarmhf" ] ; then if [ "x${deb_arch}" = "xarmel" ] || [ "x${deb_arch}" = "xarmhf" ] ; then
sudo cp $(which qemu-arm-static) "${tempdir}/usr/bin/" sudo cp $(which qemu-arm-static) "${tempdir}/usr/bin/"
fi fi
if [ "x${deb_arch}" == "xarm64" ] ; then if [ "x${deb_arch}" = "xarm64" ] ; then
sudo cp $(which qemu-aarch64-static) "${tempdir}/usr/bin/" sudo cp $(which qemu-aarch64-static) "${tempdir}/usr/bin/"
fi fi
fi fi
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment