<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hi Ian</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 2, 2017 at 3:52 PM, Ian Welch <span dir="ltr"><<a href="mailto:ian_welch@trimble.com" target="_blank">ian_welch@trimble.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Raj.<div><br></div><div>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 this. </div><div><br></div><div>We are using version Yocto v1.7</div></div></blockquote><div><br></div><div><br></div><div><div class="gmail_default" style="font-family:monospace,monospace">​pseudo is yocto utility which is abstracting the super</div><div class="gmail_default" style="font-family:monospace,monospace">user operations even when you are building as normal user</div><div class="gmail_default" style="font-family:monospace,monospace">which is at times needed when packaging a rootfs e.g.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">cam you examine the content of an ipk and check if the</div><div class="gmail_default" style="font-family:monospace,monospace">file perms are wrong for contents of an ipk?​</div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>~Ian</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Fri, Jun 2, 2017 at 3:14 PM, Khem Raj <span dir="ltr"><<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Fri, Jun 2, 2017 at 1:57 PM, Ian Welch <<a href="mailto:ian_welch@trimble.com" target="_blank">ian_welch@trimble.com</a>> wrote:<br>
> Hello,<br>
>  Â  Â  We are using the package_ipk.bbclass to create packages for opkg that<br>
> will be installed on our embedded hardware (target). We are also using<br>
> Jenkins as a CI server to run bitbake. We have discovered that when we<br>
> install packages built on Jenkins we get all kinds of file permissions<br>
> errors after installing the ipks on our target system. I have tracked the<br>
> issue down to bitbake being run by a user called "jenkins" on our Jenkins<br>
> system. The permissions of the files are all "jenkins:jenkins" prior to the<br>
> do_package task running which results in these permissions getting packaged<br>
> into the .ipk files.<br>
><br>
> Is there a way to change the ownership of the files prior to being packaged?<br>
> I'm thinking of something like a package_ipk.bbappend file or environment<br>
> variable?<br>
><br>
<br>
</span>pseudo should have taken care of this.<br>
what release are you on ?<br>
<div class="m_-5359920992643599450HOEnZb"><div class="m_-5359920992643599450h5"><br>
> Cheers,<br>
><br>
> --<br>
><br>
> Ian Welch<br>
> Trimble Navigation<br>
> 10368 Westmoor Drive | Westminster, CO 80021<br>
><br>
><br>
</div></div><span class="m_-5359920992643599450HOEnZb"><font color="#888888">> --<br>
> ______________________________<wbr>_________________<br>
> yocto mailing list<br>
> <a href="mailto:yocto@yoctoproject.org" target="_blank">yocto@yoctoproject.org</a><br>
> <a href="https://lists.yoctoproject.org/listinfo/yocto" rel="noreferrer" target="_blank">https://lists.yoctoproject.org<wbr>/listinfo/yocto</a><br>
><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div>-- <br><div class="m_-5359920992643599450gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><img><br><span style="font-family:sans-serif;font-size:13px;line-height:18.5714px;font-weight:bold;color:rgb(54,53,69)">Ian Welch<br></span><span style="font-family:sans-serif;font-size:13px;line-height:18.5714px;color:rgb(54,53,69)">Engineering Manager, Civil Engineering & Construction<br></span><span class=""><span style="font-family:sans-serif;font-size:13px;line-height:18.5714px;color:rgb(54,53,69)">10368 Westmoor Drive | </span><span style="font-family:sans-serif;font-size:13px;line-height:18.5714px;color:rgb(54,53,69)">Westminster, CO 80021<br></span></span><span style="font-family:sans-serif;font-size:13px;line-height:18.5714px;color:rgb(54,53,69)"><a href="tel:(303)%20635-8750" value="+13036358750" target="_blank">+1-303-635-8750</a> Direct | </span><span style="font-family:sans-serif;font-size:13px;line-height:18.5714px;color:rgb(54,53,69)"><a href="tel:(720)%20320-5181" value="+17203205181" target="_blank">+1-720-320-5181</a> Mobile </span><br></div></div>
</div>
</blockquote></div><br></div></div>