mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-14 18:21:41 +03:00
c3d1ece95c
This does present the drawback of not validating the kernel builds. Though I expect the user will build the kernel anyway after.
16 lines
423 B
Ruby
Executable File
16 lines
423 B
Ruby
Executable File
#!/usr/bin/env nix-shell
|
|
#!nix-shell -p ruby -i ruby
|
|
|
|
# This script is expected to be used to copy back the `kernel-builder` built
|
|
# linux configuration to the kernel's source directory.
|
|
#
|
|
# Use this to normalize the configuration after:
|
|
#
|
|
# - Changing configuration options
|
|
# - Changing the kernel version
|
|
|
|
ROOT = File.join(__dir__, "..")
|
|
exec(File.join(ROOT, "bin", "menuconfig"), "--only-save", *ARGV)
|
|
|
|
# vim: ft=ruby
|