Move the appliance and build scripts into new appliance/ subdirectory.
[libguestfs.git] / appliance / update-initramfs.sh.in
similarity index 87%
rename from update-initramfs.sh.in
rename to appliance/update-initramfs.sh.in
index 080cfdd..3b779f8 100755 (executable)
@@ -23,10 +23,12 @@ unset CDPATH
 
 set -e
 
 
 set -e
 
-output=initramfs.@REPO@.@host_cpu@.img
+cd @top_builddir@
+
+output=appliance/initramfs.@REPO@.@host_cpu@.img
 
 # Copy the daemon into the filesystem.
 
 # Copy the daemon into the filesystem.
-@FEBOOTSTRAP_INSTALL@ initramfs @abs_builddir@/daemon/guestfsd /sbin/guestfsd 0755 root.root
+@FEBOOTSTRAP_INSTALL@ initramfs 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