Skip to content

Commit ae83322

Browse files
committed
flatcar-postinst: Explain why /usr/share/oem should be used
We move the OEM mount to /oem but for old instances this isn't used at the time they process this update. Add a comment that we should keep it as is.
1 parent 1e2598b commit ae83322

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flatcar-postinst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
set -euo pipefail
77
umask 0022
88

9+
# This instead of "/oem" works because it is a symlink to /oem on newer systems
10+
# and we keep it /usr/share/oem because that is the correct path on older systems
11+
# that process this update to the new version which will then use /oem
912
OEM_MNT="/usr/share/oem"
1013

1114
INSTALL_MNT=$(dirname "$0")

0 commit comments

Comments
 (0)