git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
85ba859
)
appliance: Put /init in a separate supermin appliance component.
author
Richard W.M. Jones
<rjones@redhat.com>
Sat, 4 Dec 2010 19:07:15 +0000
(19:07 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Sat, 4 Dec 2010 19:07:15 +0000
(19:07 +0000)
appliance/Makefile.am
patch
|
blob
|
history
diff --git
a/appliance/Makefile.am
b/appliance/Makefile.am
index
0abd698
..
dec1c15
100644
(file)
--- a/
appliance/Makefile.am
+++ b/
appliance/Makefile.am
@@
-43,6
+43,7
@@
fs_DATA += kmod.whitelist
superminfs_DATA = \
supermin.d/base.img \
supermin.d/daemon.img \
superminfs_DATA = \
supermin.d/base.img \
supermin.d/daemon.img \
+ supermin.d/init.img \
supermin.d/hostfiles
endif
supermin.d/hostfiles
endif
@@
-101,6
+102,14
@@
supermin.d/daemon.img: $(INITRAMFSIMG)
(cd $(top_builddir)/initramfs && \
echo -e "sbin\nsbin/guestfsd" | cpio --quiet -o -H newc ) > $@-t
mv $@-t $@
(cd $(top_builddir)/initramfs && \
echo -e "sbin\nsbin/guestfsd" | cpio --quiet -o -H newc ) > $@-t
mv $@-t $@
+
+supermin.d/init.img: $(INITRAMFSIMG)
+ mkdir -p supermin.d
+ rm -f $@ $@-t
+ (cd $(top_builddir)/initramfs && \
+ echo -e "init\n" | cpio --quiet -o -H newc ) > $@-t
+ mv $@-t $@
+
endif
# Extra symlinks needed by the Debian appliance.
endif
# Extra symlinks needed by the Debian appliance.