[opensuse-kernel] build service macros in kernel source spec
Hi, given the problems I have in getting aufs based NFS root mounting to work for 11.1, (hi Jeff), I stumbled across these macros: %if ! 0%{?opensuse_bs} BuildRequires: kernel-dummy %endif Am I supposed to install a kernel-dummy package or should this prevent me from build a kernel? Forgive me the ironic tone, but using a rpmbuild argument like --define 'opensuse_bs 1' is plain silly, isn't it. Do I miss something here? TIA, Pete -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
* Hans-Peter Jansen (hpj@urpla.net) [20100202 16:55]:
Am I supposed to install a kernel-dummy package or should this prevent me
Using kernel-dummy was AFAIK the way to sync versions across all kernel packages. I'll have to let others explain just how that worked in detail though. Philipp -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On 02/02/2010 11:15 AM, Philipp Thomas wrote:
* Hans-Peter Jansen (hpj@urpla.net) [20100202 16:55]:
Am I supposed to install a kernel-dummy package or should this prevent me
Using kernel-dummy was AFAIK the way to sync versions across all kernel packages. I'll have to let others explain just how that worked in detail though.
Yep, that's how it worked before the build service existed (and still works on the old SUSE-internal build service). It defines the kernel-dummy package, which only exists to provide a version and release number - and then the other packages inherit it via some build system magic. The problem is that the old build system didn't define any variables that could be used to key off of, so the opensuse_bs variable ends up being used as "not using the old build system" variable. So yes, it's safe to do --define "opensuse_bs 1". -Jeff -- Jeff Mahoney SUSE Labs -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On 2.2.2010 18:13, Jeff Mahoney wrote:
On 02/02/2010 11:15 AM, Philipp Thomas wrote:
* Hans-Peter Jansen (hpj@urpla.net) [20100202 16:55]:
Am I supposed to install a kernel-dummy package or should this prevent me Using kernel-dummy was AFAIK the way to sync versions across all kernel packages. I'll have to let others explain just how that worked in detail though.
Yep, that's how it worked before the build service existed (and still works on the old SUSE-internal build service). It defines the kernel-dummy package, which only exists to provide a version and release number - and then the other packages inherit it via some build system magic.
The problem is that the old build system didn't define any variables that could be used to key off of, so the opensuse_bs variable ends up being used as "not using the old build system" variable.
BTW, we removed all traces of kernel-dummy in 11.2 and later, it stayed in 11.1 only by accident. Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Tuesday 02 February 2010, 21:11:09 Michal Marek wrote:
On 2.2.2010 18:13, Jeff Mahoney wrote:
On 02/02/2010 11:15 AM, Philipp Thomas wrote:
* Hans-Peter Jansen (hpj@urpla.net) [20100202 16:55]:
Am I supposed to install a kernel-dummy package or should this prevent me
Using kernel-dummy was AFAIK the way to sync versions across all kernel packages. I'll have to let others explain just how that worked in detail though.
Yep, that's how it worked before the build service existed (and still works on the old SUSE-internal build service). It defines the kernel-dummy package, which only exists to provide a version and release number - and then the other packages inherit it via some build system magic.
The problem is that the old build system didn't define any variables that could be used to key off of, so the opensuse_bs variable ends up being used as "not using the old build system" variable.
BTW, we removed all traces of kernel-dummy in 11.2 and later, it stayed in 11.1 only by accident.
Great, these answers fulfill all my hopes ;-) Pete -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (4)
-
Hans-Peter Jansen
-
Jeff Mahoney
-
Michal Marek
-
Philipp Thomas