| Summary: | Add selftest to verify images with different package managers are identical | ||
|---|---|---|---|
| Product: | [QA/Testing] Functional (self) Testing | Reporter: | Ross Burton <ross.burton> |
| Component: | oe-selftest | Assignee: | Ross Burton <ross.burton> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | randy.macleod, tim.orling |
| Version: | 3.3 | ||
| Target Milestone: | 5.99 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
| Bug Depends on: | 14139 | ||
| Bug Blocks: | |||
|
Description
Ross Burton
2020-11-30 12:16:12 UTC
Comparing core-image-minimal built with opkg vs rpm there are a few differences: /etc/shadow and /etc/gshadow differ around the systemd users (bug 14139) /var/cache/ldconfig/aux-config can't be reproducible, as apparently the keys include inodes. If true we shouldn't generate the file at build time anyway. Diffoscope can be told to ignore this file with --exclude=./var/cache/ldconfig/aux-cache opkg leaves some empty directories /var/(lib|cache)/opkg. Regarding the aux-cache, confirmed that it isn't suitable to be generated on the host as the hash keys include inodes: https://sourceware.org/git/?p=glibc.git;a=blob;f=elf/cache.c;h=c241c17ef9061a7c5ef41fd49dbb9dd624466c76;hb=HEAD line 545. aux-cache is deleted from images in 67c1ceb193130fcb30853c2cd1a6ef33a814886e. opkg package management is deleted from images in 2209cef2cbe5fbdd5562f13f84ae2a3935f4fb61. Just bug 14139 left and then a selftest can be integrated. Moved en masse from 4.2 to 4.3 by Randy. |