On 5/1/21 10:56 am, Emil Velikov via pacman-dev wrote: > With libarchive v3.5.0 we have API to fetch the digest from the mtree. > Use that to validate if the installed files are modified or not. > > As always, a modified backup file will trigger a warning but will not > result in an actual failure. > > v2: Produce separate messages for failed to calc checksum vs missing > checksum information in mtree >
Just as an FYI (I can edit these as I apply), v2 messages should go... > Signed-off-by: Emil Velikov <[email protected]> > --- under these lines so that they do not get included in the commit message. > src/pacman/check.c | 74 +++++++++++++++++++++++++++++++++++++++++----- > 1 file changed, 67 insertions(+), 7 deletions(-) > Hopefully I can get through these patches in the next few days. A
