[qubes-users] how to modify qubes-installer-ISO

Dear qubes-community,

I would like to modify the qubes-iso (add a different kernel, maybe add
a wireless driver). Did someone here solve that already? A brief google
on the subject reveals that modifying ISO's is not straightforward ...
and touching the kernel may add extra difficulties.
Thank you for your help,

Bernhard

Bernhard:

Dear qubes-community,

I would like to modify the qubes-iso (add a different kernel, maybe add
a wireless driver). Did someone here solve that already? A brief google
on the subject reveals that modifying ISO's is not straightforward ...
and touching the kernel may add extra difficulties.

Qubes ISO building | Qubes OS covers building the iso. Adding a different kernel would be difficult, but I think you could stage the wireless driver in one of the template builds it contains.

It is relatively easy to build a custom iso, and certainly to include
alternate kernel builds and drivers in the templates. (I assume that
this is what you want.)
If you use the stock templates, then you can customise them simply
enough by adjusting the build parameters, and packages, in (e.g.) builder-debian.

I would like to modify the qubes-iso (add a different kernel, maybe add
a wireless driver). Did someone here solve that already? A brief google
on the subject reveals that modifying ISO's is not straightforward ...
and touching the kernel may add extra difficulties.

Qubes ISO building | Qubes OS covers building the iso.
Adding a different kernel would be difficult, but I think you could stage
the wireless driver in one of the template builds it contains.

It is relatively easy to build a custom iso, and certainly to include
alternate kernel builds and drivers in the templates. (I assume that
this is what you want.)
If you use the stock templates, then you can customise them simply
enough by adjusting the build parameters, and packages, in (e.g.) builder-debian.

Thank you, awokd and unman. So I cannot just take the std installer,
unpack the iso, add/replace a kernel, and repack it? That is certainly a
bit naïve as approach, but since I can do the same with a working
xen/qubes why is the installer so different? Bernhard

From your post I thought you wanted to include material in the
templates, as I said..
If all you want to do is change a dom0 parameter, or package, then you
can do what you say - unpack, change, repack. (People do this for UEFI
parameters, I think.)
You wont be able to distribute that iso unless you rework the check, but
it should be fine for your purposes.