fix extra sudo command
oginstaller/pipeline/head There was a failure building this commit Details

user-story-905
Nicolas Arenas 2024-10-29 10:54:11 +01:00
parent 471e0456eb
commit e7b3f8ae2f
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ mksquashfs $CHROOT_DIR $IMAGE_DIR/casper/filesystem.squashfs \
-comp xz -b 1M -Xdict-size 100% \
-e "var/cache/apt/archives/*" -e "root/*" -e "root/.*" -e "tmp/*" -e "tmp/.*" -e "swapfile"
printf $(du -sx --block-size=1 $CHROOT_DIR | cut -f1) | sudo tee $IMAGE_DIR/casper/filesystem.size
printf $(du -sx --block-size=1 $CHROOT_DIR | cut -f1) | tee $IMAGE_DIR/casper/filesystem.size
# Deboot strap real Ubuntu image
debootstrap --arch=amd64 --variant=minbase noble $UBUNTU_CHROOT_DIR $DEBOOT_STRAP_URL