diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-03-11 21:11:43 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-03-11 21:11:43 +0000 |
commit | 3c55047bcfd0793dd295824778a58bb76f77ad01 (patch) | |
tree | 4782069807149e37b48cdd591e13518236913e1e | |
parent | f38ba6ce5c063cf9c544953590eca8d1912c0199 (diff) |
drop dkms support
-rwxr-xr-x | libvasile | 20 | ||||
-rwxr-xr-x | vasile | 3 |
2 files changed, 0 insertions, 23 deletions
@@ -38,7 +38,6 @@ export local chrootsrcmode="vasile --srcmode" export local isouser="root" export local isomainarch="x86_64" export local isobinmode="vasile --binmode" -export local isodkms="vasile --dkms" export local isokernelname="kernel-genkernel-"$isomainarch"-"$kernelver"" export local isoramfsname="initramfs-genkernel-"$isomainarch"-"$kernelver"" export local isoramfscmd="dracut -N -a dmsquash-live -a pollcdrom --force" @@ -116,16 +115,6 @@ chrootchecksum () { done } -dkmsmod () { - checkroot - # build and install any 3rd party kernel modules using DKMS - 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 - done - fi -} - # build functions chrootprepare () { @@ -258,11 +247,6 @@ isoservices () { done } -isomodules () { - # build and install any 3rd party kernel modules using DKMS (virtualbox-guest in our case) - chroot "$isorsynctarget" 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" @@ -310,10 +294,6 @@ prepareiso () { isousertree isochroot isostop - # build and install any 3rd party kernel modules using DKMS (virtualbox-guest in our case) - isostart - isomodules - isostop # enable live iso image system services isostart isoservices @@ -34,9 +34,6 @@ case $1 in --srcmode) srcmode ;; - --dkms) - dkmsmod - ;; --help) showhelp ;; |