i would not lose anytime trying to fix fastinit in Trunk, since we are moving to systemd really soon.
Anas On 3 May 2011, at 12:56, Zhu, Peter J wrote: > Hi >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Zheng Huan >> Sent: Tuesday, May 03, 2011 10:06 AM >> To: [email protected] >> Subject: [meego-commits] 17350: Changes to Trunk:Testing/fastinit >> >> Hi, >> I have made the following changes to fastinit in project Trunk:Testing. >> Please >> review and accept ASAP. >> >> Thank You, >> Zheng Huan >> >> [This message was auto-generated] >> >> --- >> >> Request #17350: >> >> submit: home:zbt:branches:Trunk:Testing/fastinit(r2)(cleanup) -> >> Trunk:Testing/fastinit >> >> >> Message: >> Resubmit, added OHM_CONF_PLATFORM to load different ohmd modules >> on different platform, for BMC#7487 >> >> State: new 2011-05-02T19:05:33 zbt >> Comment: None >> >> >> >> changes files: >> -------------- >> --- fastinit.changes >> +++ fastinit.changes >> @@ -0,0 +1,3 @@ >> +* Tue May 3 2011 Zheng Huan <[email protected]> - 1.28 >> +- Added OHM_CONF_PLATFORM to load different ohmd modules on different >> platform, for BMC#7487 >> + >> >> new: >> ---- >> ohmd-boardname.patch >> >> spec files: >> ----------- >> --- fastinit.spec >> +++ fastinit.spec >> @@ -8,6 +8,7 @@ >> Patch0: add-daemon.patch >> Patch1: sensorfw-boardname.patch >> Patch2: disable-als.patch >> +Patch3: ohmd-boardname.patch >> BuildRoot: /%{_tmppath}/%{name}-%{version}-%{release}-root >> Requires: mingetty, /bin/awk, /bin/sed, /bin/mktemp, e2fsprogs >= 1.15 >> Requires: /sbin/sysctl, syslog >> @@ -38,6 +39,7 @@ >> %patch0 -p1 >> %patch1 -p1 >> %patch2 -p1 >> +%patch3 -p1 >> >> %build >> make -C src >> >> other changes: >> -------------- >> >> ++++++ 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_PLATFORM=$bn >> ++ fi > Why is this tablet specific? > > peter > >> ++ fi >> + /usr/sbin/ohmd >> + fi >> + >> >> _______________________________________________ >> MeeGo-commits mailing list >> [email protected] >> http://lists.meego.com/listinfo/meego-commits > _______________________________________________ > MeeGo-packaging mailing list > [email protected] > http://lists.meego.com/listinfo/meego-packaging _______________________________________________ MeeGo-packaging mailing list [email protected] http://lists.meego.com/listinfo/meego-packaging
