forked from srbala/fedora-kickstarts
Fix xdriver= passing. Patch from Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
6e1f238145
commit
b500cb3bb9
@ -275,7 +275,7 @@ for o in \`cat /proc/cmdline\` ; do
|
|||||||
ks="--kickstart=\${o#ks=}"
|
ks="--kickstart=\${o#ks=}"
|
||||||
;;
|
;;
|
||||||
xdriver=*)
|
xdriver=*)
|
||||||
xdriver="--set-driver=\${o#xdriver=}"
|
xdriver="\${o#xdriver=}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
@ -348,7 +348,12 @@ fi
|
|||||||
|
|
||||||
# configure X, allowing user to override xdriver
|
# configure X, allowing user to override xdriver
|
||||||
if [ -n "\$xdriver" ]; then
|
if [ -n "\$xdriver" ]; then
|
||||||
exists system-config-display --noui --reconfig --set-depth=24 \$xdriver
|
cat > /etc/X11/xorg.conf.d/00-xdriver.conf <<FOE
|
||||||
|
Section "Device"
|
||||||
|
Identifier "Videocard0"
|
||||||
|
Driver "\$xdriver"
|
||||||
|
EndSection
|
||||||
|
FOE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
@ -342,7 +342,7 @@ for o in \`cat /proc/cmdline\` ; do
|
|||||||
ks="\${o#ks=}"
|
ks="\${o#ks=}"
|
||||||
;;
|
;;
|
||||||
xdriver=*)
|
xdriver=*)
|
||||||
xdriver="--set-driver=\${o#xdriver=}"
|
xdriver="\${o#xdriver=}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
@ -359,7 +359,12 @@ fi
|
|||||||
|
|
||||||
# configure X, allowing user to override xdriver
|
# configure X, allowing user to override xdriver
|
||||||
if [ -n "\$xdriver" ]; then
|
if [ -n "\$xdriver" ]; then
|
||||||
exists system-config-display --noui --reconfig --set-depth=24 \$xdriver
|
cat > /etc/X11/xorg.conf.d/00-xdriver.conf <<FOE
|
||||||
|
Section "Device"
|
||||||
|
Identifier "Videocard0"
|
||||||
|
Driver "\$xdriver"
|
||||||
|
EndSection
|
||||||
|
FOE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user