summaryrefslogtreecommitdiff
path: root/protostar
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-05-01 19:14:12 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-05-01 19:14:12 +0400
commited709bfcc1ef660c628b8382ae58d765c9b6d96e (patch)
tree573c777b577c2ba68abdf0dbbe0abee845e2e55a /protostar
parentb51017bc6132443a08428932b232c7d29e503e2f (diff)
downloadlive-ed709bfcc1ef660c628b8382ae58d765c9b6d96e.tar.gz
Add drvtools,mdb-proc,mdb-kvm,dtrace; check deps before actuall work; fix BOOTSTRAPFS
Diffstat (limited to 'protostar')
-rwxr-xr-xprotostar8
1 files changed, 5 insertions, 3 deletions
diff --git a/protostar b/protostar
index 1ee8b77..a1e9ad5 100755
--- a/protostar
+++ b/protostar
@@ -3,6 +3,8 @@
set -e
set -u
+dpkg -l ufsutils genisoimage debootstrap
+
TMP="${TMP:-/var/tmp}"
DATE=$(date '+%Y-%m-%d-%H%M')
@@ -16,7 +18,7 @@ ISOLABEL="${ISOLABEL:-dyson-netinst}"
ISONAME="${ISONAME:-${ISOLABEL}-${DATE}}.iso"
ROOT="${TMP}/ROOT"
-BOOTSTRAPFS="${BOOTSTRAPFS:-dyson/deb}"
+BOOTSTRAPFS="${BOOTSTRAPFS:-rpool/deb}"
ROOT="/$BOOTSTRAPFS"
BOOTARCH="${ROOT}/boot_archive"
@@ -50,11 +52,11 @@ else
echo "Preparing base system (debootstrap)..."
debootstrap \
--exclude=locales,syslogd,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 \
+ --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 \
"${DIST}" \
"${ROOT}" \
"${REPO}"
-zfs snapshot dyson/deb@init
+zfs snapshot ${BOOTSTRAPFS}@init
fi
mkdir "$ROOT/usr/install"