Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scripts/halium: deal with (broken) symlink in sync_dirs (#39)
This is our version of [1] from Snap's initramfs. The original commit read: > The sync_dirs() has a test -e that fails to take broken symlinks > into account. This means that symlinks that are broken when > sync_dir runs (which is a very special environment) are not > copied. This breaks e.g. the symlink snapd.snap-repair.timer > in /etc/systemd/system/timer-target.wants. In our case, we want this so that having `/etc/systemd` on writable-paths' `synced` mode works properly. [1] canonical/core-build@843b8c7 Co-authored-by: Ratchanan Srirattanamet <[email protected]>
- Loading branch information