Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:seife:testing
libzypp
libzypp-skip-appdata-crap.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libzypp-skip-appdata-crap.patch of Package libzypp
Index: b/zypp/repo/susetags/Downloader.cc =================================================================== --- a/zypp/repo/susetags/Downloader.cc +++ b/zypp/repo/susetags/Downloader.cc @@ -154,6 +154,13 @@ void Downloader::download( MediaSetAcces } } } + else if ( getenv("ZYPP_FETCH_APPDATA") == NULL && + ( str::contains( it->first, "appdata" ) || str::contains( it->first, "app-icons" ) || str::contains( it->first, "appdata-icons" ) ) ) + { + MIL << "skipping " << it->first << endl; + continue; + } + MIL << "adding job " << it->first << endl; auto location = std::move( OnMediaLocation( repoInfo().path() + descr_dir + it->first, 1 ) .setChecksum( it->second ) Index: b/zypp/repo/yum/Downloader.cc =================================================================== --- a/zypp/repo/yum/Downloader.cc +++ b/zypp/repo/yum/Downloader.cc @@ -144,6 +144,12 @@ namespace yum if ( basetype == "filelists" && not env::ZYPP_REPOMD_WITH_FILELISTS() ) return true; // skip it + if ( getenv("ZYPP_FETCH_APPDATA") == NULL && ( basetype == "appdata" || basetype == "app-icons" || basetype == "appdata-icons" )) + { + MIL << "skipping " << loc_r.filename() << endl; + return true; + } + // filter localized susedata if ( str::startsWith( basetype, "susedata." ) ) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor