Revision 24193,
627 bytes
checked in by broder, 15 years ago
(diff) |
Update our build infrastructure and docs to use aufs chroots instead
of LVM snapshots.
|
Rev | Line | |
---|
[24193] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | set -e |
---|
| 4 | |
---|
| 5 | if [ -f "$CHROOT_SCRIPT_CONFIG" ]; then |
---|
| 6 | . "$CHROOT_SCRIPT_CONFIG" |
---|
| 7 | fi |
---|
| 8 | |
---|
| 9 | if [ -n "${CHROOT_UNION_TYPE}" ] && [ "${CHROOT_UNION_TYPE}" != 'none' ]; then |
---|
| 10 | |
---|
| 11 | if [ $1 = "setup-start" ]; then |
---|
| 12 | mount -t tmpfs debathena ${CHROOT_UNION_OVERLAY_DIRECTORY} -o size=${TMPFS_SIZE:-10737418240} |
---|
| 13 | elif [ $1 = "setup-stop" ]; then |
---|
| 14 | if [ "$CHROOT_SESSION_PURGE" = "true" ]; then |
---|
| 15 | if [ "$AUTH_VERBOSITY" = "verbose" ]; then |
---|
| 16 | echo "Unmounting $CHROOT_UNION_OVERLAY_DIRECTORY" |
---|
| 17 | fi |
---|
| 18 | if [ -d "${CHROOT_UNION_OVERLAY_DIRECTORY}" ]; then |
---|
| 19 | umount "${CHROOT_UNION_OVERLAY_DIRECTORY}" |
---|
| 20 | fi |
---|
| 21 | fi |
---|
| 22 | fi |
---|
| 23 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.