File A_sle15-aggregate.sh of Package A_sle15-aggregate

38
 
1
#!/bin/bash
2
set -e
3
(
4
cat <<_EOF_
5
<!-- automatically generated by $0 -->
6
<aggregatelist>
7
  <aggregate project="SLE15">
8
_EOF_
9
10
  (
11
  echo "    <package>libx264:x264</package>"
12
for pkg in $(pbs ls SLE15)
13
do
14
  case "${pkg}" in
15
    apache-rpm-macros) continue ;;
16
    broadcom-wl) continue ;;
17
    build-compare) continue ;;
18
    ffmpeg) continue ;;
19
    ftgl) continue ;;
20
    gpg-offline) continue ;;
21
    java-1_5_0-gcj-compat) continue ;;
22
    libdvdcss2) continue ;;
23
    libinstpatch) continue ;;
24
    libxcb) continue ;;
25
    packagehub) continue ;;
26
    r8168) continue ;;
27
  esac
28
  echo "    <package>${pkg}</package>"
29
done
30
  ) | sort -u
31
32
cat <<_EOF_
33
    <repository source="SLE_15" target="SLE_15" />
34
  </aggregate>
35
</aggregatelist>
36
_EOF_
37
) > '_aggregate'
38