This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Support type changes from directories to files and symlinks #50
Comments
More background posted to the wiki: https://github.com/clearlinux/swupd-server/wiki/Type-changes |
Can this be extended to also cover file->symlink? We have that situation in Ostro OS 1.0 -> current release for /usr/lib/ssl/openssl.cnf. I'm not sure what further work is needed besides testing; it seems to work already with swupd client 2.87. |
@pohly file->symlink is already supported. Just the directory->N type changes are unsupported at the moment. |
pohly
added a commit
to pohly/swupd-server
that referenced
this issue
Sep 20, 2017
swupd client (tested with 2.87) supports replacing an empty directory with a symlink, so the check in the server is overly restrictive. Upstream wants to invest some more work before officially supporting such a state change (clearlinux#50). In the meantime we already need to support it for updates from Ostro OS 1.0 because of /usr/lib/ssl/certs changing to a symlink. Upstream-Status: Inappropriate [Workaround] Signed-off-by: Patrick Ohly <[email protected]> %% original patch: 0001-type_change.c-allow-transition-dir-symlink.patch
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Type changes for directory->file and directory->symlink are currently not supported, but it will useful to support them.
The text was updated successfully, but these errors were encountered: