Skip to content

Commit

Permalink
Update 01-run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Mar 25, 2024
1 parent 8129c8e commit 25d4016
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions stages/01-Baseimage/01-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ if [ ! -e ../../emmc ]; then
WANTEDSIZE="5632000000"
fi
else
WANTEDSIZE="9500000256"
if [[ "${OS}" != ubuntu ]]
WANTEDSIZE="9500000256"
else
WANTEDSIZE="18500000256"
echo "_______________________________________________________________________"
echo "this is the emmc-model"
echo "_______________________________________________________________________"
Expand All @@ -28,7 +31,7 @@ pushd ${STAGE_WORK_DIR}
echo "bytes"
ls -l

if [[ "${OS}" != ubuntu-x86 ]] && [[ "${OS}" != debian-X20 ]] && [[ "${OS}" != ubuntu ]]; then
if [[ "${OS}" != ubuntu-x86 ]] && [[ "${OS}" != debian-X20 ]]; then

log "Create empty image" #this will be attached to the base image to increase the size of it
dd if=/dev/zero of=temp.img bs=1 count=1 seek=$DIFFERENCE
Expand Down

0 comments on commit 25d4016

Please sign in to comment.