Skip to content

Commit

Permalink
remove debug artefacts
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Storm <[email protected]>
  • Loading branch information
mstormi committed Feb 4, 2025
1 parent e030245 commit d835a34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build-image/offline-install-modifications.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d835a34

Please sign in to comment.