Skip to content

Commit

Permalink
Check qemu core dumps
Browse files Browse the repository at this point in the history
  • Loading branch information
ayufan committed Apr 15, 2020
1 parent 2552516 commit 4f8db33
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rootfs/make-rootfs.sh
Expand Up @@ -305,6 +305,11 @@ fi
sed -i 's|After=rc.local.service|#\0|;' "$DEST/lib/systemd/system/serial-getty@.service"
do_chroot apt-get clean

if find "$DEST" -maxdepth 1 -name "qemu_*.core" | egrep '.*'; then
echo "Found qemu core dumps. Something failed."
exit 1
fi

# Expire password
do_chroot passwd -e "$DEBUSER"

Expand Down

0 comments on commit 4f8db33

Please sign in to comment.