An open API service for software projects hosted on Open Collective.

github.com/QubesOS/qubes-builder-rpm

Qubes component: builder-rpm
https://github.com/QubesOS/qubes-builder-rpm

Install python3-urllib3 in the minimal template

It is necessary for configure template with salt.

Fixes QubesOS/qubes-issues#8806

fa42621395a89eceacdcc701c3a672df33791b63 authored over 1 year ago
ci: drop centos-stream8 build

Centos Stream 8 is soon EOL and support for 9 is not in the builder yet

f8a42bbbcb6a765026688747a86a02491b6e9bb5 authored over 1 year ago
Stop enforcing curl-minimal

It isn't what is actually installed in Fedora, and in Fedora 40 it
conflicts with base packages....

7a2ccd9e8fdc71b24bd8b9ddfb01d13ba891ccf0 authored over 1 year ago
ci: do not use vm-fc37 anymore

78e1321c4eae68ccb1b3ba8c5d049fa0f645a23e authored over 1 year ago
Typo fix

fb2c2ea30968cc70c8cb875b1fe017773f1986cf authored over 1 year ago
template: do not fail the build if there was no leftover processes

fuser will exit with exit code 1 if there was in fact nothing to kill.
No leftover processes is ...

873f63fcbf19ec0372d37427332de1a19938861b authored over 1 year ago
Mount /dev/shm in legacy builder

It's used by Python's multiprocessing.synchronize for locking, which is
part of brp-python-bytec...

1fa09e019f25d50e31322c4d91fae616c5ba9838 authored over 1 year ago
Merge remote-tracking branch 'origin/pr/127'

* origin/pr/127:
Make shellcheck happy
Include cryptsetup package in xfce template too

bccaea8ace4c6c035ee0108d62a27c4187ba57f2 authored almost 2 years ago
Fix source_date_epoch related rpm defines

They are supposed to be 0/1, not N/Y.

47221ce028f5d5153eadce3366d82c01d69ebf76 authored almost 2 years ago
Merge branch 'fc39'

* fc39:
Add RPM Fusion repo package for F39 and F40
Add Fedora 39 and 40 keys

fe3e45782e953fc933d745d03e3d2939238181b1 authored almost 2 years ago
Add RPM Fusion repo package for F39 and F40

The F40 may need to be updated later (it has lower version than others).

QubesOS/qubes-issues#8499

0110556023ef4de447120c05f8642181861f4363 authored almost 2 years ago
Initialize RETCODE variable

exit doesn't take empty string

Fixes: ec78f6d "Fix missing quotes"

7077740932671a2c3dc1eecdcaf84780ec9a1443 authored almost 2 years ago
Fix missing quotes

Issue detected by shellcheck. In practice $RETCODE is always set to a
single word, but lets make...

ec78f6dc7759feeb02c14bf3d461b43a879c5e08 authored almost 2 years ago
Add Fedora 39 and 40 keys

0a3b38c556db88acf894105077bc788bdac4139c authored almost 2 years ago
Make shellcheck happy

911ca2e5082476198f04fe1badd47f488ba8d03d authored almost 2 years ago
Include cryptsetup package in xfce template too

dc582f7586f2a92ade1b9c2643fb6e96937954f9 authored almost 2 years ago
Include firmware packages in xfce template too

Just linux-firmware package is not enough, include the whole
@hardware-support group, similar to...

b25024de42c9b96ae8b7874b23309ea103928e11 authored almost 2 years ago
Disable nosync for centos-stream

It preloads nosync library from the host system, into binaries running
in chroot, and glibc in C...

afb5edb1628629b979eee5bde2c4f8d0767d3e00 authored about 2 years ago
Avoid exporting shell-computed variables

Make 4.4 includes exported variables also in $(shell) invocation. Avoid
exporting shell-computed...

da6a466e15b70dfa9762cefd8a59101f658df381 authored about 2 years ago
Do not test CentOS on R4.1 anymore

7e835fc573565fa40d4719946c4d36a751c26bbe authored about 2 years ago
Do not exclude pipewire in templates for R4.2

We do have pipewire agent already.

QubesOS/qubes-issues#6358

e2f60c819b2c2752c8f7e49d6b6f1d688690f6fe authored about 2 years ago
gitlab-ci: add r4.2 builds

3b8fb6d6c1557ddd1d0a02b94b1ddcb3a0a5b100 authored about 2 years ago
Merge remote-tracking branch 'origin/pr/124'

* origin/pr/124:
Fix query-spec invocations in Makefile.rpmbuilder
Simplify GIT_TARBALL_NAME...

c3ec0851c1f8d99966de8f7f0223c7ec0d15065a authored about 2 years ago
Fix usage of query-spec after refactor

Fixes: fa9a4c0 "Several refactors according to current qubes-builderv2/source_rpm"

cabde507acab6c4eff7041d41e7ed0cd6920a1d7 authored about 2 years ago
Fix query-spec invocations in Makefile.rpmbuilder

fa9a4c08bb49178313af3579c76fa464b92930d5 changed how scripts/query-spec
gets its arguments, but ...

f6be4273af102d1afdaee19bb5c4294e857663d4 authored about 2 years ago
Simplify GIT_TARBALL_NAME in Makefile.rpmbuilder

$(ORIG_SRC) is passed as the first argument and doesn't need to be set
as an environment variabl...

c4b91942824a7772d69d601da9f5bed81dbe8ee6 authored about 2 years ago
Fix parsing %%P in kernel.spec

Already escaped % (double-%) was escaped into tripple-%. This was
later interpretted as literal ...

e3b47af81b12ffe932a5f878e8f28f3240abd590 authored about 2 years ago
Update SPDX identifier

8882ca006eaf17a5be7ef9d991540abf3d1bcdf4 authored about 2 years ago
gitlab-ci: add current directory as safe

07a155b888d74a4d65e9780676c651f343bf3d16 authored about 2 years ago
Use simple dnf.conf for cleanup

9bdd9354476dd70b1cdb3c7ad58dece5024941a3 authored about 2 years ago
Make ShellCheck happy and don't allow failures

dadc068c657ae9ab3bcc85c272edf708e10d226e authored about 2 years ago
Several refactors according to current qubes-builderv2/source_rpm

fa9a4c08bb49178313af3579c76fa464b92930d5 authored about 2 years ago
Update a template after adding qubes repos

There may be a newer version of some package (or a fork of it)
available. This for example appli...

efe0f6a7fbf8a6597132fff7aa7213182819d0d4 authored over 2 years ago
Add rpmfusion repos for Fedora 38

QubesOS/qubes-issues#8069

b2afa9d5fd09154afa3fe20433149c6c6563c3ea authored over 2 years ago
Add fc38 key

QubesOS/qubes-issues#8069

012ed05a5e4bc798c9a4739dfe11d0e5470faebc authored over 2 years ago
Merge remote-tracking branch 'origin/pr/122'

* origin/pr/122:
Place SELinux in enforcing mode out of the box
Adapt to changes in template...

ac022b14b53c843575a91b640df4b51b3e89bd9b authored over 2 years ago
Add R4.2 signing key

51d973bc2342849dce7bf6851620fde6f86a389e authored over 2 years ago
Place SELinux in enforcing mode out of the box

Otherwise SELinux provides no security advantages for those who do not
turn it on manually.

a6c22d4fe9ecc85903ebb8abac7d219ce9f31d0a authored over 2 years ago
Adapt to changes in template builder

Suggested-by: Marek Marczykowski-Górecki <[email protected]>

b61c2bb41677d1bdb6aa1510c3985349c7cbf385 authored over 2 years ago
Install SELinux policies in scripts

Do not use the list file.

23203bc1deec9b02ac70dbeb59c3974fbfd770ac authored over 2 years ago
Only include SELinux when the SELinux flavor is used

This avoids pulling in unnecessary dependencies, fixes the R4.1 build,
and allows using SELinux ...

ba11f405f87a4790cfe6afd8c929a7e77d6b90da authored over 2 years ago
Do not install Adobe packages

Flash is long since end of life.

7a7a224380bc272c3fefb0241ca87b8146ebacbe authored over 2 years ago
Install selinux-policy-targeted

This will cause qubes-core-agent to pull in qubes-core-agent-selinux via
RPM rich dependencies.

f6215ffb8e0d842d42ac442fe0760300fb9c9d9d authored over 2 years ago
Perform mass relabel during cleanup

This avoids needing a relabel after system installation.

64e276be9285a723a831b8b601569bc891c01875 authored over 2 years ago
Ensure that errors late in build cause build failure

Otherwise a partially-relabeled system could result, which is bad.

d9ffafea9269da8e5dfa32965e5d6cdd28a02ec8 authored over 2 years ago
Add template.conf with selinux=1 if SELinux is supported

qvm-template will use this to set the selinux feature, which tells
qubesd to enable SELinux in t...

61d45f7f908f0ae6d84846a689f9034fdf040f45 authored over 2 years ago
Rip out public keys that are no longer used

No point in including them, and they might be trusted when they should
not be.

80f9fc9450c7a1eb4dc190840e0766f03d80a716 authored over 2 years ago
Rip out Fedora 25 and CentOS 7 support

Qubes OS no longer supports either.

df8d6038d3822e6b4bbf6d7b8481d9d1bc666f92 authored over 2 years ago
legacy: try harder escaping percent for build deps

If macro (included from another file) contains literal % that is
properly escaped, double parsin...

1ca4918cbccfe46e69c0d4d9ac0b8e043d052ac6 authored over 2 years ago
Fix appmenus for v1 builder

Legacy builder looks for "fc" as the distribution name, not its full
"fedora" name.

24333da49527d09eb09abf0ebe10df78993540f2 authored over 2 years ago
04_install_qubes.sh: mitigate device busy for Stream 8

a028bd97f5c890848b428cc213c75d59adcb1b82 authored over 2 years ago
Merge remote-tracking branch 'origin/pr/120'

* origin/pr/120:
04_install_qubes: reintroduce YUM0 for legacy builder
04_install_qubes.sh: ...

1030a42ea2d7458b4622d06b9e06d38d60c085fb authored over 2 years ago
04_install_qubes: reintroduce YUM0 for legacy builder

4958721216160e785c5095c4a7de3574eccbb646 authored over 2 years ago
04_install_qubes.sh: use INSTALL_DIR for fuser

e918586d4bda4ba4499e0ac3a2ba72fe4f0ae12c authored over 2 years ago
Drop builderv2 init file

7f9d441b3af25ade6f7827d1fffe4debf6d553a9 authored over 2 years ago
3rd_party_software: fix symlinks

6c0648ed26ae47e0341a25daae3261bd125fe645 authored over 2 years ago
09_cleanup: fix hardcode path for dbpath

5b76de62eb9e92f92e4ed42081c6d277b9e4713a authored over 2 years ago
Few fixes according to @marmarek's comments

02355945e3a903bebef4c5cc78e1af1fc05b309b authored over 2 years ago
Fix SPDX entries

3b3bfa166df25aa1f90cb5e8c38aefa7ac089ad4 authored over 2 years ago
gitlab-ci: remove dom0-fc25

43f9ca2ded268d43ee1db86ed402a2464a8b2d85 authored over 2 years ago
ci: switch test jobs to fc37

4e2c0a3472c05adafb16009cb6b0e4328b9d8a2e authored over 2 years ago
Add R4.2 keys

QubesOS/qubes-issues#

36d9cce1e6bc002ee7b101231808c8611981374c authored over 2 years ago
Support for legacy builder

795bc628ddaf2ee415a8549171936111f8b5422e authored over 2 years ago
Sync content from builder-rpm

Commits:
- fd7089b277b5c310d9c0a5da636838c2c55ad838
- 750918400a9843e176cc55bb39aa150a5aa36170

94e2118aef0070ddbf7a473f4a990611b4a5d186 authored over 2 years ago
Add builderv2 plugin content

62e70f943fd9c4fa6ac7365d9e6f89311dff6f9f authored over 2 years ago
Rename template_scripts to template_rpm

003b2239ba0980eadcb41016555cc409cebba388 authored over 2 years ago
Exclude gnome-browser-connector

It is an integration with gnome-shell, which is excluded already.

QubesOS/qubes-issues#7807

750918400a9843e176cc55bb39aa150a5aa36170 authored almost 3 years ago
Add rpmfusion repo defs for F37

QubesOS/qubes-issues#7807

fd7089b277b5c310d9c0a5da636838c2c55ad838 authored almost 3 years ago
Fix INCREMENT_DEVEL_VERSIONS for centos-stream

Use DIST_TAG (which is el8 for centos-stream8), instead of just DIST
(which is centos-stream8, a...

b509f839c81b7a5fd7867678433df090710864c9 authored almost 3 years ago
Add Fedora 37 key

f52f7691f017125c897bc16adddd210c673c96c9 authored almost 3 years ago
Add rpmfusion repos for Fedora 36

QubesOS/qubes-issues#7342

e3a1fd674c24e065ad7fa0e494bd6ab63310fe86 authored about 3 years ago
Drop explicit wireless-tools package from the list

wireless-tools package is removed in F36:
https://fedoraproject.org/wiki/Changes/RemoveWirelessE...

fe62c7a93286184bcb910b44f924fad691aa8afd authored about 3 years ago
Do not hardcode specific rpmdb location

prepare-chroot-base always uses rpm from the host, so it can very well
keep the rpmdb location a...

d04af9be58dc9c4b34ce240e5b1f02ac49a91ac1 authored about 3 years ago
Merge remote-tracking branch 'origin/pr/118'

* origin/pr/118:
Drop Travis CI

3b7c39cce9e735cd65e403b15975683bb28779e0 authored over 3 years ago
Ignore failure of 'tests:dom0-fc25:src-rpm' job

It fails on a pre-trans script of a java package. From Fedora 25. We
don't have any need for thi...

d321f2ef607866e9c67c0b2a2298a745fc8433f8 authored over 3 years ago
Drop Travis CI

6e1788ca131c8fb0b5efeb126c1249bd3c5984e3 authored over 3 years ago
ci: use 'vm' runner

It's required to use systemd-nspawn.

16290a3148151493cfbf6506efb8b9522a69e5f0 authored over 3 years ago
Force systemd-nspawn for mock

According to documentation it is the default if available, but be
explicit about it. "nspawn" ha...

09263eae786a24f3220991452085c534cd7fac68 authored over 3 years ago
Disable 'nosync'

It uses nosync library from the host, which may be incompatible with
environment inside chroot. ...

eeaa5c465fef8fd0ac888be01ee8a7abf4b042dd authored over 3 years ago
Merge remote-tracking branch 'origin/pr/116'

* origin/pr/116:
legacy: fix native double % in sed regex

e6a8f00ca80420e0276e3d84194631082b7e4328 authored over 3 years ago
gitlab-ci: update vm test jobs to fc35

c8fa4f11b06fa517606a412e4992ea2f8efb878a authored over 3 years ago
legacy: fix native double % in sed regex

Commit 08f596625c692130ce90ba5d909284fb0acbe049 tried to fix native
double %, but there are some...

53ee92e0b99799d3db8996e3f8b555157c50fb63 authored over 3 years ago
Merge remote-tracking branch 'origin/pr/115'

* origin/pr/115:
Add Fedora 36 primary key

5aa4f890ec912660ed50fb5229c1b0e8d90dcc55 authored over 3 years ago
legacy: fix sed regex to allow double % natively

For example in grub2, we have several entries like
%{expand:%define_legacy_variant %%{legacy_pac...

08f596625c692130ce90ba5d909284fb0acbe049 authored over 3 years ago
Add Fedora 36 primary key

28dad4009f4e9bbe933501c4a9224b9a9cffa8fb authored over 3 years ago
legacy: define _sourcedir to allow include

This is needed notably for grub2.

5832304dff3a93f4428d75815b9eed55e33cece2 authored over 3 years ago
Merge remote-tracking branch 'origin/pr/112'

* origin/pr/112:
builder.conf: add mock only on USE_DIST_BUILD_TOOLS
builder: ensure to add ...

20d4923b0089f768287357e1653eb475679db28f authored over 3 years ago
builder.conf: add mock only on USE_DIST_BUILD_TOOLS

ba8cdfc6814b19d91742964139cc26372f5dadd4 authored over 3 years ago
Merge remote-tracking branch 'origin/pr/95'

* origin/pr/95:
Fix REPO_PROXY builds

04eb7b3bf438250c1b0a19281bbdf9497150d2ca authored over 3 years ago
Merge remote-tracking branch 'origin/pr/113'

* origin/pr/113:
Fix double parsing spec file

c27cd71cdb1433277c1dbc3b1922048cae382946 authored over 3 years ago
Merge remote-tracking branch 'origin/pr/111'

* origin/pr/111:
Makefile-mock: fail with a clear error when mock is not installed.

ff168b05de0eb9a0757597dae5a9a8557236e5ed authored over 3 years ago
Merge remote-tracking branch 'origin/pr/110'

* origin/pr/110:
prepare-chroot-base: add cracklib for Fedora 34+
Support for Fedora 35

28a2814ce328b96c1aacfc9da5d6156f506b9b02 authored over 3 years ago
Fix double parsing spec file

The legacy builder parses the spec file twice: once inside the chroot to
resolve all the macros ...

19fbe6beb7b2d697181b17704c6e2a3d2d4dafc3 authored almost 4 years ago
builder: ensure to add mock and rpm-build in deps

3516490c7620e0e024edcfc7945fc1b1797c2d0c authored almost 4 years ago
Makefile-mock: fail with a clear error when mock is not installed.

"mock" is not included in the "make install-deps" set, so the build
with `USE_DIST_BUILD_TOOLS=1...

b392b4575bc1e4126498b4740167f4b4543f3c2e authored almost 4 years ago
prepare-chroot-base: add cracklib for Fedora 34+

54971348f733ffb6e69badd1bad6fef0b2710385 authored almost 4 years ago
Support for Fedora 35

QubesOS/qubes-issues#6969

43479da94863befdae0350f21220324f5c8d2ac8 authored almost 4 years ago
Let makefiles honor VERBOSE setting

Signed-off-by: Yann Dirson <[email protected]>

2c5291359939356278d379e04ca9acbdbf8e017a authored almost 4 years ago
Fix parsing legacy spec files with a legacy builder

Legacy spec files try to access 'version' (and sometimes 'rel') file
directly, in a current dire...

00bea13e220497efc288ffa14019dda579257723 authored almost 4 years ago
Exclude xfce4-screensaver from the Xfce template

Fixes QubesOS/qubes-issues#6810

bb62043482e15d110a3f31d70058ab02bcf821bf authored almost 4 years ago