[opensuse-kernel] New kernel flavour rpm
Hi, I'd like to create a new kernel flavour package with Con Kolivas patches[1] (including BFS) and BFQ IO scheduler[2]. As base I think kernel-vanilla may be a good start (no other patches, upstream .config). I see that every kernel flavour package links to kernel-sources which holds all .spec and .changes. There are many scripts in kernel-source and I'm not sure how they really work. How should I proceed with creating package, to minimize (avoid - is it possible?) breakage when kernel-source is updated? So far, I created subporject[3] and linked kernel-source from 12.3:Update. Then created kernel- ck with links to kernel-source. And what to do next? [1] - http://ck-hack.blogspot.com/ [2] - http://algo.ing.unimo.it/people/paolo/disk_sched/ [3] - https://build.opensuse.org/project/show?project=home%3AFisiu%3Akernel -- Pozdrawiam / Best regards, Mariusz Fik openSUSE Community Member GPG: 5FCE 7241 B3B9 32FD 455B C30E 42D6 6C88 9E83 7C3D
On 23.5.2013 22:36, Mariusz Fik wrote:
I see that every kernel flavour package links to kernel-sources which holds all .spec and .changes. There are many scripts in kernel-source and I'm not sure how they really work. How should I proceed with creating package, to minimize (avoid - is it possible?) breakage when kernel-source is updated? So far, I created subporject[3] and linked kernel-source from 12.3:Update. Then created kernel- ck with links to kernel-source. And what to do next?
I think the best for you is to clone the kernel-source.git tree from http://kernel.opensuse.org/git, create a new branch and add the patches to the series.conf file. Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Dnia poniedziałek, 27 maja 2013 15:04:18 Michal Marek pisze:
On 23.5.2013 22:36, Mariusz Fik wrote:
I see that every kernel flavour package links to kernel-sources which holds all .spec and .changes. There are many scripts in kernel-source and I'm not sure how they really work. How should I proceed with creating package, to minimize (avoid - is it possible?) breakage when kernel-source is updated? So far, I created subporject[3] and linked kernel-source from 12.3:Update. Then created kernel- ck with links to kernel-source. And what to do next?
I think the best for you is to clone the kernel-source.git tree from http://kernel.opensuse.org/git, create a new branch and add the patches to the series.conf file.
Michal
I followed Your tip. After cloning repo and creating my branch based on openSUSE-12.3 i started with README. My config is based on default. BFS/BFQ patches have modified kernel config but first time when `tar-up.sh` I forgot to run run_oldconfig.sh and build failed. After fixing my mistake, I changed a bit config for all kernels (than I realized that I can pass only my flavour to run_oldconfig.sh) but I build only my flavour in repo so it doesn't matter. I have one subject more to resolve, how do You write config files? Do You run make menuconfig? How do You track those dependencies in config? Thanks a lot for Your help. -- Pozdrawiam / Best regards, Mariusz Fik openSUSE Community Member GPG: 5FCE 7241 B3B9 32FD 455B C30E 42D6 6C88 9E83 7C3D
participants (2)
-
Mariusz Fik
-
Michal Marek