Hi,
Can you detail a little bit more exactly? If you want to build only the kernel and using other packages of qubes by using "USE_QUBES_REPO_VERSION=4.0"?
If so, in your local builder (not the chroot),
1) checkout the branch you want,
2) do the changes you want,
3) increment the release (rel file) else it will use certainly the qubes repo one.
Build the iso. That's it.
Best,
--
You received this message because you are subscribed to the Google Groups "qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qubes-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-devel/3415ecdd-80f8-45cf-8c79-1d2e6e19d768%40googlegroups.com.
Hi,
Can you detail a little bit more exactly? If you want to build only the kernel and using other packages of qubes by using "USE_QUBES_REPO_VERSION=4.0"?
If so, in your local builder (not the chroot),
1) checkout the branch you want,
2) do the changes you want,
3) increment the release (rel file) else it will use certainly the qubes repo one.
Build the iso. That's it.
Best,
On 2019-12-11 08:46, 'Dylanger Daly' via qubes-devel wrote:
--If I run make qubes-os-iso it appears to override my changes in linux-kernel.
Anyone know how to make that not happen?
On Monday, December 9, 2019 at 3:20:06 PM UTC+11, Dylanger Daly wrote:Hey Guys,
Apologies if someone has already asked this, is it possible to build a Qubes ISO with Kernel-Latest (Being 5.3.11-1 at time of writing) for both dom0 and appVMs?
It looks like the linux-kernel folder in qubes-builder/qubes-src is using the stable-4.14 branch, can I simply checkout v5.4.2-1 for example and build away?
TL;DR I'm trying to add Microsoft Surface Laptop 3 patches into the Qubes Installer and dom0 (https://github.com/qzed/linux-surfacegen5-acpi)
Any help is appreciated, cheers!
You received this message because you are subscribed to the Google Groups "qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qubes...@googlegroups.com.
Check this config: https://github.com/QubesOS/qubes-release-configs/blob/master/R4.0/qubes-os-iso-full-online.conf
We use this one for creating only latest iso without rebuilding Qubes packages. It only uses mirrors. In your case, add linux-kernel in COMPONENTS and do like I suggested in point 1-3.
Best,
To unsubscribe from this group and stop receiving emails from it, send an email to qubes-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-devel/38d15c2f-513d-4165-bad9-145623f1831e%40googlegroups.com.
-> Updating sources for linux-kernel...
--> Fetching from https://github.com/QubesOS/qubes-linux-kernel.git master...
--> Verifying tags...
--> Switching branch from surface-acpi branch to master
Switched to branch 'master'
--> Merging...
- clear COMPONENTS (for the build time at least)
- clear DISTS_VM (unless you want to use local template builds)
- set USE_QUBES_REPO_VERSION=4.0
- optionally set USE_QUBES_REPO_TESTING=1
- set INSTALLER_KICKSTART=/tmp/
qubes-installer/conf/travis-iso-full.ks
(file is in qubes-src/installer-qubes-os/conf/, but it's in that path inside build chroot)
--> Done:
qubes-src/linux-kernel/pkgs/dom0-fc25/x86_64/kernel-latest-5.4.2-2.qubes.x86_64.rpm
qubes-src/linux-kernel/pkgs/dom0-fc25/x86_64/kernel-latest-devel-5.4.2-2.qubes.x86_64.rpm
qubes-src/linux-kernel/pkgs/dom0-fc25/x86_64/kernel-latest-qubes-vm-5.4.2-2.qubes.x86_64.rpm
make[2]: Leaving directory '/home/user/Apps/qubes-builder'
make[1]: Leaving directory '/home/user/Apps/qubes-builder'
-> Preparing for ISO build...
--> Removing old rpms from the installer repos...
---> Cleaning up repo: dom0-updates...
---> Cleaning up repo: installer...
---> Cleaning up repo: qubes-dom0...
--> Copying installer-qubes-os RPMs...
--> Copying linux-yum RPMs...
--> Copying builder-rpm RPMs...
--> Copying linux-kernel RPMs...
Qubes OS Builder Repository 242 MB/s | 544 kB 00:00
Dependencies resolved.
Nothing to do.
Complete!
-> Installing installer-qubes-os build dependencies in fc25 environment
Qubes OS Builder Repository 246 MB/s | 544 kB 00:00
No package pungi-legacy available.
Error: Unable to find a match.
make: *** [Makefile:532: iso] Error 1
Last metadata expiration check: 0:00:37 ago on Wed Dec 11 23:28:32 2019.
Error:
Problem: conflicting requests
- nothing provides python2-functools32 needed by pungi-legacy-4.1.35-1.fc30.noarch
(try to add '--skip-broken' to skip uninstallable packages)
[user@work qubes-builder]$ make iso
-> Preparing for ISO build...
--> Removing old rpms from the installer repos...
---> Cleaning up repo: dom0-updates...
---> Cleaning up repo: installer...
---> Cleaning up repo: qubes-dom0...
--> Copying installer-qubes-os RPMs...
--> Copying linux-yum RPMs...
--> Copying builder-rpm RPMs...
--> Copying linux-kernel RPMs...
Qubes OS Builder Repository 256 MB/s | 544 kB 00:00
Dependencies resolved.
Nothing to do.
Complete!
-> Installing installer-qubes-os build dependencies in fc25 environment
Qubes OS Builder Repository 262 MB/s | 544 kB 00:00
No package pungi-legacy available.
Error: Unable to find a match.
make: *** [Makefile:532: iso] Error 1
[user@work qubes-builder]$ sudo chroot chroot-dom0-fc25 dnf install pungi-legacy
Qubes OS Builder Repository 257 MB/s | 544 kB 00:00
No package pungi-legacy available.
Error: Unable to find a match.
# vim: ft=make
VERBOSE ?= 2
BACKEND_VMM ?= xen
NO_SIGN="1"
GIT_BASEURL ?= https://github.com
GIT_PREFIX ?= QubesOS/qubes-
BRANCH ?= release4.0
RELEASE ?= 4.0
DIST_DOM0 ?= fc25
DISTS_VM ?=
COMPONENTS = \
installer-qubes-os \
linux-yum \
builder-rpm \
linux-kernel
BUILDER_PLUGINS ?= builder-rpm
USE_QUBES_REPO_VERSION=4.0
INSTALLER_KICKSTART=/home/user/qubes-src/installer-qubes-os/conf/iso-full-online.ks
--> Done:
The ISO can be found in iso/ subdirectory.
Thank you for building Qubes. Have a nice day!
[user@sys-usb BOOT]$ file vmlinuz
vmlinuz: Linux kernel x86 boot executable bzImage, version 4.19.86-1.pvops.qubes.x86_64 (user@build-fedora4) #1 SMP Sun Dec 1 07:16:00 UTC 2019, RO-rootFS, swap_dev 0x6, Normal VGA