New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linux_testing_bcachefs: 4.15.2018.02.09 -> 4.15.2018.03.22 #37905
Conversation
else | ||
ROOT_SBINDIR=$(PREFIX)/sbin | ||
- INITRAMFS_DIR=/etc/initramfs-tools | ||
+ INITRAMFS_DIR=$(PREFIX)/etc/initramfs-tools |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this for? Is this configuration really meant to be read-only?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It wouldn't finish the make install
command without it.
The path there is absolute, and assumed a normal linux installation, not something like NixOS.
Recently upstream added some initramfs stuff, so that's what that's about.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing it's trying to create that path, which is of course bad. I wonder why, we should open an issue.
It is odd, since he even has a branch with nix support :) https://evilpiepirate.org/git/bcachefs-tools.git/commit/?h=dev
In the meantime, I'll merge, thanks!
Other than explaining that /etc change it looks good. I'm also very interested in bcachefs :) |
I wrote Kent about this, he replied:
@Chiiruno so maybe we should be trying to use DESTDIR instead of PREFIX, but only if the code doesn't try to exec anything with a path. Also, we should check what the initramfs file is that is put there, if it is needed we would need to have this file on NixOS. OTOH, I'm not sure that we use initramfstools? Maybe we should add a makefile flag to just skip that whole part if it's not used on NixOS, but then if someone is using Nix on Debian they might need that. What do you think? |
@wmertens Probably a Makefile flag would be for the best. Is changing |
bcachefs probably could need another update before the next release. |
@Mic92 You mean before the next NixOS release? |
yes |
Motivation for this change
zstd was added in a recent commit.
Further improvements to bcachefs, I find more frequent updates to this in particular is good since it's a rapidly developing project.
I hope it was alright to add myself as a maintainer to these two packages, since I'd like to maintain.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)