Merge lp:~sil2100/livecd-rootfs/dangling-vmlinuz into lp:livecd-rootfs
Proposed by
Łukasz Zemczak
Status: | Merged |
---|---|
Merged at revision: | 1710 |
Proposed branch: | lp:~sil2100/livecd-rootfs/dangling-vmlinuz |
Merge into: | lp:livecd-rootfs |
Diff against target: |
42 lines (+8/-3) 2 files modified
debian/changelog (+6/-1) live-build/auto/build (+2/-2) |
To merge this branch: | bzr merge lp:~sil2100/livecd-rootfs/dangling-vmlinuz |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Steve Langasek | Needs Fixing | ||
Review via email: mp+345679@code.launchpad.net |
Commit message
Avoid issues of hard-linking to a symbolic vmlinuz as this can lead to a dangling symlink.
Description of the change
Avoid issues of hard-linking to a symbolic vmlinuz as this can lead to a dangling symlink.
When working on raspi3 support for ubuntu-image, I was running a cross-compilation live-build through u-i of the raspi3 rootfs and noticed the build crashing on the two lines attempting to chmod a just-hardlinked $PREFIX.kernel file. Since in this case binary/boot/vmlinuz was a relative symlink, the generated hard-link was also a symlink to a non-existing path in that directory. I guess it's anyway safer to make sure we're not hard-linking in such cases.
To post a comment you must log in.