diff options
Diffstat (limited to 'libvasile')
-rwxr-xr-x | libvasile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -247,8 +247,8 @@ isoservices () { done } -isomodules () { - # build any 3rd party kernel modules using DKMS (virtualbox-guest in our case) +isodkms () { + # prepare any 3rd party kernel modules using DKMS (virtualbox-guest in our case) if [[ -x $(which dkms) ]] ; then for i in $(dkms status | cut -d " " -f1,2 | sed -e 's/,//g' | sed -e 's/ /\//g' | sed -e 's/://g') ; do dkms install $i @@ -256,6 +256,11 @@ isomodules () { fi } +isomodules () { + # build and install any 3rd party kernel modules using DKMS (virtualbox-guest in our case) + chroot "$isosynctarget" su - "$isouser" -c isodkms +} + isochroot () { # land into a chroot env into iso image core and make adjustments, if needed einfo "DROPPING YOU TO A ROOT SHELL INTO ISO ENVIRONMENT" @@ -303,7 +308,7 @@ prepareiso () { isousertree isochroot isostop - # build any 3rd party kernel modules using DKMS (virtualbox-guest in our case) + # build and install any 3rd party kernel modules using DKMS (virtualbox-guest in our case) isostart isomodules isostop |