tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: updating a piece of the running system from build.sh is too hard



to update something on an installed system like this i tend to
build with the native tools, not build.sh ones.  eg:

$ cd /usr/src/usr.bin/passwd
$ env MAKEOBJDIRPREFIX='/var/obj/${MACHINE}' make obj
$ env MAKEOBJDIRPREFIX='/var/obj/${MACHINE}' make dependall
$ priv env MAKEOBJDIRPREFIX='/var/obj/${MACHINE}' make install

i'm not sure what is recommended, but this works for me.


.mrg.

ps. priv is similar to sudo


Home | Main Index | Thread Index | Old Index