Skip to content

Commit

Permalink
Modified mkxpud test function to use correct kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
joshas committed May 1, 2009
1 parent a44d479 commit 27fd47e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/mkxpud
Expand Up @@ -12,6 +12,8 @@ else

if [ ! -z $2 ] && [ -f "config/$2.cookbook" ]; then export MKXPUD_CODENAME=$2
else export MKXPUD_CODENAME='default'; fi
export MKXPUD_CONFIG=config/$MKXPUD_CODENAME.cookbook
eval export `./tools/parser $MKXPUD_CONFIG config`

case $1 in
all)
Expand All @@ -30,7 +32,7 @@ else
image $MKXPUD_CODENAME
;;
test)
sudo qemu -kernel deploy/bzImage -initrd deploy/$MKXPUD_CODENAME/rootfs.cpio -hda /dev/zero -m 512 &
sudo qemu -kernel $MKXPUD_KERNEL_IMAGE -initrd deploy/$MKXPUD_CODENAME/rootfs.cpio -hda /dev/zero -m 512
;;
help|usage)
usage
Expand Down

0 comments on commit 27fd47e

Please sign in to comment.