| Summary: | Some RPM package file format is not correct on Beagleboard platform | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Dongxiao Xu <dongxiao.xu> |
| Component: | meta-yocto | Assignee: | Robert Yang <liezhi.yang> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | jessica.zhang, mark.hatle, poky.bs.watcher, poky.watcher, Qi.Chen, scott.a.garman, sgw, song.liu, zhenfeng.zhao |
| Version: | unspecified | ||
| Target Milestone: | 1.3 M4 | ||
| Hardware: | Beagleboard | ||
| OS: | arm | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
Estimate has a prerequisite of upreving to the latest version of RPM. There is some question still as to how to resolve the problem... Estimate includes basic sanity checking. I'm trying to replace '-' with '_', and it is in testing now, will do more testing before send the patch for reviewing. Merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4a015e57ccee4fec8ab1da6717f4e2d5c4bb9ff5 Verified. Git Branch: danny Git commit: c9de24d3f4845251b01e2eab0aeeb7472badc5bb |
For certain packages on beagleboard platform, for example the acl, whose PACKAGE_ARCH is "armv7a-vfp-neon", however its architecture label in RPM file is renamed to "armv7a", see "acl-2.2.51-r2.armv7a.rpm". This is not correct since we should use PACKAGE_ARCH within the RPM file name. In IPK case, the package name still shows as "acl_2.2.51-r2_armv7a-vfp-neon.ipk". The root cause is that, we shouldn't allow '-' exists in PACKAGE_ARCH variable. This is because we use the following parameters to pass to RPM command: rpm ... --target "armv7a-vfp-neon-poky-linux" The parameter stands for the "${ARCH}-${VENDOR}-${OS}". RPM treats the content before the first '-' as architecture label and put it in RPM file name. This is the reason why only "armv7a" is got in our RPM file name. One possible fix is to replace '-' with '_' for PACKAGE_ARCH.