Do not copy kernel to kernel.old
freebsd-questions-local at be-well.ilk.org
Fri May 22 16:03:09 UTC 2009
Steve Bertrand <steve at 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
Lowell Gilbert, embedded/networking software engineer, Boston area
More information about the freebsd-questions