Am Montag, 8. August 2011 schrieb Michal Marek:
On 6.8.2011 03:55, Cristian Rodríguez wrote:
kernel-default.x86_64: W: file-contains-date-and-time /lib/modules/3.0.0-7-default/kernel/fs/ubifs/ubifs.ko Your file uses __DATE and __TIME__ this causes the package to rebuild when not needed
It is just one remaining in the ubifs module.
Yeah, I missed that one, I'll send a patch.
The second issue is somewhere in the pre/post, the nvr variable changes all the time
--- /tmp/tmp.9i2CeizOnc 2011-08-04 20:37:46.965592003 +0000 +++ /tmp/tmp.BkE5Rahqtz 2011-08-04 20:37:47.005592003 +0000 @@ -81,7 +81,7 @@
if [ 1 = 1 ]; then
/bin/bash -${-/e/} $wm2 --add-kernel 3.0.0-7-default
else
- nvr=kernel-default-base-3.0.0-7.1 + nvr=kernel-default-base-3.0.0-7.2
rpm -ql $nvr | /bin/bash -${-/e/} $wm2 --add-kernel-modules
3.0.0-7-default
fi
else
Can the kernel version be determined at runtime instead of at compile time so we never get this issue anymore ? applies to KMPs as well.
Does RPM set some env var with the name-version-release string? If not, I'm affraid build-compare will have to work around this.
build-compare is full of work arounds for specific cases. And if it's only this specific string, we can patch it. Testing it will be tough though :) Greetings, Stephan -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org