mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
allow /home on / in quicksetuü
This commit is contained in:
parent
20c9362a96
commit
d4df793fe9
1 changed files with 4 additions and 2 deletions
|
@ -30,8 +30,10 @@ _auto_partition() {
|
|||
[[ "${_RUNNING_ARCH}" == "riscv64" ]] && _GUID_TYPE=FFFF
|
||||
[[ "${_RUNNING_ARCH}" == "x86_64" ]] && _GUID_TYPE=8304
|
||||
sgdisk --new="${_ROOTDEV_NUM}":0:+"${_ROOTDEV_SIZE}"M --typecode="${_ROOTDEV_NUM}":"${_GUID_TYPE}" --change-name="${_ROOTDEV_NUM}":ARCH_LINUX_ROOT "${_DISK}" >"${_LOG}"
|
||||
if [[ -z "${_SKIP_HOME}" ]]; then
|
||||
_progress "85" "Creating HOME partition..."
|
||||
sgdisk --new="${_HOMEDEV_NUM}":0:0 --typecode="${_HOMEDEV_NUM}":8302 --change-name="${_HOMEDEV_NUM}":ARCH_LINUX_HOME "${_DISK}" >"${_LOG}"
|
||||
fi
|
||||
sgdisk --print "${_DISK}" >"${_LOG}"
|
||||
else
|
||||
# start at sector 1 for 4k drive compatibility and correct alignment
|
||||
|
|
Loading…
Reference in a new issue