summaryrefslogtreecommitdiffstats
path: root/resources/utilities/grub-assemble/grub_memdisk_keymap
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-11-21 04:40:35 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-11-21 04:40:35 (EST)
commit3e1712768172e53ed02da96e1bb392edaa219de7 (patch)
treedbfc2ec9b37b430aaa232fa1e4453d75e0b3a111 /resources/utilities/grub-assemble/grub_memdisk_keymap
parent862987344403417057deb453dd73887799cb0fcb (diff)
downloadlibreboot-3e1712768172e53ed02da96e1bb392edaa219de7.zip
libreboot-3e1712768172e53ed02da96e1bb392edaa219de7.tar.gz
libreboot-3e1712768172e53ed02da96e1bb392edaa219de7.tar.bz2
buildrom-withgrub: Only include 1 keymap file in GRUB memdisk.
This is to reduce the size of the image. To accomplish this, the payload in each coreboot configuration was set to 'None', after which the buildrom-withgrub script was modified to build a new grub.elf for each image. This is fast, since building the grub.elf only takes less than a second. The alternative was to build a new coreboot ROM per keymap, which would have been slow. Other files were also modified along with this, check the diff to see everything.
Diffstat (limited to 'resources/utilities/grub-assemble/grub_memdisk_keymap')
-rwxr-xr-xresources/utilities/grub-assemble/grub_memdisk_keymap27
1 files changed, 0 insertions, 27 deletions
diff --git a/resources/utilities/grub-assemble/grub_memdisk_keymap b/resources/utilities/grub-assemble/grub_memdisk_keymap
deleted file mode 100755
index 2ef0113..0000000
--- a/resources/utilities/grub-assemble/grub_memdisk_keymap
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-
-#
-# lists keymaps
-#
-# Copyright (C) 2014 Francis Rowe <info@gluglug.org.uk>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-
-set -u -e -v
-
-for keymap in $(ls keymap/original)
-do
- printf "/boot/grub/layouts/$keymap.gkb=keymap/$keymap.gkb "
-done