3
0
Fork 0
forked from mirrors/nixpkgs

* Installer fixes.

svn path=/nixos/trunk/; revision=7848
This commit is contained in:
Eelco Dolstra 2007-02-05 21:06:59 +00:00
parent ea41e46e6d
commit b674f74c2d
2 changed files with 2 additions and 1 deletions

View file

@ -32,6 +32,7 @@ rec {
job = " job = "
start on startup start on startup
script script
export PATH=${pkgs.gnutar}/bin:${pkgs.bzip2}/bin:$PATH
mkdir -p /etc/nixos/nixos mkdir -p /etc/nixos/nixos
tar xjf /nixos.tar.bz2 -C /etc/nixos/nixos tar xjf /nixos.tar.bz2 -C /etc/nixos/nixos
tar xjf /nixpkgs.tar.bz2 -C /etc/nixos tar xjf /nixpkgs.tar.bz2 -C /etc/nixos

View file

@ -28,7 +28,7 @@ if ! test -e "$mountPoint"; then
exit 1 exit 1
fi fi
if ! fgrep -q " $mountPoint " /proc/mounts; then if ! grep -F -q " $mountPoint " /proc/mounts; then
echo "$mountPoint doesn't appear to be a mount point" echo "$mountPoint doesn't appear to be a mount point"
exit 1 exit 1
fi fi