git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fuse: Add tests for guestmount.
[libguestfs.git]
/
appliance
/
libguestfs-supermin-helper.in
diff --git
a/appliance/libguestfs-supermin-helper.in
b/appliance/libguestfs-supermin-helper.in
index
e521020
..
69f22e4
100755
(executable)
--- a/
appliance/libguestfs-supermin-helper.in
+++ b/
appliance/libguestfs-supermin-helper.in
@@
-44,8
+44,8
@@
for f in $kernels; do
b=$(echo "$b" | sed 's,vmlinuz-,,')
modpath="/lib/modules/$b"
if [ -d "$modpath" ]; then
b=$(echo "$b" | sed 's,vmlinuz-,,')
modpath="/lib/modules/$b"
if [ -d "$modpath" ]; then
- ln -sf "$f" "$kernel"
- break
+
ln -sf "$f" "$kernel"
+
break
fi
modpath=
done
fi
modpath=
done
@@
-83,4
+83,4
@@
find "$modpath" \( -not -name '*.ko' $whitelist \) -a -print0 |
ls -1df $(
cat "$sourcedir"/initramfs.@REPO@.@host_cpu@.supermin.hostfiles
) 2>/dev/null |
ls -1df $(
cat "$sourcedir"/initramfs.@REPO@.@host_cpu@.supermin.hostfiles
) 2>/dev/null |
- cpio --quiet -o -H newc ) >> "$initrd"
+ cpio -
C 65536 -
-quiet -o -H newc ) >> "$initrd"