From: Harald Hoyer Date: Sat, 18 Jul 2015 11:02:25 +0000 (+0200) Subject: dmsquash-generator.sh: increase timeout for checkisomd5 X-Git-Tag: 044~133 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f4d64d55ea825ec0d05aaa76d58cddc37d44f719;p=thirdparty%2Fdracut.git 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. --- diff --git a/modules.d/90dmsquash-live/dmsquash-generator.sh b/modules.d/90dmsquash-live/dmsquash-generator.sh index e386d81df..85a359284 100755 --- a/modules.d/90dmsquash-live/dmsquash-generator.sh +++ b/modules.d/90dmsquash-live/dmsquash-generator.sh @@ -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"