FS#30749 - [virtualbox-source] vboxbuild remove old modules function is broken.
Attached to Project:
Community Packages
Opened by arx (arx) - Thursday, 19 July 2012, 02:08 GMT
Last edited by Sébastien Luttringer (seblu) - Tuesday, 24 July 2012, 17:23 GMT
Opened by arx (arx) - Thursday, 19 July 2012, 02:08 GMT
Last edited by Sébastien Luttringer (seblu) - Tuesday, 24 July 2012, 17:23 GMT
|
Details
Description: On line 45, the variable `mods`
"mods=("$kdir/extramodules"{drv,netadp,netflt,pci}.ko*)"
fails to expand to where virtualbox's modules are located.
It should read
"mods=("$kdir/extramodules"/vbox{drv,netadp,netflt,pci}.ko*)".
Also line 49, "rmdir -p --ignore-fail-on-non-empty "$kdir/extramodules" 2>/dev/null;" (not sure if this use to not always be the case) extramodules is a symlink, so rmdir fails to remove it. Additional info: * package version(s) virtualbox-source 4.1.18-2 Steps to reproduce: 1) # mkdir /usr/lib/modules/{2.6.1-ARCH,extramodules-2.6-ARCH} 2) # ln -s /usr/lib/modules/extramodules-2.6-ARCH /usr/lib/modules/2.6.1-ARCH/extramodules 3) # copy some vbox modules(or any files with the right names) that are already built into /usr/lib/modules/extramodules-2.6-ARCH 4) # bash -x /usr/bin/vboxbuild 5) # look at what the mod variable expands to. The rmdir is being redirected into /dev/null so the error of it telling you extramodules isn't a directory, isn't shown. |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Tuesday, 24 July 2012, 17:23 GMT
Reason for closing: Won't fix
Additional comments about closing: vboxbuild is gone.
Tuesday, 24 July 2012, 17:23 GMT
Reason for closing: Won't fix
Additional comments about closing: vboxbuild is gone.
Comment by
Sébastien Luttringer (seblu) -
Friday, 20 July 2012, 12:07 GMT
vboxbuild will be removed soon.