From b419b400ba8c4c7051bc5eb70db9aa334fb4e74e Mon Sep 17 00:00:00 2001 From: Artem Smirnov Date: Mon, 20 Aug 2018 18:07:19 +0300 Subject: [PATCH] image_builder: temp solution for fix mount if already mounted --- image_builder/manual.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/image_builder/manual.sh b/image_builder/manual.sh index 58d339cc..b699f24a 100755 --- a/image_builder/manual.sh +++ b/image_builder/manual.sh @@ -1,14 +1,20 @@ #! /bin/bash -set -e - DEBIAN_FRONTEND='noninteractive' LANG='C.UTF-8' LC_ALL='C.UTF-8' +# решить проблему с тем что если уже подмонтированно все +# +# mount: binfmt_misc is already mounted or /proc/sys/fs/binfmt_misc busy +# binfmt_misc is already mounted on /proc/sys/fs/binfmt_misc +# ./manual.sh: line 9: echo: write error: File exists +# 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 +set -e + apt install unzip wget BUILD_DIR=$(pwd)