On Sat, Apr 4, 2015 at 8:26 PM, Zenny <garbytr...@gmail.com> 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 allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"