Skip to content
Browse files

manual-config: Patch conf.c for

This only affects the `oldaskconfig' make target, so it shouldn't really
affect current manual-config users, but it does make it more
straightforward to implement the generic kernel build on top of

Signed-off-by: Shea Levy <>
  • Loading branch information...
1 parent 06fac56 commit 7efab0f375e5d8af233dc1b17946936cba432fa4 @shlevy committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 pkgs/os-specific/linux/kernel/manual-config.nix
4 pkgs/os-specific/linux/kernel/manual-config.nix
@@ -81,6 +81,10 @@ let
sed -i "$mf" -e 's|/usr/bin/||g ; s|/bin/||g ; s|/sbin/||g'
sed -i Makefile -e 's|= depmod|= ${kmod}/sbin/depmod|'
+ # Patch kconfig to print "###" after every question so that
+ # from the generic builder can answer them.
+ # This only affects oldaskconfig.
+ sed -e '/fflush(stdout);/i\printf("###");' -i scripts/kconfig/conf.c
installPhase = ''

0 comments on commit 7efab0f

Please sign in to comment.
Something went wrong with that request. Please try again.