From 3e1712768172e53ed02da96e1bb392edaa219de7 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Fri, 21 Nov 2014 04:40:35 -0500 Subject: 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. --- (limited to 'resources/utilities/grub-assemble/grub_memdisk_keymap') 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 -# -# 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 . -# - -set -u -e -v - -for keymap in $(ls keymap/original) -do - printf "/boot/grub/layouts/$keymap.gkb=keymap/$keymap.gkb " -done -- cgit v0.9.1