On 15/11/14 03:20 PM, Digimer wrote:
On 11/11/14 04:29 AM, Lars Ellenberg wrote:
On Mon, Nov 10, 2014 at 12:21:01PM -0500, Digimer wrote:
On 10/11/14 10:42 AM, Lars Ellenberg wrote:
On Mon, Nov 10, 2014 at 09:32:32AM -0500, Digimer wrote:
So to summarize, I only add:

====
          flush_signals(current);
====

No, you upgrade to 8.4 ;-) ^a^k Yes.

Oh you.

Soon, just not yet, promise!

I'll brush off my old RPM notes and see if I can sort out a patch.
Thanks!

No need, just fetch from git.

    Lars

I'd like to keep it as an RPM, and iirc, the git checkout doesn't
have an RPM builder does it?

Sure has. What did you think we build our packages from.

Hit a problem...

[root@rhel6-builder drbd-8.3]# rpmbuild -ba drbd-kernel.spec
cat: /root/rpmbuild/SOURCES/drbd/preamble-sles10: No such file or directory
cat: /root/rpmbuild/SOURCES/drbd/preamble-sles10: No such file or directory
cat: /root/rpmbuild/SOURCES/drbd/preamble-sles11: No such file or directory
cat: /root/rpmbuild/SOURCES/drbd/preamble-sles11: No such file or directory
cat: /root/rpmbuild/SOURCES/drbd/preamble-rhel5: No such file or directory
cat: /root/rpmbuild/SOURCES/drbd/preamble-rhel5: No such file or directory
error: line 44: Illegal char '-' in: Version:
8.3.16_2.6.32-504.1.3.el6.x86_64

Problem lines (second is #44):

====
%define _this_kmp_version %{version}_%(echo %kernel_version | sed -r
'y/-/_/; s/\.el.\.(x86_64|i.86)$//;')
%kernel_module_package -v %_this_kmp_version -n drbd -p drbd/preamble -f
drbd/filelist-redhat
====

[root@rhel6-builder drbd-8.3]# uname -a
Linux rhel6-builder.alteeve.ca 2.6.32-504.1.3.el6.x86_64 #1 SMP Tue Nov
11 17:57:25 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

[root@rhel6-builder drbd-8.3]# git show-ref master
c4ef3dfeab841952dccd04bf5905dd214e8636a8 refs/heads/master
c4ef3dfeab841952dccd04bf5905dd214e8636a8 refs/remotes/origin/master

--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without access to education?
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to