[scripts] remove nouveau blacklist if proprietary drivers are not on the image
This commit is contained in:
parent
4e2fe44e57
commit
7511099e4b
@ -107,6 +107,10 @@ setup_oss_gfx_drivers() {
|
|||||||
# This file is polled by the txt.cfg
|
# This file is polled by the txt.cfg
|
||||||
# (isolinux config file) setup script
|
# (isolinux config file) setup script
|
||||||
touch /.enable_kms
|
touch /.enable_kms
|
||||||
|
|
||||||
|
# Remove nouveau from blacklist
|
||||||
|
sed -i ":^blacklist: s:blacklist nouveau:# blacklist nouveau:g" \
|
||||||
|
/etc/modprobe.d/blacklist.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
has_proprietary_drivers() {
|
has_proprietary_drivers() {
|
||||||
|
Loading…
Reference in New Issue
Block a user