supermin >= 4 is now required, instead of febootstrap.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 14 Mar 2013 13:24:30 +0000 (13:24 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 14 Mar 2013 13:27:24 +0000 (13:27 +0000)
README
a-fedora-appliance.spec.in
build-a-fedora-appliance.in
configure.ac
firstboot
make.sh.in

diff --git a/README b/README
index 3c09ebb..3cea48d 100644 (file)
--- a/README
+++ b/README
@@ -23,6 +23,9 @@ it for your own purposes.
 (2) If you are building from the source tarball
 ----------------------------------------------------------------------
 
+'supermin' version 4 or above is required:
+http://people.redhat.com/~rjones/supermin/
+
 Do:
 
   ./configure
index 971f610..f03c1c1 100644 (file)
@@ -29,8 +29,8 @@ Requires:       @PACKAGELIST@
 
 BuildRequires:  createrepo
 
-BuildRequires:  febootstrap >= 3.3
-Requires(post): febootstrap-supermin-helper >= 3.3
+BuildRequires:  supermin >= 4.1.1
+Requires(post): supermin-helper >= 4.1.1
 
 Requires:       qemu-kvm >= 0.12
 
index 69ca34d..d065f9d 100644 (file)
@@ -27,4 +27,4 @@ supermindir="$1"
 shift
 
 arch="$(uname -m)"
-exec febootstrap-supermin-helper -f ext2 "$supermindir" "$arch" "$@"
+exec supermin-helper -f ext2 "$supermindir" "$arch" "$@"
index b56fb92..0fc20e7 100644 (file)
@@ -47,20 +47,17 @@ udev \
 "
 AC_SUBST([PACKAGELIST])
 
-dnl Check for febootstrap >= 3.0.
-AC_CHECK_PROG([FEBOOTSTRAP],
-              [febootstrap],[febootstrap],[no])
-test "x$FEBOOTSTRAP" = "xno" &&
-    AC_MSG_ERROR([febootstrap must be installed])
-dnl febootstrap 2.x did not support the --version parameter
-$FEBOOTSTRAP --version >&AS_MESSAGE_LOG_FD 2>&1 ||
-    AC_MSG_ERROR([febootstrap >= 3.0 must be installed, your version is too old])
+dnl Check for supermin >= 4.
+AC_CHECK_PROG([SUPERMIN],
+              [supermin],[supermin],[no])
+test "x$SUPERMIN" = "xno" &&
+    AC_MSG_ERROR([supermin >= 4 must be installed])
 
-dnl Pass a febootstrap --yum-config option.
-AC_MSG_CHECKING([if user requested febootstrap --yum-config option])
+dnl Pass a supermin --yum-config option.
+AC_MSG_CHECKING([if user requested supermin --yum-config option])
 AC_ARG_WITH([yum-config],
     [AS_HELP_STRING([--with-yum-config=FILE],
-      [pass febootstrap --yum-config option @<:@default=no@:>@])],
+      [pass supermin --yum-config option @<:@default=no@:>@])],
     [YUM_CONFIG="$withval"],
     [YUM_CONFIG=no])
 AC_MSG_RESULT([$YUM_CONFIG])
index 9736c13..c888bc6 100755 (executable)
--- a/firstboot
+++ b/firstboot
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-# febootstrap doesn't run any RPM %pre or %post scripts.  For
+# supermin doesn't run any RPM %pre or %post scripts.  For
 # libguestfs this doesn't matter, but when trying to boot a real
 # distro it matters quite a bit.  This script runs once, the first
 # time the appliance boots.  It contains a selection of %post scripts
 # from important packages.
 #
 # In debootstrap, this is generated from the packages themselves.  We
-# should generate it for febootstrap too.  (XXX)
+# should generate it for supermin too.  (XXX)
 
 # There is no /etc/fstab in Fedora.  It is possibly generated by
 # Anaconda for a normal distro.  Fake one here.
index 3f21a86..928c620 100644 (file)
@@ -20,5 +20,5 @@ if [ "x@YUM_CONFIG@" != "xno" ]; then
     extra="--yum-config @YUM_CONFIG@"
 fi
 
-echo @FEBOOTSTRAP@ -v -o supermin.d --names @PACKAGELIST@ $extra
-@FEBOOTSTRAP@ -v -o supermin.d --names @PACKAGELIST@ $extra
+echo @SUPERMIN@ -v -o supermin.d --names @PACKAGELIST@ $extra
+@SUPERMIN@ -v -o supermin.d --names @PACKAGELIST@ $extra