pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] mksandbox fix for OS X Yosemite new kernel location



"J. Lewis Muir" <jlmuir%imca-cat.org@localhost> writes:

> I don't know why the kernel needs to be copied on OS X in the first
> place.  Was this done just to be like the other supported platforms, and
> it was easy to do?  Or was it done because it was really needed?  If the
> kernel really does need to be copied, then the below patch won't solve
> the problem on OS X Yosemite.  However, it would be trivial to make a
> new patch that does copy the kernel from the new location to wherever it
> should go in the sandbox (presumably /System/Library/Kernels/kernel).
> I'd be happy to provide such a patch if that would be helpful.

I don't know why either, but some programs on some systems expect to
have a kernel (to get symbols from).   So I think it's easier to copy
the kernel from where it is (to the same place in the chroot) than to
figure out why we don't need it.   A patch to do that (and tested) seems
safe enough to apply.

Attachment: pgpAg7cSUTnX8.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index