mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
make.sh calls update.sh directly.
Combine the common tail of make.sh and update.sh so that make just calls update at the end directly. The effect is the same.
This commit is contained in:
@@ -169,11 +169,8 @@ rm init.new
|
||||
# be our script, not the real init.
|
||||
#@FEBOOTSTRAP_RUN@ initramfs -- ln -f /init /sbin/init
|
||||
|
||||
# Copy the daemon into the filesystem.
|
||||
@FEBOOTSTRAP_INSTALL@ initramfs daemon/guestfsd /sbin/guestfsd 0755 root.root
|
||||
|
||||
# Generate final image.
|
||||
@FEBOOTSTRAP_TO_INITRAMFS@ initramfs > $output-t
|
||||
mv $output-t $output
|
||||
ls -lh $output
|
||||
ls -lh $koutput
|
||||
|
||||
# Now directly run the update script to copy/update the daemon in the
|
||||
# initramfs.
|
||||
cd appliance && bash update.sh
|
||||
|
||||
Reference in New Issue
Block a user