mirror of
https://github.com/sipeed/LicheeRV-Nano-Build.git
synced 2026-09-11 05:09:56 -05:00
Update rootfs resize
rootfs can be scaled only in the boot script
This commit is contained in:
0
ramdisk/initramfs/musl_riscv64/busybox
Executable file → Normal file
0
ramdisk/initramfs/musl_riscv64/busybox
Executable file → Normal file
0
ramdisk/initramfs/musl_riscv64/e2fsck
Executable file → Normal file
0
ramdisk/initramfs/musl_riscv64/e2fsck
Executable file → Normal file
12
ramdisk/initramfs/musl_riscv64/init
Executable file → Normal file
12
ramdisk/initramfs/musl_riscv64/init
Executable file → Normal file
@@ -91,12 +91,12 @@ then
|
||||
fi
|
||||
|
||||
mkdir /realroot
|
||||
parted -s /dev/mmcblk0 "resizepart 2 -0"
|
||||
echo "yes
|
||||
100%
|
||||
" | parted ---pretend-input-tty /dev/mmcblk0 "resizepart 2 100%"
|
||||
#e2fsck -fvp /dev/mmcblk0p2
|
||||
resize2fs /dev/mmcblk0p2
|
||||
# parted -s /dev/mmcblk0 "resizepart 2 -0"
|
||||
# echo "yes
|
||||
# 100%
|
||||
# " | parted ---pretend-input-tty /dev/mmcblk0 "resizepart 2 100%"
|
||||
# #e2fsck -fvp /dev/mmcblk0p2
|
||||
# resize2fs /dev/mmcblk0p2
|
||||
mount -o rw /dev/mmcblk0p2 /realroot
|
||||
mfail="$?"
|
||||
|
||||
|
||||
0
ramdisk/initramfs/musl_riscv64/libc.so
Executable file → Normal file
0
ramdisk/initramfs/musl_riscv64/libc.so
Executable file → Normal file
BIN
ramdisk/initramfs/musl_riscv64/parted
Executable file → Normal file
BIN
ramdisk/initramfs/musl_riscv64/parted
Executable file → Normal file
Binary file not shown.
BIN
ramdisk/initramfs/musl_riscv64/resize2fs
Executable file → Normal file
BIN
ramdisk/initramfs/musl_riscv64/resize2fs
Executable file → Normal file
Binary file not shown.
Reference in New Issue
Block a user