diff --git a/build-image/offline-install-modifications.bash b/build-image/offline-install-modifications.bash index 362b9e6a3..db545d65a 100755 --- a/build-image/offline-install-modifications.bash +++ b/build-image/offline-install-modifications.bash @@ -4,7 +4,7 @@ export BASEDIR="/opt/openhabian" export DEBIAN_FRONTEND="noninteractive" export PREOFFLINE="1" -set -x + debfileurl=https://davesteele.github.io/comitup/deb debfile=davesteele-comitup-apt-source debfilelatest=latest.deb diff --git a/build.bash b/build.bash index 4088602b0..ddbaadec7 100755 --- a/build.bash +++ b/build.bash @@ -151,8 +151,7 @@ offline_install_modifications() { loopPrefix="$(kpartx -asv "$imageFile" | grep -oE "loop([0-9]+)" | head -n 1)" mount -o rw -t ext4 "/dev/mapper/${loopPrefix}p2" "$mountFolder" mount -o rw -t vfat "/dev/mapper/${loopPrefix}p1" "${mountFolder}/boot" - #systemd-nspawn --directory="$2" /opt/openhabian/build-image/offline-install-modifications.bash &> /dev/null - systemd-nspawn --directory="$2" /opt/openhabian/build-image/offline-install-modifications.bash + systemd-nspawn --directory="$2" /opt/openhabian/build-image/offline-install-modifications.bash &> /dev/null sync df -h "$mountFolder" df -h "${mountFolder}/boot"