On 04/15/2011 11:40 AM, Zheng Huan wrote:
++++++ ohmd-boardname.patch (new)
--- ohmd-boardname.patch
+++ ohmd-boardname.patch
+diff -urN fastinit-1.28-m/rc.d/rc.sysinit fastinit-1.28-ohmd/rc.d/rc.sysinit
+--- fastinit-1.28-m/rc.d/rc.sysinit 2011-04-15 14:42:14.149379903 +0800
++++ fastinit-1.28-ohmd/rc.d/rc.sysinit 2011-04-15 15:16:28.928380151 +0800
+@@ -347,6 +347,12 @@
+ fi
+
+ if [ -x "/usr/sbin/ohmd" ] ; then
++ if [ -f /etc/boardname ]; then
++ bn=`cat /etc/boardname`
++ if [ $bn == "ia32_oemtablet" ]; then
++ export OHM_CONF_MODULE=$bn
++ fi
++ fi
+ /usr/sbin/ohmd
+ fi
+
_______________________________________________
MeeGo-commits mailing list
[email protected]
http://lists.meego.com/listinfo/meego-commits
Hi,
This really should be such that it can be used for any device not just a
one specific specific device that provides the specific boardname
string. We need to reduce the amount of hardcoded strings and variables
from the core system to get the same functionality to any platform.
If the problem here is that non existing module will cause problems then
the existence of module should be checked first and then just export the bn.
Regards,
Marko
_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging