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 >>> <[email protected]>: >>> >>> 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 When running make iso I get:
[user@qubes-builder qubes-builder]$ make iso -> Preparing for ISO build... --> Removing old rpms from the installer repos... which: no createrepo_c in (/home/user/.local/bin:/home/user/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/home/user/qubes-builder/qubes-src/builder-rpm/tools) which: no createrepo in (/home/user/.local/bin:/home/user/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/home/user/qubes-builder/qubes-src/builder-rpm/tools) ---> Cleaning up repo: dom0-updates... ./clean_repos.sh: line 6: -q: command not found ---> Cleaning up repo: installer... ./clean_repos.sh: line 6: -q: command not found ---> Cleaning up repo: qubes-dom0... ./clean_repos.sh: line 6: -q: command not found make[1]: *** [Makefile:80: clean-repos] Error 127 make: *** [Makefile:485: iso.clean-repos] Error 2 [user@qubes-builder qubes-builder]$ Do I need some libraries or something? 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/d05519f3-5234-8eaf-ecdc-4b943060c1fd%40militant.dk.
signature.asc
Description: OpenPGP digital signature
