diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-12-04 19:07:15 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-12-04 19:07:15 +0000 |
commit | 078fbee4e73036783aefef9401735f8b80e81bb2 (patch) | |
tree | bb1c9f34b1d8d8cb83d0bf6b5a142b1e3af59439 /appliance | |
parent | 85ba859aa8ca40299a1b6f112087138ec5dd140a (diff) | |
download | libguestfs-078fbee4e73036783aefef9401735f8b80e81bb2.tar.gz libguestfs-078fbee4e73036783aefef9401735f8b80e81bb2.tar.xz libguestfs-078fbee4e73036783aefef9401735f8b80e81bb2.zip |
appliance: Put /init in a separate supermin appliance component.
Diffstat (limited to 'appliance')
-rw-r--r-- | appliance/Makefile.am | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/appliance/Makefile.am b/appliance/Makefile.am index 0abd698e..dec1c156 100644 --- 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 \ + supermin.d/init.img \ 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 $@ + +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. |