X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=appliance%2Fupdate.sh.in;h=90d6394770f7adf8e01ad26ba4d79fd8779c28d2;hp=01e22b6061c6d834893324ae93e61c7b8f786375;hb=7419335e1113f28fd17b512992df22eb28cb4c05;hpb=7d3cccb66df63815f8230009b8d2fdf8965fbaa8 diff --git a/appliance/update.sh.in b/appliance/update.sh.in index 01e22b6..90d6394 100755 --- a/appliance/update.sh.in +++ b/appliance/update.sh.in @@ -28,7 +28,7 @@ if [ "@DIST@" = "REDHAT" ]; then output=appliance/initramfs.@REPO@.@host_cpu@.img # Create the init script. - @FEBOOTSTRAP_INSTALL@ initramfs appliance/init /init 0755 root.root + @FEBOOTSTRAP_INSTALL@ initramfs appliance/@top_srcdir@/appliance/init /init 0755 root.root # Copy the daemon into the filesystem. @FEBOOTSTRAP_INSTALL@ initramfs daemon/guestfsd /sbin/guestfsd 0755 root.root @@ -43,7 +43,7 @@ elif [ "@DIST@" = "DEBIAN" ]; then output=initramfs.@REPO@.@host_cpu@.img vmlinuz=vmlinuz.@REPO@.@host_cpu@ + rm -f debian/debirf-libguestfs_@REPO@_.cgz ln -sf debian/debirf-libguestfs_@REPO@*.cgz $output ln -sf debian/vmlinuz-* $vmlinuz fi -