# make buildkernel NO_MODULES=true KERNCONF=soekris8 DESTDIR="/some/location"
# make buildworld WITHOUT_THIS=true WITHOUT_THAT=true WITHOUT_etcetera... DESTDIR="/some/location"
Instead of running "make install", run "make package". A package file will be placed in /usr/ports/packages/All.anti said:dear aragon can u please tell me about how can i build ports as packages ??
Not easily...anti said:can i put ports instead of packages and after compiling NanoBSD i use the command "make install clean" ??
aragon said:rolling these packages into your nanobsd build script.
Place them into /usr/src/tools/tools/nanobsd/Pkg and add "customize_cmd cust_pkg" to nanobsd.conf.bsps said:what you mean by this?
do you mean i put the package in /usr/src/tools/tools/nanobsd/packages/ directory and add customize_cmd install_packages to nanobsd.sh
Every time you build an image the kernel and world binaries are left in /usr/obj. If you need to rebuild the image you don't need to recompile sources if you've left the cached objects alone in /usr/obj. Add "-b" argument to nanobsd.sh to skip world and kernel build.bsps said:also are there any way update nanobsd for adding packages for example instead of compiling the whole image
aragon said:Place them into /usr/src/tools/tools/nanobsd/Pkg and add "customize_cmd cust_pkg" to nanobsd.conf.
Every time you build an image the kernel and world binaries are left in /usr/obj. If you need to rebuild the image you don't need to recompile sources if you've left the cached objects alone in /usr/obj. Add "-b" argument to nanobsd.sh to skip world and kernel build.