Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
livecd-openSUSE
pkg-diff.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pkg-diff.sh of Package livecd-openSUSE
#!/bin/bash if [ $# -ne 2 ]; then printf "Show a diff of installed packages in the various flavors.\nUsage: $0 project arch\n" exit 1 fi project=$1 arch=$2 fetch_pkglist() { local project=$1 local package=$2 local repo=$3 local arch=$4 local binaryname=$(osc ls -b ${project} ${package} -a ${arch} -r ${repo} | grep .packages | xargs) osc api /build/${project}/${repo}/${arch}/${package}/${binaryname} | awk -F\| '{ printf "%s-%s-%s\n", $1, $3, $4 }' | sort -u } tmpdir=$(mktemp -d) trap 'rm -rf ${tmpdir}' EXIT for i in {x11,xfce,kde,gnome}; do fetch_pkglist openSUSE:Factory:Live livecd-tumbleweed-$i images ${arch} > ${tmpdir}/list-old fetch_pkglist ${project} livecd-tumbleweed-$i openSUSE_Tumbleweed ${arch} > ${tmpdir}/list-new echo "$i" diff -u ${tmpdir}/list-{old,new} done
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