<note warning> by default, you will be in the master branch, where all the dev happens, I am not responsible for anything that might happen! This could be unstable and untested code.</note>
box# cd /usr box# make git-clone [...] box# make pkgsrc-checkout [...]
Now we will have to build all those sources and install the resulting binaries.
box# cd src box make buildworld [...] box# make buildkernel [...] box# make installkernel [...] box# make installworld [...] box# make upgrade box# reboot
Now that we have a shiny bleeding edge basesystem, we can install some basic packages from pkgsrc.
box# cd /usr/pkgsrc box# cd pkgtools/pkg_rolling-release # used to later upgrade packages box# bmake install clean box# cd ../../ box# cd $category/$package_you_need
<note> A few months later</note>
box# cd /usr box# make git-pull box# make pkgsrc-update
Now you can revert to the base system build steps explained earlier.
After a reboot you can upgrade the pkgsrc. For some reason, there is a little hack to get the bootstrap-mk-files and bmake (NetBSD's make) upgraded:
box# cd /usr/pkgsrc/pkgtools/bootstrap-mk-files box# bmake USE_DESTDIR=full package box# pkg_add -uu /usr/pkgsrc/packages/All/bootstrap-mk-files-$VERSION.tgz box# cd ../../devel/bmake box# bmake USE_DESTDIR=full package box# pkg_add -uu /usr/pkgsrc/packages/All/bmake-$VERSION.tgz
Now that you have the latest build tools, you can upgrade the rest of the packages. The is a lot of ways to do it, but it choosed this one:
box# pkg_rolling-replace -u
And that's it. Hope it will work for you.
Discussion