+set -e
+
+if [ $(id -u) -eq 0 ]; then
+ echo "Don't run this script as root. Read instructions in script first."
+ exit 1
+fi
+
+if [ ! -e vmlinuz ]; then
+ echo "Read instructions in script first."
+ exit 1
+fi
+
+febootstrap -i bash -i coreutils fedora-10 ./minimal $1
+
+# ... but let's minimize it aggressively.
+
+echo -n "Before minimization: "; du -sh minimal
+febootstrap-minimize --all --pack-executables ./minimal
+echo -n "After minimization: "; du -sh minimal