mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
TBR: mount_gpt_image: fix missing guard for esp
Missing check during mkdir causes failure with -e empty. The tree broke prior to this commit, but this will break the dev build so bypassing hooks. sorry. TEST=reran build_image BUG=none TBR=adlr
This commit is contained in:
parent
61f39fb266
commit
fb48fa3500
@ -88,7 +88,8 @@ function get_gpt_partitions() {
|
||||
function mount_image() {
|
||||
mkdir -p "${FLAGS_rootfs_mountpt}"
|
||||
mkdir -p "${FLAGS_stateful_mountpt}"
|
||||
mkdir -p "${FLAGS_esp_mountpt}"
|
||||
test -n "${FLAGS_esp_mountpt}" && \
|
||||
mkdir -p "${FLAGS_esp_mountpt}"
|
||||
|
||||
# Get the partitions for the image / device.
|
||||
if [ -b ${FLAGS_from} ] ; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user