When installing emulators/virtualbox-ose in an ezjail-managed jail which has a readonly base including /boot, the build fails because the kernel module cant be installed. Fix: WRKSRC= ${WRKDIR}/VirtualBox-${PORTVERSION} ONLY_FOR_ARCHS= i386 amd64 @@ -56,8 +55,8 @@ VBOX_FRONTENDS= VBoxAutostart VBoxHeadless VBOX_GUEST_VER= ${PORTVERSION} -OPTIONS_DEFINE= QT4 DEBUG GUESTADDITIONS DBUS PULSEAUDIO UDPTUNNEL VDE VNC WEBSERVICE NLS X11 -OPTIONS_DEFAULT= QT4 DBUS X11 UDPTUNNEL VNC +OPTIONS_DEFINE= QT4 DEBUG GUESTADDITIONS DBUS PULSEAUDIO UDPTUNNEL VDE VNC WEBSERVICE NLS X11 KMOD +OPTIONS_DEFAULT= QT4 DBUS X11 UDPTUNNEL VNC KMOD DEBUG_DESC= Debug symbols, additional logs and assertions QT4_DESC= Build with QT4 Frontend GUESTADDITIONS_DESC= Build with Guest Additions @@ -65,6 +64,7 @@ VDE_DESC= Build with VDE support VNC_DESC= Build with VNC support WEBSERVICE_DESC= Build Webservice +KMOD_DESC= Build kernel module (disable for readonly /boot) .SHELL: path="/bin/sh" unsetenv=true @@ -168,6 +168,10 @@ PLIST_SUB+= WEB="@comment " .endif +.if ${PORT_OPTIONS:MKMOD} +RUN_DEPENDS= ${KMODDIR}/vboxdrv.ko:${PORTSDIR}/emulators/virtualbox-ose-kmod +.endif + .if ${ARCH} == i386 KMK_ARCH= freebsd.x86 PLIST_SUB+= I386=""--fiLzv2gJRPLUxgu7HgWYkzUv3x7vH7wn8ylwElpbFNM7xBRc Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- virtualbox-ose.orig/Makefile 2013-03-21 15:21:49.830910154 +0000 +++ virtualbox-ose/Makefile 2013-03-21 15:21:20.868914889 +0000 @@ -26,7 +26,6 @@ LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ xslt.2:${PORTSDIR}/textproc/libxslt \ curl.6:${PORTSDIR}/ftp/curl -RUN_DEPENDS= ${KMODDIR}/vboxdrv.ko:${PORTSDIR}/emulators/virtualbox-ose-kmod How-To-Repeat: The included patch adds a port option to disable building the kernel module
Responsible Changed From-To: freebsd-ports-bugs->vbox Over to maintainer (via the GNATS Auto Assign Tool)
----- Forwarded message from Bernhard Fröhlich <decke@bluelife.at> ----- Date: Fri, 3 May 2013 00:11:36 +0200 From: Bernhard Fröhlich <decke@bluelife.at> To: freebsd-ports-bugs@freebsd.org Cc: vbox@freebsd.org Subject: Re: ports/177202: [PATCH] emulators/virtualbox-ose option to skip building kernel module I've committed a slightly modified version of the patch to our vbox testing repository. http://redports.org/changeset/11693 -- Bernhard Fröhlich http://www.bluelife.at/ _______________________________________________ freebsd-ports-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org" ----- End forwarded message -----
Is this PR still relevant?
I think this is not relevant anymore.