-
Notifications
You must be signed in to change notification settings - Fork 2
/
rpmfusion-old-sign
executable file
·39 lines (34 loc) · 1.71 KB
/
rpmfusion-old-sign
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
# rpmfusion-old-sign
echo Fedora free 40
find /mnt/koji/mash/free/40-updates-candidate -name "${1}*.rpm" | xargs -r rpmsign --resign -key-id=D651FF2E
echo Fedora free 41
find /mnt/koji/mash/free/41-updates-candidate -name "${1}*.rpm" | xargs -r rpmsign --resign -key-id=D651FF2E
echo Fedora free 42
find /mnt/koji/mash/free/42-updates-candidate -name "${1}*.rpm" | xargs -r rpmsign --resign -key-id=D651FF2E
echo Fedora nonfree 40
find /mnt/koji/mash/nonfree/40-updates-candidate -name "${1}*.rpm" | xargs -r rpmsign --resign -key-id=94843C65
echo Fedora nonfree 41
find /mnt/koji/mash/nonfree/41-updates-candidate -name "${1}*.rpm" | xargs -r rpmsign --resign -key-id=94843C65
echo Fedora nonfree 42
find /mnt/koji/mash/nonfree/42-updates-candidate -name "${1}*.rpm" | xargs -r rpmsign --resign -key-id=94843C65
echo EL free 8
find /mnt/koji/mash/free/el8-candidate -name "${1}*.rpm" | xargs -r rpmsign --resign -key-id=158B3811
echo EL free 9
find /mnt/koji/mash/free/el9-candidate -name "${1}*.rpm" | xargs -r rpmsign --resign -key-id=296458f3
echo EL nonfree 8
find /mnt/koji/mash/nonfree/el8-candidate -name "${1}*.rpm" | xargs -r rpmsign --resign -key-id=BDDA8475
echo EL nonfree 9
find /mnt/koji/mash/nonfree/el9-candidate -name "${1}*.rpm" | xargs -r rpmsign --resign -key-id=aab212ea
FEDORA_STABLES="40 41"
FEDORA_BRANCH=""
FEDORA_RAWHIDE="42"
EL_STABLES="8 9"
for f in free nonfree ; do
for r in ${FEDORA_STABLES} ${FEDORA_BRANCH} ${FEDORA_RAWHIDE} ; do
find /mnt/koji/mash/${f}/${r}-updates-candidate -name "*.rpm" | xargs -r koji-rpmfusion import-sig --write
done
for r in ${EL_STABLES} ; do
find /mnt/koji/mash/${f}/el${r}-candidate -name "*.rpm" | xargs -r koji-rpmfusion import-sig --write
done
done