mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:54:05 +00: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
|
||||
# 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.
|
||||
if ! test -e "$targetRoot/$stage2Init" -o -L "$targetRoot/$stage2Init"; then
|
||||
echo "stage 2 init script not found"
|
||||
fail
|
||||
fi
|
||||
#if ! test -e "$targetRoot/$stage2Init" -o -L "$targetRoot/$stage2Init"; then
|
||||
# echo "stage 2 init script ($targetRoot/$stage2Init) not found"
|
||||
# fail
|
||||
#fi
|
||||
|
||||
mkdir -m 0755 -p $targetRoot/proc $targetRoot/sys $targetRoot/dev
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user