From c4f4c9a81ab549ba06ed02954680d34cad58bc67 Mon Sep 17 00:00:00 2001 From: Artem Smirnov Date: Tue, 21 Aug 2018 22:23:53 +0300 Subject: [PATCH] image_builder: try to fix bag --- image_builder/autobuild.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/image_builder/autobuild.sh b/image_builder/autobuild.sh index 2143e67b..23bed61d 100755 --- a/image_builder/autobuild.sh +++ b/image_builder/autobuild.sh @@ -24,6 +24,7 @@ export IMAGE_PATH="$(pwd)/image/$(basename -s ".git" ${TARGET_REPO})_${IMAGE_VER if [[ $(arch) != 'armv7l' ]]; then [[ -d '/proc/sys/fs/binfmt_misc' ]] || mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc + mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc echo ':arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm-static:' > /proc/sys/fs/binfmt_misc/register ./image_config.sh copy_to_chroot ${IMAGE_PATH} './qemu-arm-resin' '/usr/bin/qemu-arm-static' fi