Bug 176288 - emulators/virtualbox-ose-kmod does not install in /boot/modules
Summary: emulators/virtualbox-ose-kmod does not install in /boot/modules
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Virtualbox Team (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-20 10:30 UTC by Ronald Klop
Modified: 2013-03-21 13:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald Klop 2013-02-20 10:30:00 UTC
The variable KMODDIR changed in the following commit.
Because the default in /usr/share/mk/bsd.own.mk is dependent on MODULES_WITH_WORLD which I do not have set, the modules of this port are now installed in /boot/kernel instead of /boot/modules. So they are removed after an installkernel.

http://svnweb.freebsd.org/ports/head/emulators/virtualbox-ose-kmod/Makefile?r1=309876&r2=309875&pathrev=309876

Fix: 

Revert the change of the ? in KMODDIR?=/boot/modules.
Comment 1 Ronald Klop 2013-02-20 10:59:34 UTC
Sorry, this is a duplicate of ports/175684. That one has a patch also.

Ronald.
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-02-24 04:52:59 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vbox

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2013-02-24 23:33:47 UTC
State Changed
From-To: open->closed

See ports/175684.
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-03-21 01:59:30 UTC
Author: gjb
Date: Thu Mar 21 01:59:22 2013
New Revision: 314795
URL: http://svnweb.freebsd.org/changeset/ports/314795

Log:
  Set KMODDIR to /boot/modules, since it is always defined to
  /boot/kernel otherwise.
  
  PR:		ports/175684, ports/176288
  Approved by:	vbox (maintainer timeout, nearly 2 months)

Modified:
  head/emulators/virtualbox-ose-kmod/Makefile

Modified: head/emulators/virtualbox-ose-kmod/Makefile
==============================================================================
--- head/emulators/virtualbox-ose-kmod/Makefile	Thu Mar 21 01:24:26 2013	(r314794)
+++ head/emulators/virtualbox-ose-kmod/Makefile	Thu Mar 21 01:59:22 2013	(r314795)
@@ -45,7 +45,7 @@ VIMAGE_DESC=	VIMAGE virtual networking s
 
 PLIST_SUB+=	KMODDIR=${KMODDIR:C,^/,,}
 
-KMODDIR?=	/boot/modules
+KMODDIR=	/boot/modules
 SRC_BASE?=	/usr/src
 
 VBOX_BIN=	${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE}/bin/src
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-03-21 13:16:10 UTC
Author: gjb
Date: Thu Mar 21 13:15:57 2013
New Revision: 314842
URL: http://svnweb.freebsd.org/changeset/ports/314842

Log:
  Set KMODDIR to /boot/modules, since it is always defined to
  /boot/kernel otherwise.
  
  PR:		ports/175684, ports/176288 (related to)
  Prodded by:	Nikolai Lifanov <lifanov@mail.lifanov.com>
  Approved by:	vbox (maintainer timeout, nearly 2 months)

Modified:
  head/emulators/virtualbox-ose/Makefile

Modified: head/emulators/virtualbox-ose/Makefile
==============================================================================
--- head/emulators/virtualbox-ose/Makefile	Thu Mar 21 13:03:07 2013	(r314841)
+++ head/emulators/virtualbox-ose/Makefile	Thu Mar 21 13:15:57 2013	(r314842)
@@ -70,7 +70,7 @@ WEBSERVICE_DESC=	Build Webservice
 
 .include <bsd.port.options.mk>
 
-KMODDIR?=	/boot/modules
+KMODDIR=	/boot/modules
 
 PLIST_SUB+=	PYTHON_VER=${PYTHON_VER} \
 		PYTHON_VERU=${PYTHON_VER:S/./_/} \
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"