[packages/efi-boot-update] Use -u instead of -@ to pass EFI loader arguments

jajcus jajcus at pld-linux.org
Thu Oct 24 21:38:25 CEST 2013


commit eb7707366c8804ef09cba0c43a3a42054a406f48
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Thu Oct 24 17:54:29 2013 +0200

    Use -u instead of -@ to pass EFI loader arguments
    
    We need those encoded in Unicode

 efi-boot-update | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/efi-boot-update b/efi-boot-update
index 88e1d86..af62b68 100755
--- a/efi-boot-update
+++ b/efi-boot-update
@@ -143,11 +143,11 @@ add_bootmgr_entry () {
     binary="$(echo -nE "$binary"|sed -e's;/;\\;g')"
 
     if [ -n "$bootnum" ] ; then
-        echo -n "$args" | verbose_cmd $EFIBOOTMGR $EFIBOOTMGR_OPTS --quiet \
-                            --bootnum "$bootnum" --loader "$binary" -@ -
+        verbose_cmd $EFIBOOTMGR $EFIBOOTMGR_OPTS --quiet \
+                            --bootnum "$bootnum" --loader "$binary" -u "$args"
     else
-        echo -n "$args" | verbose_cmd $EFIBOOTMGR $EFIBOOTMGR_OPTS --create \
-                            --quiet --label "$label" --loader "$binary" -@ -
+        verbose_cmd $EFIBOOTMGR $EFIBOOTMGR_OPTS --create \
+                            --quiet --label "$label" --loader "$binary" -u "$args"
         bootnum="$(find_bootmgr_entry "$label")"
     fi
     echo -n "$bootnum"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/efi-boot-update.git/commitdiff/34a0c5933dc61abd51c721da00d365322d02841e



More information about the pld-cvs-commit mailing list