-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app: Make
/var/usrlocal
and /var/opt
compat symlinks in state ove…
…rlay model Newly provisioned nodes don't have state to migrate yet, so they can start with the new model right away when provisioning from an image that turned on `opt-usrlocal-overlays`. Upgrading nodes have had the legacy directories created a long time ago and systemd-tmpfiles will not replace them (we're using `L`, not `L+`).
- Loading branch information
Showing
8 changed files
with
58 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Traditionally, /usr/local has been a link to /var/usrlocal and /opt to /var/opt. | ||
# A new model now is to allow OSTree commit content in those directories. For | ||
# backwards compatibility, we keep the /var paths but flip the symlinks around. | ||
L /var/usrlocal - - - - ../usr/local | ||
L /var/opt - - - - ../usr/lib/opt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# Traditionally, /usr/local has been a link to /var/usrlocal and /opt to /var/opt. | ||
# A new model now is to allow OSTree commit content in those directories. But | ||
# this dropin implements the old model. | ||
d /var/opt 0755 root root - | ||
d /var/usrlocal 0755 root root - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters