core: 添加 --installer 参数

This commit is contained in:
bin456789
2024-09-03 19:01:32 +08:00
parent 1201e429b4
commit bcf90a68ff
2 changed files with 22 additions and 5 deletions

View File

@ -1866,8 +1866,8 @@ create_part() {
parted /dev/$xda -s -- \
mklabel gpt \
mkpart '" "' fat32 1MiB 1025MiB \
mkpart '" "' ext4 1025MiB -2GiB \
mkpart '" "' ext4 -2GiB 100% \
mkpart '" "' ext4 1025MiB -3GiB \
mkpart '" "' ext4 -3GiB 100% \
set 1 boot on
update_part