Set arch and version

This commit is contained in:
sin 2013-09-20 11:20:41 +01:00
parent dd9799802f
commit aaf926c3b7
2 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,9 @@
#
# Ensure you've loaded the loop module with max_part=15
img=morpheus-x86_64-0.0.img
. ./prepare-env
img=morpheus-$arch-$version.img
dd if=/dev/zero of=$img bs=256M count=1
fdisk $img <<< '

View File

@ -1,7 +1,9 @@
top=$(pwd)
root=$top/root
nprocs=4
mirror=http://dl.2f30.org/morpheus-pkgs
arch=x86_64
version=0.0
mirror=http://dl.2f30.org/morpheus-pkgs/$arch/$version
export top root nprocs mirror
PATH=$top/cross/bin:$PATH