You've already forked Raspberry-Pi-Image-Tool
1
Raspberry Pi Image Tool / Raspberry Pi Image Tool (arm64, cicd.trixie, trixie noble, main) (push) Successful in 13s
Raspberry Pi Image Tool / Raspberry Pi Image Tool (arm64, cicd.trixie, trixie noble, main) (push) Successful in 13s
This commit is contained in:
@@ -572,7 +572,7 @@ function mount_storage () {
|
||||
output "Mount '${STORAGE_REALPATH}1' ..."
|
||||
ESP_MOUNTPOINT=$(
|
||||
/usr/bin/grep '/boot' "/mnt/${STORAGE_BASENAME}/etc/fstab" | \
|
||||
/usr/bin/mawk '$1 !~ /^#/ && $2 ~ /^[/]/ {print $2}'
|
||||
/usr/bin/awk '$1 !~ /^#/ && $2 ~ /^[/]/ {print $2}'
|
||||
) || \
|
||||
error "\r\rMount '${STORAGE_REALPATH}1' [ERROR]\n" \
|
||||
" => The mount point could not be determined from 'fstab'.\n"
|
||||
@@ -602,7 +602,7 @@ function mount_image () {
|
||||
" => The device '${LOOP_DEVICE_REALPATH}p2' could not be mounted in '/mnt/${LOOP_DEVICE_BASENAME}'.\n"
|
||||
output "\r\rMount '${LOOP_DEVICE_REALPATH}p2' [OK]\n"
|
||||
output "Prepare mount point for '${LOOP_DEVICE_REALPATH}p1' ..."
|
||||
ESP_MOUNTPOINT=$(/usr/bin/grep '/boot' "/mnt/${LOOP_DEVICE_BASENAME}/etc/fstab" | /usr/bin/mawk '$1 !~ /^#/ && $2 ~ /^[/]/ {print $2}') || \
|
||||
ESP_MOUNTPOINT=$(/usr/bin/grep '/boot' "/mnt/${LOOP_DEVICE_BASENAME}/etc/fstab" | /usr/bin/awk '$1 !~ /^#/ && $2 ~ /^[/]/ {print $2}') || \
|
||||
error "\r\rPrepare mount point for '${LOOP_DEVICE_REALPATH}p1' [ERROR]\n" \
|
||||
" => The mount point could not be determined from 'fstab'.\n"
|
||||
/usr/bin/install --directory "/mnt/${LOOP_DEVICE_BASENAME}${ESP_MOUNTPOINT}" || \
|
||||
|
||||
Reference in New Issue
Block a user