summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xprotostar5
1 files changed, 4 insertions, 1 deletions
diff --git a/protostar b/protostar
index 175e577..d7b0286 100755
--- a/protostar
+++ b/protostar
@@ -45,13 +45,16 @@ if [ -z "${ROOT}" ] || [ "${ROOT}" = / ]; then
fi
rm -rf "${ROOT}"/*
+if ! zfs list "${BOOTSTRAPFS}"; then
+ zfs create "${BOOTSTRAPFS}"
+fi
if zfs list "${BOOTSTRAPFS}@init"; then
zfs rollback "${BOOTSTRAPFS}@init"
else
echo "Preparing base system (debootstrap)..."
debootstrap \
- --exclude=locales,rsyslog,cron,gawk,aptitude,aptitude-common,libboost-iostreams1.48.0,libboost-iostreams1.49.0,libcwidget3 \
+ --exclude=logrotate,locales,rsyslog,cron,gawk,aptitude,aptitude-common,libboost-iostreams1.48.0,libboost-iostreams1.49.0,libcwidget3 \
--include=python-newt,truss,installgrub,illumos-grub-eltorito,illumos-kernel,mc,vim,screen,openssh-client,wget,bzip2,xz-utils,debootstrap,less,file,lynx,bash-completion,drvtools,mdb-proc,mdb-kvm,dtrace,inetutils-ping,inetutils-traceroute \
"${DIST}" \
"${ROOT}" \