diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-01-06 19:59:25 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-09 03:32:52 +0000 |
| commit | 70a9de6c79b916991fcbf6fcc714891592a41a8b (patch) | |
| tree | b159bb1758d634ac6058692818c1f910c41fef4c /classes/container-cross-install.bbclass | |
| parent | 3a24b69b4edf4b04b2b2a13ee9575412b014068a (diff) | |
| download | meta-virtualization-70a9de6c79b916991fcbf6fcc714891592a41a8b.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 'classes/container-cross-install.bbclass')
0 files changed, 0 insertions, 0 deletions
