Fix install video drv at start

develop
parent abcde17d25
commit 76b7c6dda3

@ -499,6 +499,7 @@ class fillVars(object, glob_attr):
yield "MASK=`cl-core --method variables_show --only-value install.os_nvidia_mask 2>/dev/null`"
yield "PORTAGE=/usr/portage"
yield "OVERLAY=/var/lib/layman/calculate"
yield "WORLD=/var/lib/portage/world"
for verName,maskName,drvVer,ebuilds in info:
yield "if [[ $PKG == 'x11-drivers/{verName}' ]] " \
"&& [[ $MASK == '{maskName}' ]]"\
@ -524,6 +525,7 @@ class fillVars(object, glob_attr):
"--skip-manifest"\
.format(pkgName=packageName,
ebuild=ebuild)
yield "echo 'x11-drivers/{verName}' >>$WORLD".format(verName=verName)
yield "\texit $?"
yield "fi"
yield "exit 1"

Loading…
Cancel
Save