Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15
post-build-checks.13997
pbc-git-02-e090a3d7738ee8752dc743068a192607d172...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pbc-git-02-e090a3d7738ee8752dc743068a192607d172a391.patch of Package post-build-checks.13997
commit e090a3d7738ee8752dc743068a192607d172a391 Author: Ludwig Nussel <ludwig.nussel@suse.de> Date: Fri Jan 10 10:17:44 2020 +0100 Detect name of coreutils package and don't remove it Handle cases of alterantive implemention. diff --git a/checks/99-check-remove-rpms b/checks/99-check-remove-rpms index 01adf7f..bebe459 100755 --- a/checks/99-check-remove-rpms +++ b/checks/99-check-remove-rpms @@ -46,6 +46,8 @@ export YAST_IS_RUNNING="instsys" RPM_ERASE_LIST= RPM_FILE_LIST=(`find $BUILD_ROOT$TOPDIR/RPMS -type f -name "*.rpm"`) +coreutils=`chroot $BUILD_ROOT rpm --qf '%{NAME}\n' -qf /usr/bin/{date,cat,rm,chown}|sort -u` + for RPM in `reorder "${RPM_FILE_LIST[@]}"`; do PKG=${RPM##*/} PKG=${PKG%-*-*.*.rpm} @@ -69,6 +71,8 @@ for RPM in `reorder "${RPM_FILE_LIST[@]}"`; do case ${PKG} in libgcc*|libgomp*|libstdc++*) ;; + $coreutils) + ;; *) RPM_ERASE_LIST="$RPM_ERASE_LIST $PKG" ;;
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