diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-01-06 19:59:25 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-01-21 18:00:26 -0500 |
| commit | acdfccaae86ee2e73690b56214a06cdfb56b460d (patch) | |
| tree | 74b9f875a29cf7781216ccae26762eb5ebc8ddac /conf | |
| parent | 7f08260b6e44b59c8fc40830d6b4c3713bd8edf3 (diff) | |
| download | meta-virtualization-acdfccaae86ee2e73690b56214a06cdfb56b460d.tar.gz | |
image-oci: fix symlink loop on image rebuild
Use ln -sfn instead of ln -sf to prevent creating symlinks inside
existing symlink target directories. Without -n, if the convenience
symlink (e.g., container-base-latest-oci) already exists and points
to a directory, ln -sf creates the new symlink inside that directory
rather than replacing it, resulting in a self-referencing symlink.
This manifests as "Too many levels of symbolic links" errors when
container-bundle tries to copy OCI images after a rebuild.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'conf')
0 files changed, 0 insertions, 0 deletions
