Jarkko Sakkinen on Nostr: Doing a distribution kernel for testing feature patch in Fedora is actually quite ...
Doing a distribution kernel for testing feature patch in Fedora is actually quite trivial now that I see the forest, and not only trees.
Up to the SRPM's it is exactly these steps:
1. git clone git@gitlab.com:cki-project/kernel-ark.git && cd kernel-ark
2. git -C ~/work/kernel.org/jarkko/linux-tpmdd diff master..v4l2-loopback > redhat/linux-kernel-test.patch
3. make dist-test-patch
4. make dist-srpm
Cool: three (!) weeks of improving my QA flows but now I can move on to the API breaking changes in the V4L2 loopback device :-) It is easier to develop the test code for anonymous inode version when you have the driver running in your desktop. Otherwise, it would be super painful.
nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqcm7wlyhq6f0yhmert2lsm45s3ej26dl4whu2y8n4w04gqhg3ctxscjqfqs (nprofile…qfqs) thanks for getting me up on speed with compiling Fedora kernel, could not have mastered it w/o you :-)
I'd like to remark steps two and three because those I added by trial and failure and peeking at redhat/Makefile. It probably would make sense to put a remark here: https://cki-project.gitlab.io/kernel-ark/
#fedora #linux
Up to the SRPM's it is exactly these steps:
1. git clone git@gitlab.com:cki-project/kernel-ark.git && cd kernel-ark
2. git -C ~/work/kernel.org/jarkko/linux-tpmdd diff master..v4l2-loopback > redhat/linux-kernel-test.patch
3. make dist-test-patch
4. make dist-srpm
Cool: three (!) weeks of improving my QA flows but now I can move on to the API breaking changes in the V4L2 loopback device :-) It is easier to develop the test code for anonymous inode version when you have the driver running in your desktop. Otherwise, it would be super painful.
nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqcm7wlyhq6f0yhmert2lsm45s3ej26dl4whu2y8n4w04gqhg3ctxscjqfqs (nprofile…qfqs) thanks for getting me up on speed with compiling Fedora kernel, could not have mastered it w/o you :-)
I'd like to remark steps two and three because those I added by trial and failure and peeking at redhat/Makefile. It probably would make sense to put a remark here: https://cki-project.gitlab.io/kernel-ark/
#fedora #linux