You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This attempts to fix a regression introduced in commit
e13aa77 since this commit
the `usr/lib` target directroy is not created if the host system
does not ship any files in `usr/lib` (e.g. Alpine). This causes
initramfs images generated on such systems to not be bootable
as `lib` is a symlink to the non-existend `usr/lib` then.
The problem is the current implementation:
filepath.Dir(filepath.Join(filepath.Dir(l.src), l.target))
Would return `/usr` for `{"/lib", "usr/lib"}` and hence `/usr/lib`
was never created. I believe this was intended to be:
filepath.Join(filepath.Dir(l.src), l.target)
This commit changes this accordingly and fixes booting Booster
images on Alpine.
0 commit comments