mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix GPT on BIOS system fstab
This commit is contained in:
parent
bd6144a8e9
commit
7ed1439f7a
1 changed files with 5 additions and 9 deletions
|
@ -484,15 +484,11 @@ _mkfs() {
|
|||
_FSUUID="$(_getfsuuid "${1}")"
|
||||
#shellcheck disable=SC2155
|
||||
_FSLABEL="$(_getfslabel "${1}")"
|
||||
if [[ -n "${_UEFI_BOOT}" ]]; then
|
||||
#shellcheck disable=SC2155
|
||||
_PARTUUID="$(_getpartuuid "${1}")"
|
||||
#shellcheck disable=SC2155
|
||||
_PARTLABEL="$(_getpartlabel "${1}")"
|
||||
echo "# DEVICE DETAILS: ${1} PARTUUID=${_PARTUUID} PARTLABEL=${_PARTLABEL} UUID=${_FSUUID} LABEL=${_FSLABEL}" >> /tmp/.device-names
|
||||
else
|
||||
echo "# DEVICE DETAILS: ${1} UUID=${_FSUUID} LABEL=${_FSLABEL}" >> /tmp/.device-names
|
||||
fi
|
||||
# add to temp fstab
|
||||
if [[ "${_NAME_SCHEME_PARAMETER}" == "FSUUID" ]]; then
|
||||
if [[ -n "${_FSUUID}" ]]; then
|
||||
|
|
Loading…
Reference in a new issue