Log In
Log In
Places
All Projects
Status Monitor
Collapse sidebar
obs:server:fedora:2.6:testing
obs-server
obs-server-2.6.6-0005-backend-Use-correct-check...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File obs-server-2.6.6-0005-backend-Use-correct-checksum-arg-for-createrepo-and-.patch of Package obs-server
From 91423cf0b5e5cbf84171589176f9ee1c84d38e33 Mon Sep 17 00:00:00 2001 From: Oleg Girko <ol@infoserver.lv> Date: Mon, 23 Feb 2015 23:43:40 +0000 Subject: [PATCH 5/9] [backend] Use correct checksum arg for createrepo and modifyrepo. Change '--checksum=sha' arg to correct '--checksum=sha1' for creating and modifying legacy rpm-md repos with createrepo and modifyrepo. Signed-off-by: Oleg Girko <ol@infoserver.lv> --- src/backend/bs_publish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/bs_publish b/src/backend/bs_publish index 6a4c135..a4e1dcb 100755 --- a/src/backend/bs_publish +++ b/src/backend/bs_publish @@ -423,7 +423,7 @@ sub createrepo_rpmmd { push @createrepoargs, '--content', 'debug' if $data->{'dbgsplit'}; my @legacyargs; if ($options{'legacy'}) { - push @legacyargs, '--simple-md-filenames', '--checksum=sha'; + push @legacyargs, '--simple-md-filenames', '--checksum=sha1'; } else { # the default in newer createrepos push @legacyargs, '--unique-md-filenames', '--checksum=sha256'; -- 2.1.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Contact
Support
@OBShq
The Open Build Service is an
openSUSE project
.
Log In
Places
Places
All Projects
Status Monitor