X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=appliance%2Fsupermin-make.sh.in;fp=appliance%2Fsupermin-make.sh.in;h=b993833af00e215efdd4233f62ceb0e71c42eb49;hp=0000000000000000000000000000000000000000;hb=414aa67f2bcbbc5009b92f32611aa9196836736b;hpb=eebec43a15a5de3a5b9f1281654f9cbdd44e19cf diff --git a/appliance/supermin-make.sh.in b/appliance/supermin-make.sh.in new file mode 100755 index 0000000..b993833 --- /dev/null +++ b/appliance/supermin-make.sh.in @@ -0,0 +1,33 @@ +#!/bin/bash - +# @configure_input@ +# Copyright (C) 2009 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 +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +# Build the supermin appliance. +# Read the README file! + +unset CDPATH + +set -e + +cd @top_builddir@ + +output=appliance/initramfs.@REPO@.@host_cpu@.supermin.img + +# Generate final image. +@FEBOOTSTRAP_TO_INITRAMFS@ --files=$(pwd)/appliance/supermin.incfiles initramfs > $output-t +mv $output-t $output +ls -lh $output