Bug 8948

Summary: Implement *.md5sums (or equivalent)
Product: [Yocto Project Subprojects] opkg Reporter: Richard Tollerton <rich.tollerton>
Component: opkgAssignee: Alejandro del Castillo <alejandro.delcastillo>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: Undecided    
Version: unspecified   
Target Milestone: 1.0   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Richard Tollerton 2016-01-19 18:49:43 UTC
Storing checksums of all the files in a package (not just the conffiles) is a fairly common feature of package managers, and IIRC, both dpkg and rpm implement it. (However, pacman doesn't appear to.) opkg doesn't support it.

AFAIK, this the the primary way to verify the integrity of installed packages, a feature which opkg otherwise lacks. It could come in a great deal of handy in many scenarios, and may improve the maintainability of opkg, by allowing file corruption/modification issues to be caught sooner.
Comment 1 Alejandro del Castillo 2019-10-28 22:53:40 UTC
Yes, this is lacking on opkg. I am leaning towards making this an off by default config option. If enabled, a package.md5sums file will be added to the database (info directory), with a new opkg --verify option comparing the md5sums vs installed files. This is currently being tracked on 7649.

*** This bug has been marked as a duplicate of bug 7649 ***