<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>8948</bug_id>
          
          <creation_ts>2016-01-19 18:49:43 +0000</creation_ts>
          <short_desc>Implement *.md5sums (or equivalent)</short_desc>
          <delta_ts>2019-10-28 22:53:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>opkg</product>
          <component>opkg</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>7649</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Tollerton">rich.tollerton</reporter>
          <assigned_to name="Alejandro del Castillo">alejandro.delcastillo</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>57965</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Tollerton">rich.tollerton</who>
    <bug_when>2016-01-19 18:49:43 +0000</bug_when>
    <thetext>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&apos;t appear to.) opkg doesn&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85463</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2019-10-28 22:53:40 +0000</bug_when>
    <thetext>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 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>