Sabayon / genkernel-next

An improved and modern remake of Gentoo genkernel (in: udev, plymouth; out: cross compiler support)
47 stars 45 forks source link

Make it possible to run genkernel as an unprivileged user - useful to build a kernel from an ebuild #14

Closed chutzimir closed 10 years ago

chutzimir commented 10 years ago

I am building my kernels from an ebuild (and making a binary package out of it) and had to do the following fixes because genkernel was breaking here and there (see the actual commits).

I may have a very niche use case here but the issues I encountered should be fixed anyway.

All these problems would be encountered by anyone running genkernel as an unprivileged user to prepare a kernel image or an initramfs.

The commits are self explanatory.

lxnay commented 10 years ago

It's all good, except for the ld.so.conf thing. ;)

chutzimir commented 10 years ago

I added 517929fe877e9fdb22cf10e7c32c63375f7eff9f, and tested as an unprivileged user. Also rebased on v51.

chutzimir commented 10 years ago

It seems that comments on a commit disappear with the commit itself (due to the rebase?). Too bad. We lost the history.