UBUNTU: [Debian] postinst -- improve relative symlink detection with missing files
When the symlinks are made we attempt to use relative links if that would work. However this relies on the file we are making the link to to actually exist. When it does not we fall back to absolute. This impacts the initrd links which are made before we make the initrd itself. When the caller has asked us to use a specific handle file and that file does not yet exist, see if there are any other files we can use in that directory. In the common case this will be a version specific file and highly unique. BugLink: http://bugs.launchpad.net/bugs/1248053Signed-off-by: Andy Whitcroft <apw@canonical.com>
Showing
Please register or sign in to comment