Date: Tue, 24 Oct 1995 01:16:59 +0200 From: Heikki Suonsivu <hsu@cs.hut.fi> To: "Ron G. Minnich" <rminnich@Sarnoff.COM> Cc: freebsd-hackers@freebsd.org Subject: upgrade 2.05 to 2.1 Message-ID: <199510232316.BAA17630@shadows.cs.hut.fi> In-Reply-To: "Ron G. Minnich"'s message of 23 Oct 1995 21:56:19 %2B0200
next in thread | raw e-mail | index | archive | help
keyboards, which will need to go to 2.1 soon i suppose (and hopefully 2.1 has fixed msync ...). Anyone have a reasonable upgrade hack to make this sort of thing easy. I did one script for 2.0 -> 2.05, basically via rdist, but there has to be a better way, right? maybe? I do this to upgrade my machines, though I do upgrades in smaller steps by supping the sources frequently: - do full make world in one machine and create a new kernel, - test it runs fine, - mount the src/obj trees to all other machines to be upgraded - do a make reinstall (patch follows) - switch the kernel - reboot installed machine reinstall rule just reinstalls everything. I have been running these simultaneously. I even have reinstalled a 386-16 machine from on nfs mount over a 38.4k PPP link, within 24 hours. I really missed IP-level compression :-) *** Makefile.orig Fri Aug 4 17:58:32 1995 --- Makefile Thu Aug 24 21:55:08 1995 *************** *** 8,13 **** --- 8,14 ---- # -DMAKE_EBONES to build eBones (KerberosIV) # # -DNOCLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir + # -DNOCLEAN do not clean at all # -DNOCRYPT will prevent building of crypt versions # -DNOLKM do not build loadable kernel modules # -DNOOBJDIR do not run ``${MAKE} obj'' *************** *** 86,103 **** .else OBJDIR= obj .endif .if defined(NOCLEANDIR) CLEANDIR= clean .else CLEANDIR= cleandir .endif ! world: hierarchy mk cleandist includes lib-tools libraries tools @echo "--------------------------------------------------------------" @echo " Rebuilding ${DESTDIR} The whole thing" @echo "--------------------------------------------------------------" @echo ${MAKE} depend all install cd ${.CURDIR}/share/man && ${MAKE} makedb hierarchy: --- 87,119 ---- .else OBJDIR= obj .endif + + .if defined(NOCLEAN) + CLEANDIR= + WORLD_CLEANDIST=obj + .else + WORLD_CLEANDIST=cleandist .if defined(NOCLEANDIR) CLEANDIR= clean .else CLEANDIR= cleandir .endif + .endif ! world: hierarchy mk $(WORLD_CLEANDIST) includes lib-tools libraries tools @echo "--------------------------------------------------------------" @echo " Rebuilding ${DESTDIR} The whole thing" @echo "--------------------------------------------------------------" @echo ${MAKE} depend all install + cd ${.CURDIR}/share/man && ${MAKE} makedb + + reinstall: hierarchy mk includes + @echo "--------------------------------------------------------------" + @echo " Reinstalling ${DESTDIR} The whole thing" + @echo "--------------------------------------------------------------" + @echo + ${MAKE} install cd ${.CURDIR}/share/man && ${MAKE} makedb hierarchy: -- Heikki Suonsivu, T{ysikuu 10 C 83/02210 Espoo/FINLAND, hsu@cs.hut.fi home +358-0-8031121 work -4513377 fax -4555276 riippu SN
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510232316.BAA17630>