new version

This commit is contained in:
Thomas Legay 2023-07-30 22:08:46 +02:00
parent 0207fb1325
commit efdd66373e
7 changed files with 85 additions and 24 deletions

View file

@ -30,7 +30,8 @@ zdebmaker_createAppOS(){
[ -f cache/${DEBIAN_VERSION_CODENAME} ] || zdebmaker_createOS
[ "${IMAGE_SIZE}" == "" ] && IMAGE_SIZE=2
dd if=/dev/zero of=cache/${APP}.tmp bs=1G count=${IMAGE_SIZE}
# dd if=/dev/zero of=cache/${APP}.tmp bs=1G count=${IMAGE_SIZE}
truncate -s ${IMAGE_SIZE}G cache/${APP}.tmp
sudo mkfs.ext4 cache/${APP}.tmp
[ -d ${MOUNT_PATH}/${APP}/ ] || sudo mkdir -p ${MOUNT_PATH}/${APP}/