|
|
|
|
|
by cloudripper
620 days ago
|
|
Fair questions. If the question is "why did I need to chmod those files", the answer is that permissions modifications in the mkderivation build environment are not propagated to the build output. The quick and dirty solution I came up with was to make a chmod wrapper that logged the calls so that I could apply them after the entire build completed. For why I did not chmod the directories - that is something I should probably do when I get time again (cleaning up permissions handling more broadly). In my case at the time, I had the logs from the wrappers and did a quick filter before directly adding them to the script as a last hurdle to having a bootable machine after a month-long grind. The kernel config handling needs a good amount of attention too. I have a cleaner approach to that in mind that I haven't had the opportunity to work on. It will likely be December before I am able to invest much more time into it, but definitely open to any input generally. |
|
https://github.com/cloudripper/NixLFS/blob/64e333f60cca4bec5...
Could you speak a bit about why you did it this way instead of maintaining a complete copy of the kernel .config you wanted?