git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Inspect kernels for Linux OSes.
[libguestfs.git]
/
update-initramfs.sh.in
diff --git
a/update-initramfs.sh.in
b/update-initramfs.sh.in
index
89f629c
..
080cfdd
100755
(executable)
--- a/
update-initramfs.sh.in
+++ b/
update-initramfs.sh.in
@@
-19,15
+19,14
@@
# Update the daemon inside an existing initramfs. Avoids the
# timeconsuming rebuild.
# Update the daemon inside an existing initramfs. Avoids the
# timeconsuming rebuild.
+unset CDPATH
+
set -e
output=initramfs.@REPO@.@host_cpu@.img
# Copy the daemon into the filesystem.
set -e
output=initramfs.@REPO@.@host_cpu@.img
# Copy the daemon into the filesystem.
-cp @abs_builddir@/daemon/guestfsd initramfs/sbin/guestfsd.new
-@FEBOOTSTRAP_RUN@ initramfs -- \
- install -m 0755 -o root -g root /sbin/guestfsd.new /sbin/guestfsd
-rm initramfs/sbin/guestfsd.new
+@FEBOOTSTRAP_INSTALL@ initramfs @abs_builddir@/daemon/guestfsd /sbin/guestfsd 0755 root.root
# Generate final image.
@FEBOOTSTRAP_TO_INITRAMFS@ initramfs > $output-t
# Generate final image.
@FEBOOTSTRAP_TO_INITRAMFS@ initramfs > $output-t