[oe-issues] [Bug 3043] add supervisor mode

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Fri Sep 21 08:25:53 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=3043


lynnlin <lynn.lin at avocent.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lynn.lin at avocent.com




--- Comment #1 from lynnlin <lynn.lin at avocent.com>  2007-09-21 01:25:53 ---
(In reply to comment #0)
> for example in sudo package
> i write a function :
> do_install_append() {
>           chmod 4755 ${D}/usr/bin/sudo
> }
> 
> when the image is running ,the sudo binary don't have supervisor mode
> 
> but when i write it in pkg_postinist,it can work
> 
> why it doesn't work in the first situation?
> 

more detail
 after do_install  image/usr/bin/sudo have supervisor mode,but after do_package

 install/usr/bin/sudo supervisor mode disappeared

  in package.bbclass,i find bb.movefile function to complete the task,but 

 bb.movefile moves a file from src to dest,preserving all permisions and 

 attributes

 so is there a bug in package.bbclass


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list