Bug 8948 - Implement *.md5sums (or equivalent)
Summary: Implement *.md5sums (or equivalent)
Status: RESOLVED DUPLICATE of bug 7649
Alias: None
Product: opkg
Classification: Yocto Project Subprojects
Component: opkg (show other bugs)
Version: unspecified
Hardware: All Multiple
: Undecided enhancement
Target Milestone: 1.0
Assignee: Alejandro del Castillo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-01-19 18:49 UTC by Richard Tollerton
Modified: 2019-10-28 22:53 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***