summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-08-16 13:24:27 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-08-16 13:24:27 +0000
commit2c505126215f61b5564b6910fa527d7bed401283 (patch)
treee6e3a7a1281875fcb75809e1f6c8a8a80d8336ff /sys-freebsd/boot0
parentkeyword ~amd64-fbsd (diff)
downloadgentoo-2-2c505126215f61b5564b6910fa527d7bed401283.tar.gz
gentoo-2-2c505126215f61b5564b6910fa527d7bed401283.tar.bz2
gentoo-2-2c505126215f61b5564b6910fa527d7bed401283.zip
Install device.hints, bug #481152 by Yuta SATOH
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'sys-freebsd/boot0')
-rw-r--r--sys-freebsd/boot0/ChangeLog5
-rw-r--r--sys-freebsd/boot0/boot0-9.2_rc1.ebuild9
2 files changed, 12 insertions, 2 deletions
diff --git a/sys-freebsd/boot0/ChangeLog b/sys-freebsd/boot0/ChangeLog
index a3cad2141129..6696b3cf4b2f 100644
--- a/sys-freebsd/boot0/ChangeLog
+++ b/sys-freebsd/boot0/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-freebsd/boot0
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.44 2013/08/10 02:30:59 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.45 2013/08/16 13:24:27 aballier Exp $
+
+ 16 Aug 2013; Alexis Ballier <aballier@gentoo.org> boot0-9.2_rc1.ebuild:
+ Install device.hints, bug #481152 by Yuta SATOH
*boot0-9.2_rc1 (10 Aug 2013)
diff --git a/sys-freebsd/boot0/boot0-9.2_rc1.ebuild b/sys-freebsd/boot0/boot0-9.2_rc1.ebuild
index 3f608483a906..dd3e11ae9004 100644
--- a/sys-freebsd/boot0/boot0-9.2_rc1.ebuild
+++ b/sys-freebsd/boot0/boot0-9.2_rc1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/boot0-9.2_rc1.ebuild,v 1.1 2013/08/10 02:30:59 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/boot0-9.2_rc1.ebuild,v 1.2 2013/08/16 13:24:27 aballier Exp $
EAPI=2
@@ -62,4 +62,11 @@ src_compile() {
src_install() {
dodir /boot/defaults
mkinstall FILESDIR=/boot || die "mkinstall failed"
+
+ cd "${WORKDIR}/sys/$(tc-arch-kernel)/conf" || die
+ insinto /boot
+ newins GENERIC.hints device.hints
+
+ echo 'CONFIG_PROTECT="/boot/device.hints"' > "${T}"/50boot0
+ doenvd "${T}"/50boot0
}