mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-15 19:31:42 +00:00
Fixing CAPS name for fat partition to remove one warning and changing one display
This commit is contained in:
parent
ea375aa011
commit
f26b2690d3
1 changed files with 4 additions and 3 deletions
|
@ -321,7 +321,7 @@ prepare_partitions()
|
|||
# parttype[nfs] is empty
|
||||
|
||||
mkopts[ext4]='-q' # "-O journal_data_writeback" can be set here
|
||||
mkopts[fat]='-n boot'
|
||||
mkopts[fat]='-n BOOT'
|
||||
# mkopts[f2fs] is empty
|
||||
# mkopts[btrfs] is empty
|
||||
# mkopts[nfs] is empty
|
||||
|
@ -472,14 +472,15 @@ create_image()
|
|||
if [[ $(findmnt --target $CACHEDIR/mount/boot -o FSTYPE -n) == vfat ]]; then
|
||||
# fat32
|
||||
rsync -rLtWh --info=progress2,stats1 $CACHEDIR/sdcard/boot $CACHEDIR/mount
|
||||
|
||||
else
|
||||
# ext4
|
||||
rsync -aHWh --info=progress2,stats1 $CACHEDIR/sdcard/boot $CACHEDIR/mount
|
||||
|
||||
fi
|
||||
|
||||
# DEBUG: print free space
|
||||
echo
|
||||
echo "Free space:"
|
||||
display_alert "Free space:" "SD card" "info"
|
||||
df -h | grep "$CACHEDIR/" | tee -a $DEST/debug/debootstrap.log
|
||||
|
||||
# stage: write u-boot
|
||||
|
|
Loading…
Add table
Reference in a new issue