I'm running ezjail 3.4.1 and FreeBSD 10.1.
I'm trying out the example flavour and getting the following error:
"find: /path/to/jail/pkg: No such file or directory"
...on the very last line of output from the command "ezjail-admin create -f example ..."
So I commented out the lines in ezjail.flavor.example:
# [ -d /pkg ] && cd /pkg && pkg_add /pkg/*
# rm -rf /pkg
I noticed 2 things:
1. It doesn't prevent the error from occuring.
2. It's using the old pkg_add
#2 is not an issue for me, though. I just thought it might be helpful to point out an outdated flavour script. I would suggest maybe doing a check and choosing old pkg or new pkgng.
Back to the issue I traced it (maybe?) to line 782 of the ezjail-admin source where the find command is used in the context of flavours but at this point I'm out of my depth. Any help would be appreciated.