On 2020-04-16 22:34, 'Max Andersen' via qubes-users wrote: > > 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 >> >> 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 > There is a typo in 3.2. It should be :
GIT_URL_linux_kernel=...
instead of just
URL_...
--
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/95ab3e94-6d4a-7969-f461-885c71f9e368%40qubes-os.org.
signature.asc
Description: OpenPGP digital signature
