mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
aarch64 only has 3 partitions
This commit is contained in:
parent
efd959e414
commit
b708e4515d
1 changed files with 3 additions and 1 deletions
|
@ -274,7 +274,9 @@ _unify_gpt_partitions() {
|
|||
# --> 62: hide all partitions, Windows cannot access any files on this ISO
|
||||
# Windows will now only error on 1 drive and not on all partitions
|
||||
# --> 63: disable freedesktop/systemd automount by default on this ISO
|
||||
for i in 1 2 3 4; do
|
||||
echo "${_BASENAME}" | grep -qw aarch64 && _SEQ="1 2 3"
|
||||
echo "${_BASENAME}" | grep -qw x86_64 && _SEQ="1 2 3 4"
|
||||
for i in ${_SEQ}; do
|
||||
sfdisk -q --part-attrs "${_IMAGENAME}.iso" "${i}" "RequiredPartition,60,62,63"
|
||||
sfdisk -q --part-uuid "${_IMAGENAME}.iso" "${i}" "${i}0000000-0000-0000-0000-000000000000"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue