From owner-freebsd-pkg@FreeBSD.ORG Wed Apr 16 01:58:07 2014 Return-Path: Delivered-To: freebsd-pkg@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 343CBB08 for ; Wed, 16 Apr 2014 01:58:07 +0000 (UTC) Received: from mail-lb0-x234.google.com (mail-lb0-x234.google.com [IPv6:2a00:1450:4010:c04::234]) (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 B40F61945 for ; Wed, 16 Apr 2014 01:58:06 +0000 (UTC) Received: by mail-lb0-f180.google.com with SMTP id 10so7642115lbg.11 for ; Tue, 15 Apr 2014 18:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=DAKxhTEzKpbJk5hctzC/JJweyDvJWZ5Sih5uSf7Dnrc=; b=DqSlDiJeUhIT/Fpx/AcaEFbt6ChvsuVlsUzSV1odtZDa/g6rpO1xOzxZV1jZGMBdSv 29cq6PqW8BZ85rmTTHlzG8HNeh61bmXKKdZ75tAJ71yRHA8O33WQz2YjlwBYLWZGN177 p+6irRvu1QhCJuBtljUpHpS1TApzR6EZ+0qmMBAKKHGEZhE9OVV0VwQIi/i1mYvOVYqt OrUd7THU1nZtAzwo2ZwPQGdxhjryugYIT7E0iE03uj/1k2dJEJdCHvs6sEV8ks3sRVpA CXbV9zt8YNmvPnOzgHkWKX+LgmlwVbyA1eyEHv9PdE/vPvE/7mYBB0lN+wX9+b1tUzKa oeBw== MIME-Version: 1.0 X-Received: by 10.152.26.66 with SMTP id j2mr3318863lag.25.1397613484690; Tue, 15 Apr 2014 18:58:04 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.169.68 with HTTP; Tue, 15 Apr 2014 18:58:04 -0700 (PDT) Date: Tue, 15 Apr 2014 18:58:04 -0700 X-Google-Sender-Auth: huBL3nMQnHETvwEJ6KqB_g5ebyo Message-ID: Subject: poudirere bulk, any hook to add a nullfs nullfs mount? From: Craig Rodrigues To: freebsd-pkg@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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: Wed, 16 Apr 2014 01:58:07 -0000 Hi, I am continuing to integrate poudriere into the FreeNAS build. I am building my own jail, instead of using "poudriere jail -c". (1) In my FreeNAS tree, I have my jail is at: JAILMNT = somepath/obj/_.w/ (2) My FreeBSD source tree which I used to build the jail is at: SRCBASE = somepath/extra-src/FreeBSD/src (3) When I run "poudriere bulk" to build all of my ports, before any commands are run in the jail, I would like to mount -o ro -t nullfs $SRCBASE $JAILMNT/usr/src I need this so that any ports which compile kernel modules can build properly. (4) If "poudriere bulk" terminates for any reason, I want the nullfs mount to cleanly unmount. Is there any way I can write a hook which plugs into poudriere to do this? Thanks. -- Craig