Madevil
Cadet
- Joined
- Oct 26, 2014
- Messages
- 3
Hi to all developer,
I have been trying for weeks now to get a working development system for FreeNAS plugins,
maybe someone can help me.
Goals:
General Requirements:
VM settings:
VM installation:
Other guides:
lesson learned:
unanswered questions:
how to install pbi_manager on a blank FreeBSD 9.2 system to build plugins right?
successfully make port: devel/xdg-utils
make install clean from there only ?
https://github.com/freenas/freenas-plugins/tree/master/src/pbi-manager
whats up with this ?
https://github.com/freenas/freenas-plugins/tree/master/src/libsh
https://github.com/freenas/freenas-plugins/tree/master/src/pbi-wrapper
Any help in the right directions will help!
Best regards
I have been trying for weeks now to get a working development system for FreeNAS plugins,
maybe someone can help me.
Goals:
- a virtual image based FreeNAS development and build system
- build FreeNAS images from github
- build FreeNAS plugins
- build custom ports
General Requirements:
- must: FreeNAS 9.2 RELEASE
- installation must have ZFS for chroot instead of UFS
- pkg system is not migrated to new pkgng database
VM settings:
- default image for FreeBSD 64bit system
- memory 4 GB
- harddisk 50 GB
- bridged network
VM installation:
- default installation with mfsbsd http://mfsbsd.vx.sk to (install FreeBSD 9.2 with ZFS as default)
- check system is update-to-date: freebsd-update fetch install
- check ports is update-to-date: portsnap fetch extract && portsnap upgrade
https://github.com/freenas/freenas
https://github.com/freenas/freenas-plugins
https://github.com/freenas/ports
https://github.com/freenas/freenas-plugins
https://github.com/freenas/ports
Other guides:
Plugin Guide: freenas-plugins-everything-you-ever-wanted-to-know
PCBSD PBI Guide: PBI_Module_Builder_Guide/9.2/en
PCBSD PBI Format: PBI9_Format
VM Guide guide-how-to-build-freenas-part-1-building-a-freebsd-virtual-machine
PCBSD PBI Guide: PBI_Module_Builder_Guide/9.2/en
PCBSD PBI Format: PBI9_Format
VM Guide guide-how-to-build-freenas-part-1-building-a-freebsd-virtual-machine
lesson learned:
VM Images must have ZFS instead of UFS (for chroot plugin build system)
dont use FreeBSD Version higher than 9.2 (example 10 have problems with pbi_makeport)
dont use FreeBSD Version higher than 9.2 (example 10 have problems with pbi_makeport)
unanswered questions:
how to install pbi_manager on a blank FreeBSD 9.2 system to build plugins right?
successfully make port: devel/xdg-utils
make install clean from there only ?
https://github.com/freenas/freenas-plugins/tree/master/src/pbi-manager
whats up with this ?
https://github.com/freenas/freenas-plugins/tree/master/src/libsh
https://github.com/freenas/freenas-plugins/tree/master/src/pbi-wrapper
Any help in the right directions will help!
Best regards
Last edited: