(2) If you are building from the source tarball
----------------------------------------------------------------------
+'supermin' version 4 or above is required:
+http://people.redhat.com/~rjones/supermin/
+
Do:
./configure
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
shift
arch="$(uname -m)"
-exec febootstrap-supermin-helper -f ext2 "$supermindir" "$arch" "$@"
+exec supermin-helper -f ext2 "$supermindir" "$arch" "$@"
"
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])
# 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.
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