Re: suggestion for /usr/src/UPDATING

From: Kenneth Stailey <kstailey_at_yahoo.com>
Date: Mon, 30 Aug 2004 06:53:11 -0700 (PDT)
--- David O'Brien <obrien_at_FreeBSD.ORG> wrote:

> On Sun, Aug 29, 2004 at 07:10:44AM -0700, Kenneth Stailey wrote:
> > Can a one-line example of how to invoke adduser to add new accounts like
> > "proxy" be added to /usr/src/UPDATING?  That way people could just
> > cut-and-paste the accounts into place when upgrading.
> 
> I've been trying to get RE_at_ to embelish this script and commit it to
> RELENG_5 to help with things like this:
> 
> $ cat /usr/src/upgrade4ot5.sh
> #! /bin/sh
> 
> #	Some people don't read hier(9) and symlink /tmp and /var/tmp,
> #	and /tmp can get cleared...
> 
> SENTINEL=/$(basename %0)
> 
> if [ ! -f ${SENTINEL}.kernel-done ]; then
> 	make buildworld && make buildkernel
> 	# install /boot/device.hints
> 	make installkernel
> 	# install new loader
> 	touch ${SENTINEL}.kernel-done
> 	reboot
> else 
> 	mergemaster -p
> 	make installworld
> 	mergemaster -i
> 	rm ${SENTINEL}.*
> 	reboot
> endif

mergemasters is gross.  Have you ever tried to run it on an 80-column display?

I absolutely hate the "left" "right" stuff.  You push the "l" with your right
hand and the "r" with your left for crying out loud.
Received on Mon Aug 30 2004 - 13:07:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:09 UTC