From aade7f97e258660bcdae3d819c4b169fa9d40bc4 Mon Sep 17 00:00:00 2001 From: Chengwei Yang Date: Thu, 28 Jun 2012 20:48:11 +0800 Subject: [PATCH] mount devpts correctly at system boot up At previous, start_udev will create mount point /dev/pts, but now, after udev upgraded to 182, it doesn't use start_udev any more. Signed-off-by: Chengwei Yang --- etc/rc.d/rc.sysinit | 3 +-- packaging/system-plugin-ia-generic.changes | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/etc/rc.d/rc.sysinit b/etc/rc.d/rc.sysinit index 6d478b7..bca14c3 100755 --- a/etc/rc.d/rc.sysinit +++ b/etc/rc.d/rc.sysinit @@ -15,8 +15,7 @@ mount -n -t sysfs none /sys touch /dev/.in_sysinit >/dev/null 2>&1 -nice -n 20 /sbin/start_udev - +[ -d /dev/pts ] || mkdir /dev/pts mount -n /dev/pts >/dev/null 2>&1 remount_needed() { diff --git a/packaging/system-plugin-ia-generic.changes b/packaging/system-plugin-ia-generic.changes index 220a9d2..9494ba0 100644 --- a/packaging/system-plugin-ia-generic.changes +++ b/packaging/system-plugin-ia-generic.changes @@ -1,2 +1,5 @@ +* Thu Jun 28 2012 Chengwei Yang - 0.0.10 +- mount devpts correctly, this is a part of fix for TZSP-2375 + * Thur June 06 2012 Yan Yin - 0.0.10 - add changes file to trigger build -- 2.7.4