We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f9211bc + 03f754a commit a95d6d8Copy full SHA for a95d6d8
flatcar-postinst
@@ -158,6 +158,7 @@ if [ "${OEMID}" != "" ] && { [ -e "${INSTALL_MNT}/share/flatcar/oems/${OEMID}" ]
158
# We don't need to check if it's the initial MVP OEM because it's an update payload provided for a particular version
159
echo "Trying to place /var/lib/update_engine/oem-${OEMID}-${NEXT_VERSION}.raw on OEM partition" >&2
160
if ! mv "/var/lib/update_engine/oem-${OEMID}.raw" "${NEW_SYSEXT}"; then
161
+ rm -f "${NEW_SYSEXT}"
162
echo "That failed, moving it to right location on root partition" >&2
163
NEW_SYSEXT="/etc/flatcar/oem-sysext/oem-${OEMID}-${NEXT_VERSION}.raw"
164
mv "/var/lib/update_engine/oem-${OEMID}.raw" "${NEW_SYSEXT}"
0 commit comments