mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-22 05:07:45 +03:00
* Disable the test to see whether $stage2Init exists. For some
unfathomable reason this test fails on EC2 if it's a symlink (despite the -L test). I give up. svn path=/nixos/trunk/; revision=22676
This commit is contained in:
parent
1a5c18d1b6
commit
63962dd7d6
@ -291,10 +291,10 @@ echo /sbin/modprobe > /proc/sys/kernel/modprobe
|
|||||||
# current root. It also moves the /proc, /sys and /dev mounts over to
|
# current root. It also moves the /proc, /sys and /dev mounts over to
|
||||||
# the new root. Note that $stage2Init might be an absolute symlink,
|
# the new root. Note that $stage2Init might be an absolute symlink,
|
||||||
# in which case "-e" won't work because we're not in the chroot yet.
|
# in which case "-e" won't work because we're not in the chroot yet.
|
||||||
if ! test -e "$targetRoot/$stage2Init" -o -L "$targetRoot/$stage2Init"; then
|
#if ! test -e "$targetRoot/$stage2Init" -o -L "$targetRoot/$stage2Init"; then
|
||||||
echo "stage 2 init script not found"
|
# echo "stage 2 init script ($targetRoot/$stage2Init) not found"
|
||||||
fail
|
# fail
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
mkdir -m 0755 -p $targetRoot/proc $targetRoot/sys $targetRoot/dev
|
mkdir -m 0755 -p $targetRoot/proc $targetRoot/sys $targetRoot/dev
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user