[yocto] File permissions on package_ipk.bbclass
raj.khem at gmail.com
Fri Jun 2 16:59:45 PDT 2017
On Fri, Jun 2, 2017 at 3:52 PM, Ian Welch <ian_welch at trimble.com> wrote:
> Thanks Raj.
> We are looking at using `sudo` but this may have a ripple effect in our
> other build scripts. I was hoping there was a more elegant way to handle
> We are using version Yocto v1.7
pseudo is yocto utility which is abstracting the super
user operations even when you are building as normal user
which is at times needed when packaging a rootfs e.g.
cam you examine the content of an ipk and check if the
file perms are wrong for contents of an ipk?
> On Fri, Jun 2, 2017 at 3:14 PM, Khem Raj <raj.khem at gmail.com> wrote:
>> On Fri, Jun 2, 2017 at 1:57 PM, Ian Welch <ian_welch at trimble.com> wrote:
>> > Hello,
>> > We are using the package_ipk.bbclass to create packages for opkg
>> > will be installed on our embedded hardware (target). We are also using
>> > Jenkins as a CI server to run bitbake. We have discovered that when we
>> > install packages built on Jenkins we get all kinds of file permissions
>> > errors after installing the ipks on our target system. I have tracked
>> > issue down to bitbake being run by a user called "jenkins" on our
>> > system. The permissions of the files are all "jenkins:jenkins" prior to
>> > do_package task running which results in these permissions getting
>> > into the .ipk files.
>> > Is there a way to change the ownership of the files prior to being
>> > I'm thinking of something like a package_ipk.bbappend file or
>> > variable?
>> pseudo should have taken care of this.
>> what release are you on ?
>> > Cheers,
>> > --
>> > Ian Welch
>> > Trimble Navigation
>> > 10368 Westmoor Drive | Westminster, CO 80021
>> > --
>> > _______________________________________________
>> > yocto mailing list
>> > yocto at yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/yocto
> Ian Welch
> Engineering Manager, Civil Engineering & Construction
> 10368 Westmoor Drive | Westminster, CO 80021
> +1-303-635-8750 <(303)%20635-8750> Direct | +1-720-320-5181
> <(720)%20320-5181> Mobile
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the yocto