Re: adding ports (and apps) to NanoBSD
Ben Kelly <[email protected]> Fri, 9 Jun 2006 15:42:18 -0400
| Newsgroups | gmane.os.freebsd.devel.small |
|---|---|
| Message-ID | <[email protected]> |
On Friday 09 June 2006 6:06 am, Jeff S wrote:
> I installed NanoBSD on a DamnSmallMachine (VIA C3 Nehemiah
> and IDE flash disk). I like the architecture and it booted
> on the first try. Well done!
>
> What's the "proper" way to add ports and apps?
> Any suggestions?
I don't know if its proper or not, but I ended up using a customize function
like this:
CONF_ROOT="/home/bkelly/nanobsd/net4801-vpn"
cust_install_packages () (
PACKAGE_LIST=`ls ${CONF_ROOT}/packages/*`
cd ${NANO_WORLDDIR}
for p in ${PACKAGE_LIST}
do
cat ${p} | pkg_add -C . -
done
)
customize_cmd 'cust_install_packages'
I then just stick whatever packages I want into the ${CONF_ROOT}/packages
directory and they get added during the build process.
I hope that helps.
> Jeff
- Ben
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-small
To unsubscribe, send any mail to "[email protected]"