Enable keymap code when keymap is set on the kernel command line. This is genkernel 3.4.10_pre10 for testing.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@671 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Chris Gianelloni 17 years ago
parent afc2688b2a
commit fd7e13ec87

@ -2,6 +2,11 @@
# Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2 # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
25 Apr 2008; Chris Gianelloni <wolf31o2@gentoo.org>
generic/initrd.scripts, genkernel:
Enable keymap code when keymap is set on the kernel command line. This is
genkernel 3.4.10_pre10 for testing.
25 Apr 2008; Chris Gianelloni <wolf31o2@gentoo.org> 25 Apr 2008; Chris Gianelloni <wolf31o2@gentoo.org>
generic/initrd.scripts: generic/initrd.scripts:
We need to unset keymap if it doesn't match to keep from hitting an infinite We need to unset keymap if it doesn't match to keep from hitting an infinite

@ -430,6 +430,10 @@ cmdline_hwopts() {
then then
MY_HWOPTS="`echo ${MY_HWOPTS} | sed -e \"s/${x}//g\" -`" MY_HWOPTS="`echo ${MY_HWOPTS} | sed -e \"s/${x}//g\" -`"
fi fi
if [ "$(echo ${y} | cut -b -7)" = "keymap=" ]
then
MY_HWOPTS="${MY_HWOPTS} dokeymap"
fi
done done
done done

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
PATH="${PATH}:/sbin:/usr/sbin" PATH="${PATH}:/sbin:/usr/sbin"
GK_V='3.4.10_pre9' GK_V='3.4.10_pre10'
# Set the default for TMPDIR. May be modified by genkernel.conf or the # Set the default for TMPDIR. May be modified by genkernel.conf or the
# --tempdir command line option. # --tempdir command line option.

Loading…
Cancel
Save