From owner-freebsd-stable@FreeBSD.ORG Sun Apr 5 00:33:41 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0D440B91; Sun, 5 Apr 2015 00:33:41 +0000 (UTC) Received: from mail-pd0-x22b.google.com (mail-pd0-x22b.google.com [IPv6:2607:f8b0:400e:c02::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CC4727BF; Sun, 5 Apr 2015 00:33:40 +0000 (UTC) Received: by pdea3 with SMTP id a3so3584492pde.3; Sat, 04 Apr 2015 17:33:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VfyivNCNuvYL9eiv36AXR0NWAdxtgxWXYlqBBoLi1EY=; b=Qk4oTUnFBRGOPOZxv/v4LN43xIg0D2xBWcqleeheKSRx4xkwY6j8w5CXtlqgLXQQN2 Lr2KzxXcYYpRjrztWZuDUUXgbrXMfzwYQBg7sesEElVmMGWwZVgkrff6JRJCnMgT4twE G8k5VsuF7e39ErXKyeI78zKLa9KqdlSd65QXQpuJ//ryPUBREnZ95oGGcqGn8Q+QIeWu RXGl6W5o8mKYz30RJ9qCAtyO9F6DySPaWPEv2hYqQzcuHsg3k2FqSsfDLRxfhmlbGpj8 EnK2AaRrmoh5L28fq6fBuFybEdYvJ5/er/ZamKjMJbnYTqSkxBSYcRTv+LYHFLGdRguW XR1w== MIME-Version: 1.0 X-Received: by 10.70.44.203 with SMTP id g11mr16027698pdm.130.1428194020437; Sat, 04 Apr 2015 17:33:40 -0700 (PDT) Received: by 10.70.40.165 with HTTP; Sat, 4 Apr 2015 17:33:40 -0700 (PDT) In-Reply-To: References: <20150402183939.GC30115@ivaldir.etoilebsd.net> Date: Sat, 4 Apr 2015 20:33:40 -0400 Message-ID: Subject: Re: pkgng cannot fetch from PACKAGESITE with nanobsd.sh in FreeBSD 10.1 From: Brandon Allbery To: Zenny Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Baptiste Daroussin , "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Apr 2015 00:33:41 -0000 On Sat, Apr 4, 2015 at 8:26 PM, Zenny 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 allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net