Steve Bertrand <st...@ibctech.ca> writes:

> Many of my routers boot/run from a USB thumb stick. To upgrade these
> routers, I "dd" the device onto another one, pop the backup into a build
> machine, and do the normal build*/install* with a DESTDIR parameter.
>
> If the upgraded device does not boot (due to kernel problems), I just
> wipe it clean and start over.
>
> Having a kernel.old in this case is a waste of time and of space. Is
> there any parameter I can tell the build process to ensure that the
> kernel.old work does not get done?

Did you look at the makefiles or build(7)?  About 20 seconds of
investigation led me to think that "reinstallkernel" was what you were
looking for.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
                http://be-well.ilk.org/~lowell/
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to