[PATCH] mki-copy-efiboot: added EFI_BOOTARGS support

Michael Shigorin mike на altlinux.org
Пт Мар 6 22:52:41 MSK 2015


Things like "quiet splash" or "live_rw" could be passed there.
---
 tools/mki-copy-efiboot | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/mki-copy-efiboot b/tools/mki-copy-efiboot
index 82c9480..01cf9d5 100755
--- a/tools/mki-copy-efiboot
+++ b/tools/mki-copy-efiboot
@@ -142,7 +142,7 @@ copy_kernel() {
 	cp $verbose -lpLft \$boot -- syslinux/alt0/{vmlinuz,full.cz}
 }
 
-kargs="fastboot live lowmem showopts automatic=method:cdrom"
+kargs="fastboot live lowmem showopts automatic=method:cdrom ${EFI_BOOTARGS:-}"
 
 copy_elilo() {
 	cp $verbose -pLf \$efi_bindir/elilo.efi \${1:-\$bin_path}
-- 
2.1.4


--tThc/1wpZn/ma/RB--


Подробная информация о списке рассылки Devel