On 4/15/20 10:05 AM, Frédéric Pierret wrote: > On 2020-04-15 08:09, Max Andersen wrote: >> >>> Den 14. apr. 2020 kl. 08.02 skrev Frédéric Pierret >>> <frederic.pier...@qubes-os.org>: >>> >>> Hi, >>> I used to build newer ISO in the past for such troubles with kernel-latest >>> embedded. If you are interested, I can build you an 4.0.3 with >>> kernel-latest-5.6 for try? >> When I try, the builder script fails horribly. Can you write a stepguide? >> Maybe just commands and selections on how you build it(if it is not too much >> of a hassle)? > Sure, here are the procedure for building latest Qubes 4.0.3 ISO with already > built packages (templates included) using Qubes OS official repositories: > > 1) In a working directory, e.g. `/home/user/`, clone `qubes-builder`: > > git clone https://github.com/QubesOS/qubes-builder > > 2) Download specific builder conf file for such process: > > wget > https://raw.githubusercontent.com/QubesOS/qubes-release-configs/master/R4.0/qubes-os-iso-full-online.conf > -O /home/user/qubes-builder/builder.conf > > 3) Enable QubesOS testing packages for the build and specify release branch > for the installer: > > echo 'USE_QUBES_REPO_TESTING=1' >> /home/user/qubes-builder/builder.conf > echo 'BRANCH_installer_qubes_os=release4.0' >> > /home/user/qubes-builder/builder.conf > > 4) Get sources: > > cd /home/user/qubes-builder/ > make get-sources > > 5) Enable `kernel-latest` in the ISO build process: > > sed -i 's#\(<packagereq > type="\)optional\(">kernel-latest.*$\)#\1mandatory\2#' > qubes-src/installer-qubes-os/conf/comps-qubes.xml > > 6) Build ISO: > > make iso > > 7) Get your freshly built ISO in `/home/user/qubes-builder/iso` > > The current kernel-5.6 is still at PR stage. If you want to try it you need > to build it: > > 3.1) Add `linux-kernel` in `COMPONENTS`: > > echo 'COMPONENTS+=linux-kernel' > > 3.2) Change URL and BRANCH of the git repository: > > echo 'URL_linux_kernel=https://github.com/fepitre/qubes-linux-kernel' >> > /home/user/qubes-builder/builder.conf > echo 'BRANCH_linux_kernel=kernel-5.6' >> > /home/user/qubes-builder/builder.conf > > 4.1) Get sources of it: > > make get-sources
It went quite well with 5.5.13, but not with 5.6. I get the error: -> Updating sources for linux-kernel... --> Fetching from https://github.com/QubesOS/qubes-linux-kernel.git kernel-5.6... fatal: Remote branch kernel-5.6 not found in upstream origin The builder.conf contains: vim: ft=make VERBOSE ?= 2 BACKEND_VMM ?= xen GIT_BASEURL ?= https://github.com GIT_PREFIX ?= QubesOS/qubes- RELEASE ?= 4.0 DIST_DOM0 ?= fc25 DISTS_VM ?= COMPONENTS = \ installer-qubes-os \ linux-yum \ linux-kernel \ builder-rpm BUILDER_PLUGINS ?= builder-rpm USE_QUBES_REPO_VERSION = $(RELEASE) INSTALLER_KICKSTART=/home/user/qubes-src/installer-qubes-os/conf/iso-full-online.ks USE_QUBES_REPO_TESTING=1 BRANCH_installer_qubes_os=release4.0 URL_linux_kernel=https://github.com/fepitre/qubes-linux-kernel BRANCH_linux_kernel=kernel-5.6 Thank you very much for your help. I really appreciate it. Sincerely Max -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/8e51dca8-61e0-128b-ad12-427334b8363c%40militant.dk.
signature.asc
Description: OpenPGP digital signature