[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#600861: [console-setup-mini] Package console-setup-mini needs to be xserver installed?



On Fri, Oct 22, 2010 at 01:30:17AM +0200, Samuel Thibault wrote:
> 
> if \
> [ "$VARIANT" = '' ] \
> && which gzip >/dev/null \
> && [ -d /usr/share/X11/xkb ] # /usr is mounted
> then
> if \
> [ ! -f /etc/console-setup/cached.kmap.gz ] \
> || [ /etc/console-setup/cached.kmap.gz \
> etc.
> 
> setupcon checks for /usr/share/X11/xkb, but console-setup-mini doesn't
> depend on xkb-data, which provides that directory.  Is that on purpose?
> If so, console-setup-mini should at least recommend it, to get it
> working by default.

Console-setup-mini doesn't need xkb-data.  The bug is in the test 
setupcon uses to see if /usr is mounted. The line

&& [ -d /usr/share/X11/xkb ] # /usr is mounted

has to be replaced by

&& [ -d /usr/share ] # /usr is mounted

Anton Zinoviev




Reply to: