diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-04-14 22:38:02 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-04-14 22:38:02 +0000 |
commit | 3073673d4bd545e3c5e54bb92c9b7b173b2ca921 (patch) | |
tree | dd2b7812386e2aaa4ba15a4f1775bb9f178c1ab4 /protostar | |
parent | b1781a5da105b8566e49c686ae0fb23be18eab94 (diff) | |
download | live-3073673d4bd545e3c5e54bb92c9b7b173b2ca921.tar.gz |
Make ZFS tunable
Diffstat (limited to 'protostar')
-rwxr-xr-x | protostar | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -15,7 +15,8 @@ USR_IMG=usr.img.$(echo $DATE | md5sum | cut -f1 -d ' ') ISONAME="${ISONAME:-dyson-${DIST}-${DATE}}.iso" ROOT="${TMP}/ROOT" -ROOT=/dyson/deb +BOOTSTRAPFS="${BOOTSTRAPFS:-dyson/deb}" +ROOT="/$BOOTSTRAPFS" BOOTARCH="${ROOT}/boot_archive" # Move files from usr to usr1, @@ -41,8 +42,8 @@ if [ -z "${ROOT}" ] || [ "${ROOT}" = / ]; then fi rm -rf "${ROOT}"/* -if zfs list dyson/deb@init; then - zfs rollback dyson/deb@init +if zfs list "${BOOTSTRAPFS}@init"; then + zfs rollback "${BOOTSTRAPFS}@init" else echo "Preparing base system (debootstrap)..." |