File tree 3 files changed +26
-18
lines changed
3 files changed +26
-18
lines changed Original file line number Diff line number Diff line change 27
27
mkdir -p repo/all/x86_64/pool
28
28
find -iname '*.rpm' -type f -exec bash -c "mkdir -p \`dirname repo/all/x86_64/pool/{}\` && cp {} repo/all/x86_64/pool/{}" \;
29
29
30
- - name : Update Metadata
31
- run : |
32
- if test -f "repo/all/x86_64/repodata"; then
33
- docker run --rm -v "${PWD}/repo/all/x86_64:/pwd" --workdir /pwd fedora \
34
- bash -c "dnf install -y createrepo && createrepo -d /pwd"
35
- else
36
- docker run --rm -v "${PWD}/repo/all/x86_64:/pwd" --workdir /pwd fedora \
37
- bash -c "dnf install -y createrepo && createrepo -d --update /pwd"
38
- fi
39
-
40
30
- name : Import GPG Key
41
31
uses : crazy-max/ghaction-import-gpg@v3
42
32
with :
@@ -49,10 +39,21 @@ jobs:
49
39
docker run --rm -v "${PWD}/repo:/pwd" -v "${HOME}/.gnupg:/root/.gnupg" -v "${HOME}/.rpmmacros:/root/.rpmmacros" --workdir /pwd fedora \
50
40
bash -c "dnf install -y findutils rpm-sign && find -iname '*.rpm' -type f -exec rpm --addsign {} \;"
51
41
42
+ - name : Update Metadata
43
+ run : |
44
+ if test -f "repo/all/x86_64/repodata"; then
45
+ docker run --rm -v "${PWD}/repo/all/x86_64:/pwd" --workdir /pwd fedora \
46
+ bash -c "dnf install -y createrepo && createrepo -d /pwd"
47
+ else
48
+ docker run --rm -v "${PWD}/repo/all/x86_64:/pwd" --workdir /pwd fedora \
49
+ bash -c "dnf install -y createrepo && createrepo -d --update /pwd"
50
+ fi
51
+
52
52
- name : Copy README.md
53
53
run : |
54
54
cp README.md repo/README.md
55
55
cp LICENSE repo/LICENSE
56
+ cp -r config repo
56
57
57
58
- name : Deploy Repository
58
59
uses : JamesIves/github-pages-deploy-action@4.1.4
Original file line number Diff line number Diff line change 5
5
You have to add the repository to the package sources:
6
6
7
7
``` bash
8
- cat << EOF > /etc/yum.repos.d/m4rc3l.repo
9
- [m4rc3l.de]
10
- name=m4rc3l.de
11
- baseurl=https://rpm.m4rc3l.de/all/$basearch
12
- enabled=1
13
- gpgcheck=1
14
- gpgkey=https://m4rc3l.de/static/rpm-repo.pem
15
- EOF
8
+ sudo dnf -y install dnf-plugins-core
9
+
10
+ sudo dnf config-manager \
11
+ --add-repo \
12
+ https://rpm.m4rc3l.de/config/all.repo
16
13
```
17
14
18
15
## Packages
21
18
sudo dnf install < package>
22
19
```
23
20
21
+ When you install the first package, you have to verify the GPG key.
22
+ <br >
23
+ The fingerprint is ` C907 8A5C CE5C 9256 E175 C0BD 94C7 2B06 F259 2DD0 ` .
24
+
24
25
| Package | Description | Reposetory |
25
26
| ----------------------- | --------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
26
27
| ` genpw ` | Generate strong passwords directly from the command line. | [ MarcelCoding/debian-genpw] ( https://github.com/MarcelCoding/debian-genpw ) |
Original file line number Diff line number Diff line change
1
+ [m4rc3l.de]
2
+ name=m4rc3l.de
3
+ baseurl=https://rpm.m4rc3l.de/all/$basearch
4
+ enabled=1
5
+ gpgcheck=1
6
+ gpgkey=https://m4rc3l.de/static/rpm-repo.pem
You can’t perform that action at this time.
0 commit comments