| Summary: | postinst script lacks executable permission | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Matt Roper <matthew.d.roper> |
| Component: | devtools / tool chain | Assignee: | Dongxiao Xu <dongxiao.xu> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | liangliang.wang, meta.mr.watcher, meta.watcher, sgw |
| Version: | 0.9 | ||
| Target Milestone: | 1.0 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Matt Roper
2011-02-14 16:56:53 UTC
assign to the recipe maintainer. I could not reproduce the bug on my ubuntu 10.04 machine. Matt, what's your host OS? And what's the dpkg-deb version? Thanks, Dongxiao (In reply to comment #2) > I could not reproduce the bug on my ubuntu 10.04 machine. > > Matt, what's your host OS? And what's the dpkg-deb version? > > Thanks, > Dongxiao Host machine is Ubuntu 10.10 (dpkg-deb version 1.15.8.10). I also probably should have mentioned that this is for the bernard 5.0 alpha. (In reply to comment #3) > (In reply to comment #2) > > I could not reproduce the bug on my ubuntu 10.04 machine. > > > > Matt, what's your host OS? And what's the dpkg-deb version? > > > > Thanks, > > Dongxiao > > Host machine is Ubuntu 10.10 (dpkg-deb version 1.15.8.10). I also probably > should have mentioned that this is for the bernard 5.0 alpha. Actually I misspoke; my host machine is actually Debian, but the dpkg-deb version is still the 1.15.8.10 I reported. However I don't think it's the host that matters here, but rather the version inside the yocto toolchain here: poky-5.0-build/tmp/sysroots/x86_64-linux/usr/bin/dpkg-deb . That version appears to be 1.15.8.7. If I'm understanding properly which files it is operating upon (poky-5.0-build/tmp/work/i586-poky-linux/run-postinsts-1.0-r6/packages-split/run-postinsts/DEBIAN), then it appears the postinst script does indeed have the executable bit and the error being generated is incorrect. I tried replacing the toolchain dpkg-deb with the newer version from the host OS, but that didn't solve the problem. For now I've worked around this by temporarily hacking the package_deb.bbclass to make failures during dpkg-deb creation non-fatal for the run-postinsts package just so that I can continue testing the rest of the build. I'm still very puzzled as to why it is reporting postinst has permissions 644 when I clearly see 755 during manual inspection. Hi Matt I saw there was a related fix by Richard in master. http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=9a28ad6b0291e0d4c4aae6ba25a9f7752d5c2e11 Since I could not reproduce this bug in my side. Could you help to try to see if it fixed your problem? Thanks! Dongxiao We didn't see it in autobuilder now, mark it as fixed. |