Lee Duncan
2014-07-23 19:57:15 UTC
Hi:
I am trying to build a KMP package for SLES 11 SP3 using IBS.
I am modeling my package after ocfs2, if that helps answer my question.
My package patches the rbd device driver, patching rbd.c, then builds
the rbd.ko kernel module.
I can get this to work on my local system using rpmbuild. My local
system is SLES 11 SP3, and the kernel on it is 3.0.101-0.35-default.
But when I specify SLES 11 SP3 as a build target in IBS, it seems to get
kernel-syms-3.0.76-0.11.1.
This causes patch errors because the 3.0.76 kernel had an older version
of rbd.c.
In my spec file, I have:
BuildRequires: kernel-syms
I have also tried:
BuildRequires: kernel-syms = 3.0.101
and
BuildRequires: kernel-syms >= 3.0.101
I have several questions:
- Why does my system have a newer 3.0.101 kernel and the build
service have an older one?
- Can I specify 3.0.101, or should I just patch against
3.0.76?
- How do I know what kernel a particular OS flavor will use
in general?
I am trying to build a KMP package for SLES 11 SP3 using IBS.
I am modeling my package after ocfs2, if that helps answer my question.
My package patches the rbd device driver, patching rbd.c, then builds
the rbd.ko kernel module.
I can get this to work on my local system using rpmbuild. My local
system is SLES 11 SP3, and the kernel on it is 3.0.101-0.35-default.
But when I specify SLES 11 SP3 as a build target in IBS, it seems to get
kernel-syms-3.0.76-0.11.1.
This causes patch errors because the 3.0.76 kernel had an older version
of rbd.c.
In my spec file, I have:
BuildRequires: kernel-syms
I have also tried:
BuildRequires: kernel-syms = 3.0.101
and
BuildRequires: kernel-syms >= 3.0.101
I have several questions:
- Why does my system have a newer 3.0.101 kernel and the build
service have an older one?
- Can I specify 3.0.101, or should I just patch against
3.0.76?
- How do I know what kernel a particular OS flavor will use
in general?
--
Lee Duncan
SUSE Labs
--
To unsubscribe, e-mail: opensuse-packaging+***@opensuse.org
To contact the owner, e-mail: opensuse-packaging+***@opensuse.org
Lee Duncan
SUSE Labs
--
To unsubscribe, e-mail: opensuse-packaging+***@opensuse.org
To contact the owner, e-mail: opensuse-packaging+***@opensuse.org