[K42-discussion] Complete build/mambo regress with GIT Makefile.new
Livio Soares
livio at eecg.toronto.edu
Thu Apr 12 14:54:58 EST 2007
Hi,
Patrick G. Bridges writes:
>
> On Apr 11, 2007, at 11:48 AM, Livio Soares wrote:
>
[...]
> >> # Run regression test
> >> k42console -m mambo -f ~/k42/powerpc/fullDeb/os/k42-vmlinux --
> >> MAMBO_BOOT_VMLINUX=1 MAMBO_MAPLE=1 MAMBO_TCL_STAMP=-120305
> >> MAMBO_TYPE=gpul K42_INITSCR=/home/regress/sysinit MAMBO_EXIT=yes
> >
> > This is mostly running. I forgot to setup some of my NFS
> > variables, and
> > therefore K42 crashes when trying to access the file-system. But I
> > get all
> > the way to the beginning of login. I bet that after fixing
> > the NFS
> > problem, regress here will run fine.
>
> There may be a few problems with the permissions for some of the test
> scripts and such, too. I'm sorting out these details and I'll check
> in more fixes as I come across them. Right now when regress finishes,
> I get a message that says "/home/regress/sysinit: line 88: /ksys/
> console: No such file or directory" that I haven't finished out yet,
> for example
Ok, I _did_ have to fix something in the Makefile.new to get my NFS to
work correctly. Looks like the "SITE" variable was being hard-coded to
'unm'. While this may have worked for you, it didn't for me :-)
So, I changed it to use the traditionally exported $K42_SITE environment
variable. This fixed my problem, and seems to be more flexible. Hope this
works for you (patch attached).
Now, regress starts up just fine. It looks like I'm half-way through
(finished the K42 part, currently executing the Linux regress part).
Cheers,
Livio
-------------- next part --------------
diff --git a/Makefile.new b/Makefile.new
index 2786b14..6da3a68 100644
--- a/Makefile.new
+++ b/Makefile.new
@@ -69,7 +69,7 @@ OS = $(shell uname -s)
BUILD = $(shell uname -m)
HOST = powerpc
TARGET = $(BUILD)
-SITE = unm
+SITE = $(K42_SITE)
# Build our source and output paths from above.
O = ..
More information about the K42-discussion
mailing list