mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
busybox-initramfs: some better descriptions
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
7e4af5d0ab
commit
8c5eecfb37
@ -441,17 +441,17 @@
|
||||
# /flash is filesystem with system image file
|
||||
# use dd and mkfs.ext4 from system
|
||||
mount_part "/flash/$IMAGE_SYSTEM" "/sysroot" "ro,loop"
|
||||
echo "Creating empty file..."
|
||||
echo "Creating empty file, this can take a long time..."
|
||||
/sysroot/bin/busybox dd if=/dev/zero of="$storage_loop_file" bs=1M count=$STORAGE_USE &>/dev/null
|
||||
echo "Formating to EXT4 filesystem..."
|
||||
echo "Formating to EXT4 filesystem, this can take a long time..."
|
||||
LD_LIBRARY_PATH=/sysroot/usr/lib /sysroot/usr/bin/mkfs.ext4 -F -L StorageLive "$storage_loop_file" &>/dev/null
|
||||
/bin/busybox sync
|
||||
umount /sysroot
|
||||
else
|
||||
# /flash is actual root filesystem
|
||||
echo "Creating empty file..."
|
||||
echo "Creating empty file, this can take a long time..."
|
||||
/flash/bin/busybox dd if=/dev/zero of="$storage_loop_file" bs=1M count=$STORAGE_USE &>/dev/null
|
||||
echo "Formating to EXT4 filesystem..."
|
||||
echo "Formating to EXT4 filesystem, this can take a long time..."
|
||||
LD_LIBRARY_PATH=/flash/usr/lib /flash/usr/bin/mkfs.ext4 -F -L StorageLive "$storage_loop_file" &>/dev/null
|
||||
/bin/busybox sync
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user