packages: grub: payload: cleanup line length and whitespaces.
This should contain no functional modifications. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Acked-by: Adrien 'neox' Bourmault <neox@gnu.org> neox: wrote the commit message
This commit is contained in:
parent
fe28bc3c82
commit
5d2405eb2e
|
@ -21,7 +21,8 @@
|
|||
[ "x${DEBUG+set}" = 'xset' ] && set -v
|
||||
set -u -e
|
||||
|
||||
# This is where GRUB is expected to be (outside of the grub-assemble, instead in main checkout)
|
||||
# This is where GRUB is expected to be (outside of the grub-assemble,
|
||||
# instead in main checkout)
|
||||
source "resources/grub/modules.list"
|
||||
|
||||
printf "Creating GRUB payloads and configuration files\n"
|
||||
|
@ -64,12 +65,17 @@ for keylayoutfile in resources/grub/keymap/*.gkb; do
|
|||
if [ "${keymap}" = "usqwerty" ]; then
|
||||
cp resources/grub/config/grub.cfg payload/grub/grub_usqwerty.cfg
|
||||
else
|
||||
sed "s/usqwerty/${keymap}/" < resources/grub/config/grub.cfg > payload/grub/grub_${keymap}.cfg
|
||||
sed "s/usqwerty/${keymap}/" \
|
||||
< resources/grub/config/grub.cfg \
|
||||
> payload/grub/grub_${keymap}.cfg
|
||||
fi
|
||||
|
||||
sed "s/grubtest.cfg/grub.cfg/" < payload/grub/grub_${keymap}.cfg > payload/grub/grub_${keymap}_test.cfg
|
||||
sed "s/grubtest.cfg/grub.cfg/" \
|
||||
< payload/grub/grub_${keymap}.cfg \
|
||||
> payload/grub/grub_${keymap}_test.cfg
|
||||
|
||||
printf "Generated: 'payload/grub/grub_%s.elf' and configs.'\n" "${keymap}"
|
||||
printf "Generated: 'payload/grub/grub_%s.elf' and configs.'\n" \
|
||||
"${keymap}"
|
||||
done
|
||||
|
||||
printf "Done! Check payload/grub/ to see the files.\n\n"
|
||||
|
|
Loading…
Reference in New Issue