summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-03-24 01:07:01 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-03-24 01:07:01 +0000
commitc016c891966a63fd5992515c130823ae01af208c (patch)
tree8937baf22c073e47719ce4a0d06a215be2aec952 /etc
parent2596eb88477d4a1847f50aaf9f487a1b3c26429d (diff)
downloadsrc-test-c016c891966a63fd5992515c130823ae01af208c.tar.gz
src-test-c016c891966a63fd5992515c130823ae01af208c.zip
pkgbase: Move device.hints from the runtime to the bootloader package
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). Reported by: pizzamig Reviewed by: bapt pizzamig emaste Differential Revision: https://reviews.freebsd.org/D24159
Notes
Notes: svn path=/head/; revision=359265
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile
index dbb53309dca69..683523ff15fc3 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -93,7 +93,7 @@ distribution:
.if ${MK_BOOT} != "no"
.if exists(${SRCTOP}/sys/${MACHINE}/conf/GENERIC.hints)
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
- -T "package=runtime" \
+ -T "package=bootloader,config" \
${SRCTOP}/sys/${MACHINE}/conf/GENERIC.hints \
${DESTDIR}/boot/device.hints
.endif