Initial commit

This commit is contained in:
Sofia Boldyreva 2025-01-21 21:56:03 +01:00
commit ba0e0b1385
2 changed files with 42 additions and 0 deletions

18
config.yaml Normal file
View File

@ -0,0 +1,18 @@
actions:
- modify_release:
- suffix: ".alma.1"
enabled: true
- changelog_entry:
- name: "Eduard Abdullin"
email: "eabdullin@almalinux.org"
line:
- "Аdd AlmaLinux support"
- "Fix permission for custom created gpg dir"
- add_files:
- type: "patch"
name: "hplip-3.21.2-gpgdir-rules-gpg-server.patch"
number: 100

View File

@ -0,0 +1,24 @@
diff -uprN a/base/password.py b/base/password.py
--- a/base/password.py 2021-07-16 11:19:07.363594142 +0300
+++ b/base/password.py 2021-07-16 11:19:52.441320237 +0300
@@ -56,6 +56,7 @@ AUTH_TYPES = {'mepis': 'su',
'boss': 'su',
'lfs': 'su',
'manjarolinux': 'sudo',
+ 'almalinux': 'su',
}
diff -uprN a/base/validation.py b/base/validation.py
--- a/base/validation.py 2021-07-16 11:19:07.364594092 +0300
+++ b/base/validation.py 2021-07-16 11:22:50.609324314 +0300
@@ -55,7 +55,7 @@ class GPG_Verification(DigiSign_Verifica
if not os.path.exists(self.__gpg_dir):
try:
- os.mkdir(self.__gpg_dir, 0o755)
+ os.mkdir(self.__gpg_dir, 0o700)
except OSError:
log.error("Failed to create %s" % self.__gpg_dir)
self.__change_owner()