Page MenuHomeFreeBSD

pkgbase: Move device.hints from the runtime to the bootloader package
ClosedPublic

Authored by manu on Mon, Mar 23, 10:50 AM.

Details

Summary

Also mark it as config file so if a user changes this file pkg will attempt
to merge the new file upon an update.
device.hints is neither related to runtime or loader but it make more sense
to have it in loader in case some user delete /boot/ and wants to recreate it,
now only two packages are required FreeBSD-bootloader and the kernel package.
While here change where we override the package for files installed in /boot,
this allow us to keep other tags (such as config).

Signed-off-by: Emmanuel Vadot <manu@freebsd.org>

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

manu created this revision.Mon, Mar 23, 10:50 AM
manu set the repository for this revision to rS FreeBSD src repository.
bapt accepted this revision.Mon, Mar 23, 10:57 AM
This revision is now accepted and ready to land.Mon, Mar 23, 10:57 AM
pizzamig accepted this revision.Mon, Mar 23, 11:50 AM

looks good to me

emaste accepted this revision.Mon, Mar 23, 1:02 PM

not related to you, but it seems a bit odd that /boot/device.hints is installed by /etc/Makefile

kevans added a subscriber: kevans.Mon, Mar 23, 1:03 PM

not related to you, but it seems a bit odd that /boot/device.hints is installed by /etc/Makefile

Yes, everything about device.hints is annoying: both how it's installed and coming specifically from a GENERIC.hints