[Bug 1804183] Re: netronome firmware symlinks are overwritten by package upgrade
[Expired for linux-firmware (Ubuntu) because there has been no activity for 60 days.] ** Changed in: linux-firmware (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1804183 Title: netronome firmware symlinks are overwritten by package upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1804183/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1804183] Re: netronome firmware symlinks are overwritten by package upgrade
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1804183 Title: netronome firmware symlinks are overwritten by package upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1804183/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1804183] Re: netronome firmware symlinks are overwritten by package upgrade
This seems like a bit of an abuse of conffiles, as those files aren't really intended for user modification. It seems like this is a pretty niche use case that doesn't apply to the vast majority of users. Have you looked at dpkg-divert? This can be used to force packages to install specific files to a diverted location. For example, 'dpkg-divert --add --rename --divert /lib/firmware/nic_AMDA0058-0011_2x40.nffw.foo /lib/firmware/nic_AMDA0058-0011_2x40.nffw' should cause the nic_AMDA0058-0011_2x40.nffw file from linux-firmware updates to be written to nic_AMDA0058-0011_2x40.nffw.foo. https://debian-administration.org/article/118 /Replacing_binaries_with_dpkg-divert ** Changed in: linux-firmware (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1804183 Title: netronome firmware symlinks are overwritten by package upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1804183/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1804183] Re: netronome firmware symlinks are overwritten by package upgrade
Hi, Netronome would like to propose the following fix, which is to mark the symlinks as conffiles. This produces a debian package which does not overwrite the symlinks when installed. ** Patch added: "0001-UBUNTU-Mark-netronome-firmware-symlinks-as-config-fi.patch" https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1804183/+attachment/5270366/+files/0001-UBUNTU-Mark-netronome-firmware-symlinks-as-config-fi.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1804183 Title: netronome firmware symlinks are overwritten by package upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1804183/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs