diff options
| author | Dave Reisner <d@falconindy.com> | 2010-01-15 11:06:44 -0500 |
|---|---|---|
| committer | Dave Reisner <d@falconindy.com> | 2010-01-15 11:06:44 -0500 |
| commit | faf2c7501bd4052e0781b803e0acc219bac95b6a (patch) | |
| tree | cd4b02b8209d41c30d70e3a0925b338aa0b25a27 /squashfu | |
| parent | 908a308db05b3d10f55a58a0898e26f9fb3a7af0 (diff) | |
| download | squashfu-faf2c7501bd4052e0781b803e0acc219bac95b6a.tar.gz | |
Be a little more verbose about creating initial squash
Diffstat (limited to 'squashfu')
| -rwxr-xr-x | squashfu | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -28,7 +28,13 @@ create_new_squash () { if [[ $1 -eq -1 ]]; then info "Creating seed (this may take a while)" mksquashfs "${INCLUDES[@]}" "$SEED" -b 65536 -e "${EXCLUDES[@]}" >/dev/null - return $? + if [[ $? -eq 0 ]]; + mount_squash + info "Seed creation finished. It has been mounted at "$SQUASH_MOUNT" \ + if you would like to make sure the proper files are included" + else + die "There was an error creating the initial squash." + fi fi # Determine oldest $1 bins and mount them with the current squash |
