Skip to content

Commit aa31b3e

Browse files
authored
Merge pull request #50 from flatcar/kai/corner-case
postinst: Make sure Flatcar extension folder exists
2 parents b24da58 + 9b5ab35 commit aa31b3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

flatcar-postinst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ for NAME in $(grep -h -o '^[^#]*' /etc/flatcar/enabled-sysext.conf /usr/share/fl
229229
echo "Failed to download required OEM update payload" >&2
230230
exit 1
231231
fi
232+
mkdir -p /etc/flatcar/sysext
232233
mv "/var/lib/update_engine/flatcar-${NAME}.raw" "/etc/flatcar/sysext/flatcar-${NAME}-${NEXT_VERSION}.raw"
233234
done
234235

0 commit comments

Comments
 (0)