Ecosyste.ms: OpenCollective

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

github.com/QubesOS/qubes-linux-template-builder

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

Adjust templateFile() for empty flavor

When callTemplateFunction() iterates over template flavor and options,
it uses "+" as "no flavor...

44e9d8f979ecb965d8ab32d53fd49e0ea31a1175 authored over 1 year ago by Marek Marczykowski-Górecki <[email protected]>
export CACHE_DIR based on CACHEDIR

5ae5305e293049f3dde8172cd44ef67f30a04b0e authored over 1 year ago by Frédéric Pierret (fepitre) <[email protected]>
Allow builder plugin to dynamically generate template.conf

Export a TEMPLATE_CONF variable with expected location for the
template.conf. Builder plugin can...

3981a3e1d2ea490fc014ebf237e2fbced5b241e8 authored almost 2 years ago by Marek Marczykowski-Górecki <[email protected]>
gitlabci: use dedicated file

ab067191e8bfddfa032e11979adc1906f7af8a00 authored about 2 years ago by Frédéric Pierret (fepitre) <[email protected]>
ci: test also archlinux and gentoo

cb213c70b34d95fb3cd35371a19849fe02c16ee7 authored about 2 years ago by Frédéric Pierret (fepitre) <[email protected]>
functions.sh: add legacy function for template scripts

ec1986e7e11c45b60a1d67a3fbf8946f3253f6a6 authored about 2 years ago by Frédéric Pierret (fepitre) <[email protected]>
Ensure to set INSTALL_DIR with builderv2 content

39cf10b5de8e0e32ccca706bf88ea5b6161d75e4 authored about 2 years ago by Frédéric Pierret (fepitre) <[email protected]>
Add gitlab-ci

feb205a6f15cb231b0e323b6e70ad8318cbbb2fa authored about 2 years ago by Frédéric Pierret (fepitre) <[email protected]>
Backport from builderv2

Adapt functions.sh to keep split with functions-name.sh as there
code run outside dispvm.

b1ae30719b9956716331ef760b3c3bd902bb17c0 authored about 2 years ago by Frédéric Pierret (fepitre) <[email protected]>
Expose that we use legacy builder

b80acfaacd361132f4a84f1e67e0edc8912bb017 authored about 2 years ago by Frédéric Pierret (fepitre) <[email protected]>
umount_kill.sh: use builderv2 refactor code from umount-kill

We keep a symlink for legacy usage in build scripts of
linux-template-builder.

2274db04325724e90da2209080d6b6065c54b49a authored about 2 years ago by Frédéric Pierret (fepitre) <[email protected]>
Add RELEASE to the allowed variables

Some template builders (Gentoo) may need it.

0c3c8de01c9802eb2e78d651568da6804b65e453 authored over 2 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/23'

* origin/pr/23:
prepare: use full path for sfdisk

77703cb114610ffb4ef4c3fde552c6f79be8c882 authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
prepare: use full path for sfdisk

Related QubesOS/qubes-issues#6567

cb793bc7af8b412f0144f25b114c0814b106b611 authored over 3 years ago by Frédéric Pierret (fepitre) <[email protected]>
Fix setting cachedir

Set it to absolute path, otherwise in some places it would refer to a
dir in the qubes-builder t...

4a8d03e51084f81a664ee38274196ebf2447868e authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.0.6

4d8c03b9a88693fb74435d8d3dde09ea02641bb7 authored over 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Cleanup template.conf symlink too

6b5d0922a46e37dc00bc9cf2aeeb59ab1409b771 authored over 4 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.0.5

855386b21958124bb8398939d0af108df5dbb274 authored over 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Take template.conf sent from DispVM building the template

aea3ada7816f9befb062e5968bbc844215bf1bb4 authored over 4 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.0.4

7a2ab9583e048adea11f84becf44961b14349fde authored over 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/19'

* origin/pr/19:
Enable variants of template.conf based on $DIST and $TEMPLATE_FLAVOR.
Initia...

8b739e8e81bc4e33fa83dd04444cc37d3446ec7f authored over 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/21'

* origin/pr/21:
Add GENTOO_MIRROR and ARCHLINUX_MIRROR in whitelist

a7896ea88cd00d60dd4a5d86a26382866e130862 authored over 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Add GENTOO_MIRROR and ARCHLINUX_MIRROR in whitelist

ac8b4da4ec434926e01d4be944f46ac798ef28a2 authored over 4 years ago by Frédéric Pierret (fepitre) <[email protected]>
version 4.0.3

fa7b96691477f8d2603862ef4e59ac4aee45dbfd authored over 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Wait for the loop device in qubeize_image too

Similar to 6a6efa92350fe968ab88b9350caba68068578aac commit.

f3c7619f5bf1e25fb1b23ef7b4a1ba2a3c859a93 authored over 4 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.0.2

5ee8cc2a85c68a80563707e3ea75252204a5bdcc authored over 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/20'

* origin/pr/20:
Removed obsolete references to vm.icon_path

44c7ec83d7098c286a9ddce9678ae8197539e1b6 authored over 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Removed obsolete references to vm.icon_path

references QubesOS/qubes-issues#5934
needs QubesOS/qubes-core-admin#355

501dd57b59a0037ab959c54a94d276477d84d137 authored over 4 years ago by Marta Marczykowska-Górecka <[email protected]>
Wait for udev to create template root device

Scanning partitions can take a little, avoid race with udev and wait for
it explicitly.

6a6efa92350fe968ab88b9350caba68068578aac authored over 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Enable variants of template.conf based on $DIST and $TEMPLATE_FLAVOR.

fc3452694aff76573425a8fa696b6c8ff2134561 authored over 4 years ago by WillyPillow <[email protected]>
Initial support for qvm-template: include template.conf in package.

0e47b68e505627662083801eaf0f6f7a0675acf2 authored over 4 years ago by WillyPillow <[email protected]>
Add NO_ARCHIVE for the builder creating sources

bddaca3a8debe79292c5d2c532abbbe49c9f6be1 authored over 4 years ago by Frédéric Pierret (fepitre) <[email protected]>
Change a symlink to a copy to avoid backup issues

fixes QubesOS/qubes-issues#1770

de01535bab50cf008421013d0ce0dfa7bdb59542 authored over 4 years ago by Marta Marczykowska-Górecka <[email protected]>
Check if DIST_DOM0 provided is not empty

cd514f290d897ea3641384ddf1afda8d395cc8b8 authored over 4 years ago by Frédéric Pierret (fepitre) <[email protected]>
Ensure compression format for RPM payloads

Related to https://fedoraproject.org/wiki/Changes/Switch_RPMs_to_zstd_compression

QubesOS/qubes...

2917350f6ff451ec4022bf6088a781d91109eb96 authored over 4 years ago by Frédéric Pierret (fepitre) <[email protected]>
rpm: make old root.img unlink explicit

Co-authored-by: ttasket <[email protected]>
Closes #1

3a04f2adaf709e650be4aa7c3e088eacbb2d46ab authored about 6 years ago by Marek Marczykowski-Górecki <[email protected]>
appmenus: handle multiple releases common menus

8b6f0e0e1ff3bfffe5e65cd629726155d77fefd4 authored over 6 years ago by fepitre <[email protected]>
Merge remote-tracking branch 'qubesos/pr/12'

* qubesos/pr/12:
bind mount /usr/local

0a77671d21b3274222d3c0f8c2e514d7fb657c33 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
bind mount /usr/local

fd2c693ca8524be4c20c6b5361bc6eecabacc1b0 authored over 6 years ago by Reynir Björnsson <[email protected]>
version 4.0.1

d8ccdfc8f02e2adae1d969145e90683f1d38e96f authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Rename TIMESTAMP variable to TEMPLATE_TIMESTAMP

Make it explicit that it's about template. Allow setting it from the
outside, to make predictabl...

6cbac4b4e075515e6d331f0c446293813f653b52 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Mark phony targets

1c7006b829e1678cdf2a252f1e5ecda4b08733a3 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix handling TEMPLATE_LABEL when calculating template name

Yet another case of make not passing exported variables to $(shell ...)
(https://savannah.gnu.or...

47ea5b90eae0c0398dabdfd95c030cc236c8718e authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Use full path to mkfs.ext4

On some systems (Debian, OpenSUSE) /sbin isn't in PATH for normal users.

6dbed7ec3be9767cc04a814dc86cc3bd5e62be4e authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Pretend the template rpm is build the standard way

This allows to reuse standard update-repo-* and sign-* make targets.

QubesOS/qubes-issues#3935

a78fc2ddbbfcfb1c788af5d792776f61a6580adb authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
fix functions-name.sh

ee42db95ece6818b950a77bb00e0262573a408eb authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Add 'sign' target

This will ease signing just one template, instead of checking all of
them for the unsigned one(s).

0a8e29571ffd4604c7c36c722c6a9ec879e7db5f authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Remove raw root.img after packaging it into rpm - if DISCARD_PREPARED_IMAGE is set

310019ea3c1df17217e82f0c9b8c48804885033d authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Add support for defining QubesOS repository mirror

75ca54bea61760ffcbd5edf150eec8eb834443cf authored over 6 years ago by Frédéric Pierret <[email protected]>
rpm: avoid removing unrelated files on template reinstall

Fixes QubesOS/qubes-issues#3294

941d7ec4483297e698b0af2732b49f850d085753 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'qubesos/pr/9'

* qubesos/pr/9:
Use full path for tools normally in /sbin

e62c948068d52641f16a62ee0e18933672f5c831 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Use full path for tools normally in /sbin

Do not rely on Fedora-specific setting - having /sbin in PATH also for
normal user. This allows ...

c7bbdbf51c502493aaeb7fd44ea44efdf1d097c0 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Add configurable template root volume size

Allow to override default 10G.

310837b4eea66d97ce18cfea3649aa94835ced07 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Add CENTOS & EPEL mirror definition

4d73c0abc70b89a7bf26c8b5083d3cbd1813ac19 authored about 7 years ago by Frédéric Pierret <[email protected]>
Rename REPO_BASEURL_PREFIX to FEDORA_MIRROR for consistency with builder-debian

5da4426ac31d8ecb8b9b8c1c6a86afbbc33b0a25 authored about 7 years ago by Frédéric Pierret <[email protected]>
TEMPLATE_ENV_WHITELIST: add REPO_BASEURL_PREFIX

0ec5146368701de3c4683bbd143bcd7d33fd74b7 authored about 7 years ago by Frédéric Pierret <[email protected]>
Add support for templates upload and syncing

aeed2f1fc8f72fa45601e0e364cff64933b292bd authored about 7 years ago by Frédéric Pierret <[email protected]>
version 4.0.0

9a6b16dc6fc8beef585a1518473fd5f6edf21dae authored about 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Change partition layout

Put root filesystem as the last partition, to ease resizing.

Fixes QubesOS/qubes-issues#3173

2d4975c09145459b43461ae5b35fcb7b276ffe6d authored about 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Remove more intermetiate files when DISCARD_PREPARED_IMAGE=1

fcc771715a16419a8cb49eb1ef00eee21efed25f authored about 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Use more generic variable for not keeping prepared image

Use this:
DISCARD_PREPARED_IMAGE=1

fe05ad6935f0cf42e2853afe2b17aa600a71c573 authored about 7 years ago by Marek Marczykowski-Górecki <[email protected]>
travis: do not keep prepared_image/*.img, to save space

There is limited disk space available on Travis-CI. Build product it
thrown away anyawy, so do n...

bca3759c7848f8b1244f7e600af06cd0d8dbe652 authored about 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'qubesos/pr/2'

* qubesos/pr/2:
Fix parameter expansion for appmenus directory
Whitelist APPMENUS_DIR settin...

1d407d1fc5c6d546acf20bd707f09a8b08c371ec authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix parameter expansion for appmenus directory

9a1032e2eb9fd4458b72e88e158f3dddab2e0e68 authored over 7 years ago by Frederic Pierret (Epitre) <[email protected]>
Whitelist APPMENUS_DIR setting

7c053165f3615d4b09157aadd038db76ce001579 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Whitelist APPMENUS_DIR setting

c5d316b1ff6dca3cb0396458f95e92f432702af7 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Update in 'help' target for 'make clean' description

d1564aa351764733f8eecd58d0c5fe98ace30132 authored over 7 years ago by fepitre <[email protected]>
Add TEMPLATE_OPTIONS to whitelisted environment variables

QubesOS/qubes-issues#2954

061eb5dc02e943aeba94f5acd60e6584a889d304 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
template: add SRC_DIR to environment vars whitelist

It is needed to calculate path to individual components.

5de7c6deed43288b9b1ebd7bc955e99401fd2eae authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Do not use full path to mountpoint program

It may reside in different places (/bin in Debian, /usr/bin in Fedora).
Use $PATH for this.

be395a8ada56d3f68a3fff6d38ba4138a9c97608 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
rpm: drop dependencies on dom0 stuff

Installing template should _not_ be a way to install all the Qubes dom0.
On the other hand, thos...

78a26993717f7e7bd2760b2339fe76a71bfe4937 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
version 3.1.0

11d1b89bc596ec6dcfbb059d0ea64a8f6c19c9ed authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Add support for template with partition table on root.img

When TEMPLATE_ROOT_WITH_PARTITIONS is set, include (GPT) partition table
and install actual OS o...

9b2078d346a4b5059cecc22410d728c8236d61a4 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Filter environment exposed to template build scripts

Do not expose host envionment there. This, among other things, fixes some
packages that create/m...

a97fe13c1b5a1525e10dcff3796dcf539d349f9e authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Call qvm-template-postprocess if present instead of internal script

Actions required after template installation differs between Qubes
releases. Lets keep template ...

bb836e5d46003e7986517dcc42ac3c74a3f5ad3c authored about 8 years ago by Marek Marczykowski-Górecki <[email protected]>
version 3.0.6

819757e75491debf9aaea76816fd31c54bbd36be authored over 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Make template builder working on Debian

1. Use bash explicitly where required
2. Don't use bash-isms where not.

QubesOS/qubes-issues#1907

d976ffd3a6b683cf7b9777a2470f9b88e2db4aa0 authored over 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Rename function chroot to chroot_cmd

Do not create function with the same name as standard command, it is
very confusing.

Fixes Qube...

b427341d28f32dbbb4fc1763a5ff41cef309cb8c authored over 8 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix a minor losetup usage bug

f51e3a09fe732b1214387d99823a50bf81bbef55 authored over 8 years ago by M. Vefa Bicakci <[email protected]>
version 3.0.5

a5f018da1a7adb49cb3e977f0889e14eee0ce915 authored almost 9 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge tag 'jm_09af4b94'

Tag for commit 09af4b94333a6c565f19f66d221c401a6a851c43

# gpg: Signature made Thu 24 Dec 2015 1...

f7a3ce03e3924b67b7f295478fe07049637b0415 authored almost 9 years ago by Marek Marczykowski-Górecki <[email protected]>
functions.sh: Allow generic TEMPLATE_FLAVOR_DIR that matches all flavors, or even no flavors

Use an asterisk in place of a '+flavor' to indicate a template directory to be applied
to all fl...

09af4b94333a6c565f19f66d221c401a6a851c43 authored almost 9 years ago by Jason Mehring <[email protected]>
functions.sh: unset "build_step_files" var to prevent loading same files if no files found on another run

b4fbcb8071d3da6fdb9a9a50a2a2ef4dd3f9b472 authored almost 9 years ago by Jason Mehring <[email protected]>
function.sh: Allow multiple template directories to be searched

Return all and run matches instead of only one which allows flavors
like salt to have multiple o...

b61fdaf843242d19984c01af236078b199d577da authored about 9 years ago by Jason Mehring <[email protected]>
version 3.0.4

621a21a5284b2e796a0eca2653b2bed031177879 authored about 9 years ago by Marek Marczykowski-Górecki <[email protected]>
rpm: remove icons on package uninstallation

ff22e7d199a61db0e5e8679989263067c1d0029d authored about 9 years ago by Marek Marczykowski-Górecki <[email protected]>
create_template_list.sh enhancements

- allow to pass environment variable '$YUM_OPTS' (to allow adding for example '--assumeyes')
- ...

bdd06c77afa56a4c830d87eff26316754d51a804 authored about 9 years ago by Patrick Schleizer <[email protected]>
Merge remote-tracking branch 'origin/pr/10'

* origin/pr/10:
- Fixed 'Qubes Builder: install-templates.sh wants to install the 'same' image...

24f3f78e72b4fb86ac4f0a52fd2bc48b9d4443b4 authored about 9 years ago by Marek Marczykowski-Górecki <[email protected]>
- Fixed 'Qubes Builder: install-templates.sh wants to install the 'same' image multiple times'.

- By default, add only newest versions to the list of files to be installed.
- Add older versio...

aba808291e1fc1e3aeab318bb921b83fa5a6a8a5 authored over 9 years ago by Patrick Schleizer <[email protected]>
enable errtrace right after xtrace

ec69d65372b37d83437f8eeb53abd3e885fea0e2 authored over 9 years ago by Patrick Schleizer <[email protected]>
verbosity fixes

d16fac0b56c3ea5e6e4929fc3a1854d77a158ceb authored over 9 years ago by Patrick Schleizer <[email protected]>
Add missing 'set +x', move debug message to be visible

Since 'true' is used to show traced messages, it needs to be placed
after 'set -x'.

0b8d27c1fb6c3609dcd293faeabb8a15b229c4a1 authored over 9 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/8'

* origin/pr/8:
fixed 'verbosity disabling bug' https://github.com/QubesOS/qubes-issues/issues/...

5897b1a88245bdcb8f0f2d454d1eb54098d0df4a authored over 9 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge tag 'jm_3640af68'

Tag for commit 3640af684fb042d9443cfc15cfa4fa59c2129366

# gpg: Signature made Tue 04 Aug 2015 0...

645a90399530cb1bd467692b690e53e09fad8850 authored over 9 years ago by Marek Marczykowski-Górecki <[email protected]>
fixed 'verbosity disabling bug'

https://github.com/QubesOS/qubes-issues/issues/1100
Deprecated functions setVerboseMode, getXtrac...

e84645e5972d5a38f6273fb36398760660db5cfb authored over 9 years ago by Patrick Schleizer <[email protected]>
functions.sh: fix GLOBAL_CACHE error whay array does not yet exist

3640af684fb042d9443cfc15cfa4fa59c2129366 authored over 9 years ago by Jason Mehring <[email protected]>
minor indent

2167225d01047c0c242a02a9ccb24f01696c2efc authored over 9 years ago by Patrick Schleizer <[email protected]>
Propagate error code from rpmbuid

Fixes qubesos/qubes-issues#1099

48c942c4a66a9199240b074f6f2109b2cb3d83cc authored over 9 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/5'

* origin/pr/5:
example fix 'bug, not using errtrace when using VERBOSE'

qubesos/qubes-issues#...

713726a5a984a7e359383e82750cd8996efeb788 authored over 9 years ago by Marek Marczykowski-Górecki <[email protected]>
example fix 'bug, not using errtrace when using VERBOSE'

#1088

995c98e512725e280ad2093eaf2a3cbe236da55e authored over 9 years ago by Patrick Schleizer <[email protected]>