From owner-freebsd-pkg@FreeBSD.ORG Thu Dec 5 09:55:47 2013 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1DA6BFB5 for ; Thu, 5 Dec 2013 09:55:47 +0000 (UTC) Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com [IPv6:2a00:1450:4010:c04::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9D54C1E61 for ; Thu, 5 Dec 2013 09:55:46 +0000 (UTC) Received: by mail-lb0-f179.google.com with SMTP id l4so9713305lbv.24 for ; Thu, 05 Dec 2013 01:55:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=EXyat146ZH5GH/dx0NZwGF/bSUwa8qxnmP6pBlK4FHg=; b=UH3WRD5CJ3PtOP56aMhwX67xufcPjGk9UUIZcOkC/+V+cO/GfKgQSjdu9CE/ZwazFU ucFVPJIDHP2HJyKzmrtHFonLP7+SZkNMy+h646cZ3xQRzMf67PeYzYxPD/thFwirJpnQ DilePjh58jBy7J0kAZFNu4+lpQJyxh4w5Mj4RfCfqsgqjmKe7bLg1WTIou34Bw7fzsJ5 3+lvgt3X2nAac/VJJ2gY4p3HOpfJqKYHbQaPlH60psZOY4xTeKsN4gCf1V970Tku2Ws5 6z0/xhvYUU0e6XxFP47aK7JdEUTjRTdUqbVwqDhn9sM8NPxGvXyasFTfJhbGF6DnzNFH ob3w== MIME-Version: 1.0 X-Received: by 10.112.151.42 with SMTP id un10mr4172850lbb.7.1386237344546; Thu, 05 Dec 2013 01:55:44 -0800 (PST) Received: by 10.114.76.107 with HTTP; Thu, 5 Dec 2013 01:55:44 -0800 (PST) Date: Thu, 5 Dec 2013 10:55:44 +0100 Message-ID: Subject: bootstrap pkg unattended From: Mathieu Simon To: freebsd-pkg@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Dec 2013 09:55:47 -0000 G'day This is less about pkgng itself but about bootstrapping it on 10.0-BETA4. I'd like to automate the process so that I don't have to answer y(es) when pkg gets bootstrapped. The manpage of pkg before bootstrapping suggests that the bootstrap parameter would the thing to look after. I've tried the following: pkg bootstrap pkg bootstrap -f I've also tried to feed it with the 'yes' command but that didn't work either. My use would be for an ezjail flavour with an preconfigured and bootstrapped pkg, but I guess real full boxes could have a similar needs. Maybe I'm just not attempting the right? -- Mathieu