sudo env DEVICE=rpi-3-b OS=raspbian-buster-armhf ENABLE_MENDER=true MENDER_DATA_SIZE=512 ./pieman.sh
...
...
...
cp: error writing 'build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/mount_point/boot/zImage': No space left on device
Info: unmounting build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/mount_point
Info: build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/chroot/proc is not a mount point
Info: build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/chroot/sys is not a mount point
Info: build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/chroot/dev/pts is not a mount point
Info: build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/chroot/dev is not a mount point
Info: build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/chroot/tmp is not a mount point
++ rm -f /tmp/firstboot-ed44955b-c6fa-414e-b2d2-a50dcf48fc22.sh
++ rm -f /tmp/atomatically-generated-keyring-for-ed44955b-c6fa-414e-b2d2-a50dcf48fc22.gpg
++ check_if_variable_is_set LOOP_DEV
++ var_name=LOOP_DEV
++ '[' -z x ']'
++ true
++ losetup -d /dev/loop5
++ remove_temporary_dirs
++ local target=build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22
++ false
++ rm -rf build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22
++ set +x
Same with Docker
sudo env DEVICE=rpi-3-b OS=raspbian-buster-armhf ENABLE_MENDER=true MENDER_DATA_SIZE=512 ./pieman.sh
...
...
...
cp: error writing 'build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/mount_point/boot/zImage': No space left on device
Info: unmounting build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/mount_point
Info: build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/chroot/proc is not a mount point
Info: build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/chroot/sys is not a mount point
Info: build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/chroot/dev/pts is not a mount point
Info: build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/chroot/dev is not a mount point
Info: build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22/chroot/tmp is not a mount point
++ rm -f /tmp/firstboot-ed44955b-c6fa-414e-b2d2-a50dcf48fc22.sh
++ rm -f /tmp/atomatically-generated-keyring-for-ed44955b-c6fa-414e-b2d2-a50dcf48fc22.gpg
++ check_if_variable_is_set LOOP_DEV
++ var_name=LOOP_DEV
++ '[' -z x ']'
++ true
++ losetup -d /dev/loop5
++ remove_temporary_dirs
++ local target=build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22
++ false
++ rm -rf build/ed44955b-c6fa-414e-b2d2-a50dcf48fc22
++ set +x
Same with Docker