projects
/
grml-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Replace cdn.debian.net with http.debian.net"
[grml-live.git]
/
etc
/
grml
/
fai
/
config
/
scripts
/
GRMLBASE
/
45-grub-images
diff --git
a/etc/grml/fai/config/scripts/GRMLBASE/45-grub-images
b/etc/grml/fai/config/scripts/GRMLBASE/45-grub-images
index
d6fdb5c
..
ff72e31
100755
(executable)
--- a/
etc/grml/fai/config/scripts/GRMLBASE/45-grub-images
+++ b/
etc/grml/fai/config/scripts/GRMLBASE/45-grub-images
@@
-71,7
+71,7
@@
if ifclass AMD64 ; then
exit 1
fi
exit 1
fi
- SIZE=$(du -
sk "${target}/${BOOTX64}" | awk -F" " '{print $1'}
)
+ SIZE=$(du -
-apparent-size -sk "${target}/${BOOTX64}" | awk -F" " '{print $1}'
)
SIZE=$(((($SIZE / 32 )+2)*32))
dd if=/dev/zero of="${target}/${EFI_IMG}" bs=1k count="$SIZE" 2>/dev/null
SIZE=$(((($SIZE / 32 )+2)*32))
dd if=/dev/zero of="${target}/${EFI_IMG}" bs=1k count="$SIZE" 2>/dev/null