Thanks Brandon.

Yes, I did notice a typo. Missed a 'D' in NANO_WORLDDIR:
pkg -c ${NANO_WORLDIR} install -fy ${PACKAGELIST}

/z


On 4/5/15, Brandon Allbery <[email protected]> wrote:
> On Sat, Apr 4, 2015 at 8:26 PM, Zenny <[email protected]> wrote:
>
>> + cust_NANOBSD_packages
>> + env SSL_NO_VERIFY_HOSTNAME=true env SSL_NO_VERIFY_PPER=true pkg -c
>> install -fy nano
>> pkg: illegal option -- f
>> pkg: illegal option -- y
>> pkg: chroot failed!
>>
>> When I install with -y flag on the host node, it works fine, but
>> causing problem only in the chrooted environment. Where did I get
>> wrong? Thanks in advance.
>>
>
> Notice that ${NANO_WORLDDIR} didn't substitute anything; it used "install"
> as the chroot (which is why it failed) and -fy as global options instead of
> options to the "install" command it didn't see because -c ate it.
>
> --
> brandon s allbery kf8nh                               sine nomine
> associates
> [email protected]
> [email protected]
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to