# HG changeset patch # User Rob Landley # Date 1225767646 21600 # Node ID 06a005fcdacc99f5fbfbc49459d22070897d3b37 # Parent c2215a078923fe70c9fd1feb29900711fb88afb0 Teach emulator-build.sh to fsck the root filesystem before running it. diff -r c2215a078923 -r 06a005fcdacc emulator-build.sh --- a/emulator-build.sh Mon Nov 03 04:31:07 2008 -0600 +++ b/emulator-build.sh Mon Nov 03 21:00:46 2008 -0600 @@ -4,5 +4,11 @@ source include.sh PATH="$SAVEPATH" -cd "${BUILD}/system-image-$ARCH" && +cd "${BUILD}/system-image-$ARCH" || exit 1 + +# A little paranoia. +fsck.ext2 -y "image-${ARCH}.ext2"