Use -u instead of -@ to pass EFI loader arguments
authorJacek Konieczny <jajcus@jajcus.net>
Thu, 24 Oct 2013 15:54:29 +0000 (17:54 +0200)
committerJacek Konieczny <jajcus@jajcus.net>
Thu, 24 Oct 2013 15:54:29 +0000 (17:54 +0200)
We need those encoded in Unicode

efi-boot-update

index 88e1d86..af62b68 100755 (executable)
@@ -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"
This page took 0.207884 seconds and 4 git commands to generate.