Skip to content

Commit

Permalink
setup: remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
marcone committed Dec 18, 2024
1 parent bbf0c76 commit d42eef0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions setup/generic/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ lastpart=$(sfdisk -q -l "$rootdev" | tail +2 | sort -n -k 2 | tail -1 | awk '{pr

# Check if there is sufficient unpartitioned space after the last
# partition to create the backingfiles and mutable partitions.
# TODO: provide a way to skip this, to support having boot+root on
# eMMC or sd card, and storage elsewhere
unpart=$(sfdisk -F "$rootdev" | grep -o '[0-9]* bytes' | head -1 | awk '{print $1}')
if [ "${1:-}" != "norootshrink" ] && [ "$unpart" -lt $(( (1<<30) * 32)) ]
then
Expand Down

0 comments on commit d42eef0

Please sign in to comment.