Re: ssh session died during 'make build'

2007-11-26 Thread Nick Holland
new_guy wrote:
> Hey guys, I got whacked off-line with a clue stick about using screen or
> nohup to prevent this sort of thing in the future... OK, will do but, since
> 'make build' was interrupted, does anything 'special' need to be done like a
> make clean, etc? Or do I just redo the initial commands to build the
> binaries:
> 
> rm -rf /usr/obj/*
> cd /usr/src
> make obj
> cd /usr/src/etc && env DESTDIR=/ make distrib-dirs
> cd /usr/src
> make build

Actually, if you just restart the command that was running when the connection
dropped, you should be fine.  i.e., if you had done 'make build' and then it
died, just do a 'make build' again.

If you want to be really lazy, do an ls -l /bin, see what date the files are.
If they are after you started the build, you may be able to just do a "make
install". -stable has the advantage that old binaries and new binaries are
"compatible".

Now, if the power had gone out mid-way through, you might have some nasty
messed up files, but if you just lost console, things should be more-or-less
intact.

Nick.



Re: ssh session died during 'make build'

2007-11-26 Thread new_guy
Hey guys, I got whacked off-line with a clue stick about using screen or
nohup to prevent this sort of thing in the future... OK, will do but, since
'make build' was interrupted, does anything 'special' need to be done like a
make clean, etc? Or do I just redo the initial commands to build the
binaries:

rm -rf /usr/obj/*
cd /usr/src
make obj
cd /usr/src/etc && env DESTDIR=/ make distrib-dirs
cd /usr/src
make build

Thanks,
Brad



-- 
View this message in context: 
http://www.nabble.com/ssh-session-died-during-%27make-build%27-tf480.html#a13962081
Sent from the openbsd user - misc mailing list archive at Nabble.com.



ssh session died during 'make build'

2007-11-26 Thread new_guy
Hi guys,

While updating 4.2-release to 4.2-stable remotely over a SSH session, the
SSH session died during the 'make build' stage of rebuilding the binaries...
I think make build had almost completed. I was following the instructions
located here:
http://openbsd.org/stable.html

Question, will this screw things up? I can SSH in again now that the network
is back up and things seem fine. Is there anything to do to make sure 'make
build' completed properly, or should it be redone?

Thanks,
Brad
-- 
View this message in context: 
http://www.nabble.com/ssh-session-died-during-%27make-build%27-tf480.html#a13958135
Sent from the openbsd user - misc mailing list archive at Nabble.com.