]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
TEST-04-FULL-SYSTEMD: fixup loadkeys keymap loading
authorHarald Hoyer <harald@redhat.com>
Tue, 7 Jul 2015 12:29:22 +0000 (14:29 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 7 Jul 2015 12:31:06 +0000 (14:31 +0200)
test/TEST-04-FULL-SYSTEMD/test.sh

index 1c12e4f08d9208502ce5349bcf53c20cbd8d126d..6ea9281650763d59490179114c9db46e1ac5e0c1 100755 (executable)
@@ -171,13 +171,18 @@ EOF
         inst /usr/lib/systemd/system/dbus.socket
         inst /usr/lib/systemd/system/dbus.service
 
+        (
+            echo "FONT=latarcyrheb-sun16"
+            echo "KEYMAP=us"
+        ) >$initrd/etc/vconsole.conf
+
         # install basic keyboard maps and fonts
         for i in \
             /usr/lib/kbd/consolefonts/eurlatgr* \
             /usr/lib/kbd/consolefonts/latarcyrheb-sun16* \
-            /usr/lib/kbd/keymaps/include/* \
-            /usr/lib/kbd/keymaps/i386/include/* \
-            /usr/lib/kbd/keymaps/i386/qwerty/us.*; do
+            /usr/lib/kbd/keymaps/{legacy/,/}include/* \
+            /usr/lib/kbd/keymaps/{legacy/,/}i386/include/* \
+            /usr/lib/kbd/keymaps/{legacy/,/}i386/qwerty/us.*; do
                 [[ -f $i ]] || continue
                 inst $i
         done
@@ -260,9 +265,9 @@ EOF
        inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
     )
     sudo $basedir/dracut.sh -l -i $TESTDIR/overlay / \
-       -a "debug systemd" \
+       -a "debug systemd i18n" \
        -I "/etc/machine-id /etc/hostname" \
-        -o "dash network plymouth lvm mdraid resume crypt i18n caps dm terminfo usrmount kernel-network-modules" \
+        -o "dash network plymouth lvm mdraid resume crypt caps dm terminfo usrmount kernel-network-modules" \
        -d "piix ide-gd_mod ata_piix btrfs sd_mod i6300esb ib700wdt" \
         --no-hostonly-cmdline -N \
        -f $TESTDIR/initramfs.testing $KVERSION || return 1