building Ubuntu kernels on a Red Hat host

Robie Basak robie.basak at ubuntu.com
Wed Jan 13 21:47:15 UTC 2016


Hi Roger,

On Wed, Jan 13, 2016 at 04:37:03PM -0500, Roger W Nichols wrote:
> Turns out the raw_kernelversion variable was triggering a recursive make
> from 0-common-vars.mk, which printed the directory information.  All the
> `'" were confusing the shell, causing the error.  To fix the problem I
> added --no-print-directory into 0-common-vars.mk.
> 
> So, my question is.... Is this a bug? enhancement?  Is this even something
> Ubuntu team wishes to address given the unusual setup we have which
> triggered this?

This makes me wonder why you're seeing different behaviour.

On Debian and Ubuntu, /bin/sh runs dash. What does RHEL do? Could a
difference here explain the difference in behaviour that you're seeing?
The SHELL make variable might be useful here to experiment with.

I can't speak for the kernel team but I'd expect Makefile shell bits to
be POSIX compliant, and if it's not, then I'd file a bug with a patch.
Assuming that's the cause.

Robie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20160113/35e157aa/attachment.sig>


More information about the Ubuntu-devel-discuss mailing list