mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 14:37:59 +00:00
Merge pull request #4641 from vpeter4/mkimage
scripts/mkimage: sync disk few more times
This commit is contained in:
commit
3763c558bf
@ -99,6 +99,7 @@ fi
|
||||
|
||||
# create filesystem on part1
|
||||
losetup -d "$LOOP"
|
||||
sync
|
||||
echo "image: creating filesystem on part1..."
|
||||
OFFSET=$(( 2048 * 512 ))
|
||||
SIZELIMIT=$(( $SYSTEM_SIZE * 1024 * 1024 ))
|
||||
@ -216,6 +217,7 @@ fi # bootloader
|
||||
|
||||
# create filesystem on part2
|
||||
losetup -d "$LOOP"
|
||||
sync
|
||||
echo "image: creating filesystem on part2..."
|
||||
OFFSET=$(( $STORAGE_PART_START * 512 ))
|
||||
SIZELIMIT=$(( $STORAGE_SIZE * 1024 * 1024 ))
|
||||
|
Loading…
x
Reference in New Issue
Block a user