nixos/stage-1: typo fixes
This commit is contained in:
@@ -232,6 +232,7 @@ done
|
|||||||
mkdir -p /lib
|
mkdir -p /lib
|
||||||
ln -s @modulesClosure@/lib/modules /lib/modules
|
ln -s @modulesClosure@/lib/modules /lib/modules
|
||||||
ln -s @modulesClosure@/lib/firmware /lib/firmware
|
ln -s @modulesClosure@/lib/firmware /lib/firmware
|
||||||
|
# see comment in stage-1.nix for explanation
|
||||||
echo @extraUtils@/bin/modprobe-kernel > /proc/sys/kernel/modprobe
|
echo @extraUtils@/bin/modprobe-kernel > /proc/sys/kernel/modprobe
|
||||||
for i in @kernelModules@; do
|
for i in @kernelModules@; do
|
||||||
info "loading module $(basename $i)..."
|
info "loading module $(basename $i)..."
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ let
|
|||||||
# kmod/modprobe points to glibc's `$out/lib` where `libpthread.so.6` exists.
|
# kmod/modprobe points to glibc's `$out/lib` where `libpthread.so.6` exists.
|
||||||
# However, this is a problem when the kernel calls `modprobe` inside
|
# However, this is a problem when the kernel calls `modprobe` inside
|
||||||
# the initial ramdisk because it doesn't know about the
|
# the initial ramdisk because it doesn't know about the
|
||||||
# `LD_LIbRARY_PATH` and the rpath was nuked.
|
# `LD_LIBRARY_PATH` and the rpath was nuked.
|
||||||
#
|
#
|
||||||
# Also, we can't use `makeWrapper` here because `kmod` only does
|
# Also, we can't use `makeWrapper` here because `kmod` only does
|
||||||
# `modprobe` functionality if `argv[0] == "modprobe"`.
|
# `modprobe` functionality if `argv[0] == "modprobe"`.
|
||||||
|
|||||||
Reference in New Issue
Block a user