Hi misc,

i'm running 5.8-stable and am looking for a way automatically update my machine in case of updates. Patches are fine, but they require manual interaction and i would like to avoid that as much as possible.

Both FAQ 5 [1] and the stable-page [2] propose to clean up before trying to (re)build the system, i.e. "make clean" or "rm -rf /usr/obj/*". Patches, on the other hand, do not propose to cleanup before rebuilding the changed parts (as far as i've seen).

So i was wondering if a pre-cleanup is required for a new -stable build, especially if i would make sure that a new build is only performed if the source files changed?

E.g. patch 5 for 5.8 affects the kernel and recommends to do

    cd /usr/src/sys/arch/`machine`/conf
    KK=`sysctl -n kern.osversion | cut -d# -f1`
    config $KK
    cd ../compile/$KK
    make
    make install

So no "make clean" here. Is it safe to assume that -stable-updates will never require a cleanup?


Regards
Nils


[1] http://www.openbsd.org/faq/faq5.html#BldKernel
[2] http://www.openbsd.org/stable.html

Reply via email to