git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(Commented out) Overwrite /sbin/init
[libguestfs.git]
/
make-initramfs.sh.in
diff --git
a/make-initramfs.sh.in
b/make-initramfs.sh.in
index
c739b65
..
622efe2
100755
(executable)
--- a/
make-initramfs.sh.in
+++ b/
make-initramfs.sh.in
@@
-144,6
+144,10
@@
__EOF__
@FEBOOTSTRAP_INSTALL@ initramfs init.new /init 0755 root.root
rm init.new
@FEBOOTSTRAP_INSTALL@ initramfs init.new /init 0755 root.root
rm init.new
+# Just in case the kernel isn't looking for /init, make /sbin/init
+# be our script, not the real init.
+#@FEBOOTSTRAP_RUN@ initramfs -- ln -f /init /sbin/init
+
# Copy the daemon into the filesystem.
@FEBOOTSTRAP_INSTALL@ initramfs @abs_builddir@/daemon/guestfsd /sbin/guestfsd 0755 root.root
# Copy the daemon into the filesystem.
@FEBOOTSTRAP_INSTALL@ initramfs @abs_builddir@/daemon/guestfsd /sbin/guestfsd 0755 root.root