From: Matthew Booth Date: Thu, 27 May 2010 14:47:51 +0000 (+0100) Subject: Make the supermin appliance include local augeas lenses X-Git-Tag: 1.3.18~17 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=90b3539e28c1c5ab7e6a21c0d160010444773734;p=libguestfs.git Make the supermin appliance include local augeas lenses --- diff --git a/appliance/Makefile.am b/appliance/Makefile.am index e1c9ef6..2df8a2b 100644 --- a/appliance/Makefile.am +++ b/appliance/Makefile.am @@ -90,6 +90,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)