[Libguestfs] [PATCH 2/2] Make the supermin appliance include local augeas lenses

Matthew Booth mbooth at redhat.com
Thu May 27 14:47:51 UTC 2010


---
 appliance/Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/appliance/Makefile.am b/appliance/Makefile.am
index 72dfc71..655bd2f 100644
--- a/appliance/Makefile.am
+++ b/appliance/Makefile.am
@@ -91,6 +91,9 @@ stamp-supermin: $(INITRAMFSIMG)
 	mkdir -p supermin.d
 	rm -f $@ supermin.d/base.img supermin.d/hostfiles
 	febootstrap-to-supermin $(top_builddir)/initramfs supermin.d/base.img supermin.d/hostfiles
+	if grep -q /usr/share/augeas/lenses supermin.d/hostfiles; then \
+		echo "./usr/share/augeas/lenses/*.aug" >> supermin.d/hostfiles; \
+	fi
 	touch $@
 
 supermin.d/daemon.img: $(INITRAMFSIMG)
-- 
1.7.0.1




More information about the Libguestfs mailing list