X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.am;h=ced1c9bacbcd8cc291349ba8e5e31d110b1bcb1c;hb=7f2ff37315d0ac107d8a750a326794fa3a2bbc77;hp=eb43bf6801eba0e048bcd72b5c506289a6e819d7;hpb=9fdec53f99a2011e4f8393fb825f18f563e2cf57;p=a-fedora-appliance.git diff --git a/Makefile.am b/Makefile.am index eb43bf6..ced1c9b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ # a-fedora-appliance -# Copyright (C) 2011 Red Hat Inc. +# Copyright (C) 2011-2014 Red Hat Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,7 +18,6 @@ EXTRA_DIST = \ .gitignore \ a-fedora-appliance.spec \ - extra-find-requires.sh \ firstboot \ init \ make.sh.in \ @@ -27,7 +26,7 @@ EXTRA_DIST = \ CLEANFILES = *~ make.sh stamp-supermin clean-local: - rm -rf supermin.d + rm -rf supermin.d appliance.d bin_SCRIPTS = boot-a-fedora-appliance @@ -35,22 +34,20 @@ libexec_SCRIPTS = build-a-fedora-appliance fsdir = $(libdir)/a-fedora-appliance/supermin.d fs_DATA = \ - supermin.d/base.img \ - supermin.d/init.img \ - supermin.d/hostfiles + supermin.d/base.tar.gz \ + supermin.d/init.tar.gz \ + supermin.d/packages -supermin.d/base.img supermin.d/hostfiles: stamp-supermin +supermin.d/base.tar.gz supermin.d/packages: stamp-supermin stamp-supermin: make.sh mkdir -p supermin.d - rm -f $@ supermin.d/base.img supermin.d/hostfiles + rm -f $@ supermin.d/base.tar.gz supermin.d/packages ./make.sh touch $@ -supermin.d/init.img: init firstboot +supermin.d/init.tar.gz: init firstboot mkdir -p supermin.d - rm -f $@ $@-t - echo -e "init\nfirstboot" | cpio --quiet -o -H newc > $@-t - mv $@-t $@ + tar zcf $@ $^ # This used to be a configure-generated file. However config.status # always touches the destination file, which means the appliance got @@ -63,7 +60,7 @@ make.sh: make.sh.in # For local build/testing. local-build: - ./build-a-fedora-appliance supermin.d kernel initrd root + ./build-a-fedora-appliance supermin.d appliance.d local-boot: ./boot-a-fedora-appliance --local