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 e8568a0 commit 5a462bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stages/01-Baseimage/01-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if [[ "${OS}" != ubuntu-x86 ]] && [[ "${OS}" != debian-X20 ]]; then
log "Enlarge the downloaded image"
cat temp.img >> IMAGE.img

if [[ "${OS}" == radxa-debian-rock5a ]] || [[ "${OS}" == radxa-debian-rock5b ]] || [[ "${OS}" == radxa-debian-rock-cm3 ]] || [[ "${OS}" == radxa-debian-rock-cm3-core3566 ]]; then
if [[ "${OS}" == ubuntu ]] || [[ radxa-debian-rock5a ]] || [[ "${OS}" == radxa-debian-rock5b ]] || [[ "${OS}" == radxa-debian-rock-cm3 ]] || [[ "${OS}" == radxa-debian-rock-cm3-core3566 ]]; then
echo "resize with parted"
echo -e "x\ne\nd\nn\n\n\n\n\nw\ny\n" | sudo gdisk IMAGE.img
sudo parted -s IMAGE.img resizepart ${ROOT_PART} 100%
Expand Down

0 comments on commit 5a462bd

Please sign in to comment.