3
0
Fork 0
forked from mirrors/nixpkgs
commit 3750 :)

svn path=/nixu/trunk/; revision=3750
This commit is contained in:
Armijn Hemel 2005-08-30 13:16:16 +00:00
parent 115f0e2a25
commit eac09bcb31

View file

@ -43,26 +43,8 @@ kernel=$($NIX_CMD_PATH/nix-store -r $(echo '(import ./pkgs.nix).kernel' | $NIX_C
#echo $($NIX_CMD_PATH/nix-store -qR $(nix-store -r $(echo '(import ./pkgs.nix).nix' | $NIX_CMD_PATH/nix-instantiate -))) >> $storePaths
#$NIX_CMD_PATH/nix-store -qR $(nix-store -r $(echo '(import ./pkgs.nix).nix' | $NIX_CMD_PATH/nix-instantiate -)) >> $storePaths
#nixblaat=$(nix-store -r $(echo '(import ./pkgs.nix).nix'| $NIX_CMD_PATH/nix-instantiate -))
#echo $nixblaat >> $storePaths
#echo '' >> $storePaths
#echo 13 >> $storePaths
## Nix does --references, not --requisites for registering paths
#nixdeps=$($NIX_CMD_PATH/nix-store -q --references $(nix-store -r $(echo '(import ./pkgs.nix).nix' | $NIX_CMD_PATH/nix-instantiate -)))
#pkgs=$(echo $nixdeps | wc -w)
#echo $pkgs >> $storePaths
#for i in $nixdeps
#do
#echo $i >> $storePaths
#done
for i in $storeExpr
do
echo $i >> $archivesDir/store-expressions
echo $i >> $archivesDir/store-expressions-storepath
echo $i >> $storePaths
echo '' >> $storePaths
deps=$($NIX_CMD_PATH/nix-store -q --references $i)
@ -198,12 +180,6 @@ echo copying kernel
# of the kernel here.
cp -L $kernel/vmlinuz ${archivesDir}/isolinux
# echo making ramdisk
# todo!
# mkdir ${archivesDir}/sbin
# ln -s /scripts/fill-disk.sh ${archivesDir}/sbin/init
# ln -s /scripts/fill-disk.sh ${archivesDir}/init
echo creating ramdisk
rm -f ${initrd}