Hello,
I'm a FreeNAS/BSD newbie trying to create a PBI file for the Calibre E-book library software. I already have a jail setup and I installed calibre from command line. I also modified the /etc/rc.conf so that the service starts up automatically on boot. So far everything works great and I can see Calibre Content Server is working perfectly. What I want to do is try to package this as a PBI so that others can use this more easily.
I'm trying to follow the instructions on creating a PBI file in FreeBSD here:
http://wiki.pcbsd.org/index.php/PBI_Module_Builder_Guide/10.0/en
and I'm also extracting whatever info I can from here:
http://www.freenas.org/whats-new/2013/04/freenas-plugins-everything-you-ever-wanted-to-know.html
Note: These are both for different versions of FreeBSD/NAS.
The problem I'm having is that after running the pbi_makeport command, it downloads the files correctly but isn't able to make the zfs dataset. I run this command in the Calibre jail:
Does anyone know what might be going on, or how to create PBI files?
I'm using FreeNAS-9.3-STABLE-201505130355
Thanks.
I'm a FreeNAS/BSD newbie trying to create a PBI file for the Calibre E-book library software. I already have a jail setup and I installed calibre from command line. I also modified the /etc/rc.conf so that the service starts up automatically on boot. So far everything works great and I can see Calibre Content Server is working perfectly. What I want to do is try to package this as a PBI so that others can use this more easily.
I'm trying to follow the instructions on creating a PBI file in FreeBSD here:
http://wiki.pcbsd.org/index.php/PBI_Module_Builder_Guide/10.0/en
and I'm also extracting whatever info I can from here:
http://www.freenas.org/whats-new/2013/04/freenas-plugins-everything-you-ever-wanted-to-know.html
Note: These are both for different versions of FreeBSD/NAS.
The problem I'm having is that after running the pbi_makeport command, it downloads the files correctly but isn't able to make the zfs dataset. I run this command in the Calibre jail:
# pbi_makeport -o /usr/local/mypbi/ deskutils/calibre
...
Status Legend:
(OK):download completed.
Creating ZFS /usr/pbi/.pbi-world-amd64 dataset...
zfs create -o mountpoint=/usr/pbi/.pbi-world-amd64 -p
createZFSDataset: newds = "", mp = "/usr/pbi/.pbi-world-amd64", ma = ""
createZFSDataset: ARCH = "amd64"
ERROR: Failed creating ZFS base dataset
...
Status Legend:
(OK):download completed.
Creating ZFS /usr/pbi/.pbi-world-amd64 dataset...
zfs create -o mountpoint=/usr/pbi/.pbi-world-amd64 -p
createZFSDataset: newds = "", mp = "/usr/pbi/.pbi-world-amd64", ma = ""
createZFSDataset: ARCH = "amd64"
ERROR: Failed creating ZFS base dataset
Does anyone know what might be going on, or how to create PBI files?
I'm using FreeNAS-9.3-STABLE-201505130355
Thanks.