[opensuse-buildservice] faking uname to 2.6 during build
Is there a way to (globally) run the build with 'setarch x86_64 --uname-2.6'? I looked through the SUSE:SLE-11* prjconf's but did not spot anything like that. Olaf
On Tuesday 2018-04-17 14:01, Olaf Hering wrote:
Is there a way to (globally) run the build with 'setarch x86_64 --uname-2.6'? I looked through the SUSE:SLE-11* prjconf's but did not spot anything like that.
I can relate. Uploaded some code to home:jengelh:dev/uname26 that you may find useful. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Apr 17 2018, Olaf Hering
Is there a way to (globally) run the build with 'setarch x86_64 --uname-2.6'?
Can't you just wrap make with it? Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Tue, 17 Apr 2018 14:18:07 +0200
schrieb Andreas Schwab
On Apr 17 2018, Olaf Hering
wrote: Is there a way to (globally) run the build with 'setarch x86_64 --uname-2.6'? Can't you just wrap make with it?
No. But perhaps I can tweak %_buildshell. Or even the invocation of build itself. Olaf
On Apr 17 2018, Olaf Hering
Am Tue, 17 Apr 2018 14:18:07 +0200 schrieb Andreas Schwab
: On Apr 17 2018, Olaf Hering
wrote: Is there a way to (globally) run the build with 'setarch x86_64 --uname-2.6'? Can't you just wrap make with it?
No.
Why not? Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Andreas Schwab
-
Jan Engelhardt
-
Olaf Hering