From owner-freebsd-questions@FreeBSD.ORG Mon May 7 16:46:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00B4B106566C for ; Mon, 7 May 2012 16:46:54 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 78DF98FC1A for ; Mon, 7 May 2012 16:46:53 +0000 (UTC) Received: by werg1 with SMTP id g1so569957wer.13 for ; Mon, 07 May 2012 09:46:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=1T8k9q7Ush24RgOPoQMS01pDSTZ1n80kMUOEO3BOF+I=; b=mWTX3CJ+OzSgH/HKcXj9xaBganYriO2/qx0uXWcVvmcfu8nTe4RMwz0ofbqI0yqjdS wJ9nALbYNZkq9pLJHOcP7LtjwLDNxSxMv/M2j7xr1dCfvxjCWt8BlJSXbsP/qkP4op4o TJ/RYB4fUARbr1XfSfwVuujEs1yOceHU5T+2c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=1T8k9q7Ush24RgOPoQMS01pDSTZ1n80kMUOEO3BOF+I=; b=nmP/oGbYtidwbYv2tsQY/QoOlQ2sCVEhD1n0lJLScIsW0cPA2QDF+lkR58RrDRVeKh BHaSAZr/oAL/WkmAhBvpt/NDW/owxhhWJfqj1on7hbcZeQkjBav7jTJuXrCbyt+uXppY g5TjfTiC0ilCkDFH+olP4MhvodvPZcV9VhvcpOFhHcYLv5ANPN02gheUlz1Aa4rwCyps /Lx+8VEIgz1/1VxAG2Yf2ILNINZ8GCi7Juk9f6pv6sNsBMT47YqRkQqNNYVy7VPKvHqq CF0JW63HLbeLH8mqMTCOeOMI/UCYoaEUg1jQ260z/5NBHFrwrxzjZnY2tgP7Zv7HZlOU J9Mw== Received: by 10.180.76.232 with SMTP id n8mr15402648wiw.2.1336409211334; Mon, 07 May 2012 09:46:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.120.6 with HTTP; Mon, 7 May 2012 09:46:21 -0700 (PDT) In-Reply-To: <4FA01728.30504@d2ux.net> References: <4FA01728.30504@d2ux.net> From: Eitan Adler Date: Mon, 7 May 2012 12:46:21 -0400 Message-ID: To: Matthias Petermann Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQlcHNz7h5gggE6Fy4YFKu39h2dbX9T6J6laGPOpupg+HXRnQyqI+z+nR0FT485Sjyc4wqww Cc: freebsd-questions@freebsd.org Subject: Re: Building kernel outside of /usr/src (with an unprivileged user) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2012 16:46:54 -0000 On 1 May 2012 13:02, Matthias Petermann wrote: > Hello, > > while trying to build a patched CURRENT src on a STABLE FreeBSD 9 I was > wondering if it would be possible to have the source directory (src) in a > different place from /usr (e.g. in /home/myuser/src) where it can be built > with an unprivileged user and without interference with the STABLE sources > in /usr/src. > > Does anyone have an idea how to achieve this? buildkernel and buildworld function without superuser permission. Just check out the directory in a different and run the typical commands. -- Eitan Adler