From a838306d2892aa1d29b55f9eb54b68bf4bfdb358 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?= Date: Sun, 10 Feb 2019 22:48:07 +0100 Subject: [PATCH] builder: explain how to use Qubes pre-built packages QubesOS/qubes-issues#4788 --- building/qubes-builder.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/building/qubes-builder.md b/building/qubes-builder.md index 7cabbc29..62415811 100644 --- a/building/qubes-builder.md +++ b/building/qubes-builder.md @@ -135,6 +135,20 @@ If you want to somehow modify sources, you can also do it, here are some basic s make iso +### Use pre-build Qubes packages + +For building just few selected packages, it's very useful to download pre-built qubes-specific dependencies from `{yum,deb}.qubes-os.org`. This is especially true for gcc, which takes several hours to build. + +Before creating the chroot, add to your builder.conf + + USE_QUBES_REPO_VERSION = $(RELEASE) + +It will add the 'current' Qubes repository to your chroot environment. In that case, you can build only the packages you are interested in. If you want to use also the 'current-testing' repository, add also to your configuration + + USE_QUBES_REPO_TESTING = 0 + +Please note that if you have an existing chroot, this will not add the necessary configuration into the build environement. In that case, you will have to clean first your chroot. + Code verification keys management ---------------------------------