From owner-freebsd-current@FreeBSD.ORG Tue Sep 9 20:52:08 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 75D18F63 for ; Tue, 9 Sep 2014 20:52:08 +0000 (UTC) Received: from mail-qc0-f173.google.com (mail-qc0-f173.google.com [209.85.216.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2DD867B7 for ; Tue, 9 Sep 2014 20:52:07 +0000 (UTC) Received: by mail-qc0-f173.google.com with SMTP id w7so18140316qcr.32 for ; Tue, 09 Sep 2014 13:52:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=uDca9aPsdo7adfJRJ5zr9sh8wMNJJF3uRHHAmnRA3Ro=; b=CGUdgEJ5RCcaa+JhMqjHOYrUhiAj0KIUQyfE/K0/cBBXtaQNDqFmYGzcDW5RrjRDqC BG27ZU2LB7ZdvugZRjivpPqthMiktRKUjjjNz2gKfM4UghA2zGebCMvRGOAQ/mYimWUw yXmqucti1nHumEQSE7C1PpthETGGceXLelJBSViIIogcMQA3nbZEDxCleVvIer/tkiiz WfA3chzlw0by3Lb8JKssHTOlz27qUs4JsHKKivPou3mOp44I6zz7FppXQFoK2ho9GND3 rahdIof6YMPpGakYdoil33qH6XI/CdLjG4rXrrGHhP7BF6nwJbB8MygCEe8SVvO/+iAw MkSA== X-Gm-Message-State: ALoCoQnBn5R6Y+A2blfT6vzoyUYeBMSi+8UAFGYjsfp7p10f+CM/HBTrHCLmbhb5VYONjBz79VHV X-Received: by 10.140.105.138 with SMTP id c10mr53304296qgf.15.1410295920789; Tue, 09 Sep 2014 13:52:00 -0700 (PDT) MIME-Version: 1.0 Sender: jmmv@meroh.net Received: by 10.96.83.99 with HTTP; Tue, 9 Sep 2014 13:51:40 -0700 (PDT) X-Originating-IP: [2620:0:1003:1007:8800:5a44:a9e9:4c3c] In-Reply-To: <20140908183647.GD35236@spindle.one-eyed-alien.net> References: <20140908154858.GB35236@spindle.one-eyed-alien.net> <20140908183647.GD35236@spindle.one-eyed-alien.net> From: Julio Merino Date: Tue, 9 Sep 2014 16:51:40 -0400 X-Google-Sender-Auth: Y7S2rYXX5_y1GHmr31cLfajM9NY Message-ID: Subject: Re: make -DNO_ROOT to create chroot, problem installing into chroot with pkg To: Brooks Davis Content-Type: text/plain; charset=UTF-8 Cc: Craig Rodrigues , freebsd-current Current , freebsd-pkg@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2014 20:52:08 -0000 On Mon, Sep 8, 2014 at 2:36 PM, Brooks Davis wrote: > I believe the majority of packages don't suffer from post-install > scripts hence the suggestion that extracting in the right place without > root would solve 80-90% of the problem (and probably take no more than > 10% of the work). I could live with the pain of not having scripts run > during install. The correct long term fix as proposed by bapt is the do > anyway with most scripts in favor of common actions and if any > significant scripts remain add the ability to run them on first boot. Cool; glad to hear. This sounds like a good plan.