diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-12-12 12:19:01 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-12-12 12:19:01 +0000 |
commit | c6499ec08f354382e9770bcfbbdd640d16bac69b (patch) | |
tree | 25a882be61fb7475fb66ba3af53b1daf88ce5238 /tools | |
parent | 4afb7d9bf4e57f95eb547a61cb1f000d0de8bcc3 (diff) | |
download | drakx-c6499ec08f354382e9770bcfbbdd640d16bac69b.tar drakx-c6499ec08f354382e9770bcfbbdd640d16bac69b.tar.gz drakx-c6499ec08f354382e9770bcfbbdd640d16bac69b.tar.bz2 drakx-c6499ec08f354382e9770bcfbbdd640d16bac69b.tar.xz drakx-c6499ec08f354382e9770bcfbbdd640d16bac69b.zip |
- ensure failing to build mdkinst.sqfs is a fatal error
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/mdkinst_stage2_tool | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mdkinst_stage2_tool b/tools/mdkinst_stage2_tool index 8dc029e4e..22712515a 100755 --- a/tools/mdkinst_stage2_tool +++ b/tools/mdkinst_stage2_tool @@ -36,7 +36,7 @@ if [ $ACTION = "--compress" ]; then [ -d "$LIVE_DIR" ] || error echo "Creating $COMPRESSED_IMAGE from $LIVE_DIR" rm -f $STAGE2_DIR/.room - mksquashfs $LIVE_DIR $COMPRESSED_IMAGE -all-root -noappend >/dev/null + mksquashfs $LIVE_DIR $COMPRESSED_IMAGE -all-root -noappend >/dev/null || { echo "mksquashfs failed"; exit 1; } chmod 755 $COMPRESSED_IMAGE echo foo > $STAGE2_DIR/.room if [ -s $STAGE2_DIR/.room ]; then |