mirror of
https://github.com/nix-community/linuxkit-nix.git
synced 2024-09-11 11:55:24 +03:00
Update features
This commit is contained in:
parent
cede0919bb
commit
b46c75a999
@ -9,6 +9,7 @@ PLIST=@plist@
|
||||
usage() {
|
||||
echo "Usage: $(basename "$0") [-v] [-f features] [-s size] [-c cpus] [-m mem]" >&2
|
||||
echo "-v means verbose" >&2
|
||||
echo "Multiple features: kvm,big-parallel,my-extra-feature" >&2
|
||||
}
|
||||
|
||||
# Let's us keep /usr/bin out of the PATH but still use sudo =)
|
||||
@ -18,7 +19,7 @@ sudo() {
|
||||
|
||||
DIR="${XDG_CACHE_HOME:-${HOME}/.cache}/nix-linuxkit-builder/"
|
||||
|
||||
FEATURES="big-parallel"
|
||||
FEATURES="kvm,big-parallel"
|
||||
SIZE="80"
|
||||
CPUS=1
|
||||
MEM=4096
|
||||
|
@ -102,7 +102,7 @@ let
|
||||
|
||||
script_modprobe = writeScript "modeprobe" ''
|
||||
#! /bin/sh
|
||||
export MODULE_DIR=${pkgsLinux.linux}/lib/modules/
|
||||
export MODULE_DIR=${linuxkitKernel}/lib/modules/
|
||||
exec ${pkgsLinux.kmod}/bin/modprobe "$@"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user