dmsquash-generator.sh: increase timeout for checkisomd5

if the checkisomd5 takes longer than 3 minutes, the device timeout for
/dev/mapper/live-rw cancels the boot process.
master
Harald Hoyer 2015-07-18 13:02:25 +02:00
parent ff55a8939c
commit f4d64d55ea
1 changed files with 6 additions and 0 deletions

View File

@ -64,3 +64,9 @@ ROOTFLAGS="$(getarg rootflags)"
echo "What=/dev/mapper/live-rw"
[ -n "$ROOTFLAGS" ] && echo "Options=${ROOTFLAGS}"
} > "$GENERATOR_DIR"/sysroot.mount

mkdir -p "$GENERATOR_DIR/dev-mapper-live\x2drw.device.d"
{
echo "[Unit]"
echo "JobTimeoutSec=3000"
} > "$GENERATOR_DIR/dev-mapper-live\x2drw.device.d/timeout.conf"