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
4.2) Build it:
make linux-kernel
Those extra steps X.Y) can be added into the whole ISO build process. Else, it
can be done after you have installed the ISO previously built (or downloaded
ISO from official website) with official Qubes packages and install the built
kernel manually by copying the RPMs create into
`/home/user/qubes-builder/qubes-src/linux-kernel/pkgs/dom0-fc25/x86_64/`.
I've probably written typo. Don't hesitate to ask in any case.
Best,
Frédéric
--
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/df39babb-03c3-ab0b-2157-d7d915292a02%40qubes-os.org.
signature.asc
Description: OpenPGP digital signature
