1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-18 05:21:47 +03:00
mobile-nixos/bin/kernel-normalize-config

16 lines
423 B
Plaintext
Raw Normal View History

#!/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