From fe379e4390541bc8cb769820cbe9fdfeda5f007a Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 27 Jan 2012 22:03:45 +0000 Subject: [PATCH] Force kernel to reread partition table We want to have /etc/fstab being up2date on the live system after installation, so force processing the according uevents between kernel and userspace... From: Michael Prokop --- deployment.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deployment.sh b/deployment.sh index 6cdc5a1..316300b 100755 --- a/deployment.sh +++ b/deployment.sh @@ -1185,6 +1185,9 @@ sync # unmount chroot - what else? umount $TARGET || umount -l $TARGET # fall back if a process is still being active +# make sure /etc/fstab is up2date +blockdev --rereadpt /dev/$DISK + # party time! who brings the whiskey? echo "Installation finished. \o/" echo