scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit e4a41da626218b3c3423dc1d71cc5de3a82bd599
parent a279238dea8469d430dc47bb2b6e119b4d6d5114
Author: sin <sin@2f30.org>
Date:   Sun, 20 Nov 2016 14:00:03 +0000

Update upgrade-obsd script to work with latest -current

Diffstat:
Mupgrade-obsd | 17+++++------------
1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/upgrade-obsd b/upgrade-obsd @@ -1,26 +1,19 @@ -#!/bin/sh -xe -# -# Ensure /usr/src and /usr/xenocara is up to date -# before running this script. +#!/bin/sh -e upgradekernel() { - cd /usr/src/sys/arch/`machine`/conf - config GENERIC.MP + rm -rf /usr/obj/* cd /usr/src/sys/arch/`machine`/compile/GENERIC.MP - make clean + make obj + make config make make install chmod 644 /bsd - # might have to reboot at this stage, check out - # http://www.openbsd.org/faq/current.html } upgradeworld() { rm -rf /usr/obj/* cd /usr/src make obj - cd /usr/src/etc && env DESTDIR=/ make distrib-dirs - cd /usr/src make build } @@ -40,7 +33,7 @@ finish() { fw_update } -upgradekernel +#upgradekernel #upgradeworld #upgradexenocara #finish