Hi,
after rebuilding my live system I noticed that my non-english keyboard wasn't
set in X. Looked at xorg.conf and it was empty. It should have my preseed
options .
After searching why did this happen I saw a minor change since last month
inside /usr/share/initramfs-tools/scripts/live-bottom/21xdriver:
< if [ -n "${NOXAUTOCONFIG}" ] || [ ! -x /root/usr/bin/X ] || [ -n "${XDRIVER}"
]
---
> if [ -n "${NOXAUTOCONFIG}" ] || [ ! -x /root/usr/bin/X ] || [ -z "${XDRIVER}"
> ]
My boot options were:
initrd=/live/initrd1.img boot=live noautologin live-media-timeout=15
rootdelay=10 locale=pt_PT.UTF-8 keyb=pt vga=791 splash quickreboot quiet
username=live hostname=cruzador union=aufs BOOT_IMAGE=/live/vmlinuz1
After googling I've read this:
[ -n "${VAR}" ] ## Fails if VAR is unset or empty
[ -z "${VAR}" ] ## Succeeds if VAR is unset or empty
Then I've created a hook to put back the -n option and rebuilt the live system
again:
sed -i 's|\[ -z \"${XDRIVER}\" \]|\[ -n \"${XDRIVER}\" \]|'
/usr/share/initramfs-tools/scripts/live-bottom/21xdriver
After boot the file xorg.conf was created.
Please revert the change in 21xdriver.
Thanks.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]