From owner-freebsd-current@freebsd.org Mon May 9 18:46:03 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5BD99B3417E for ; Mon, 9 May 2016 18:46:03 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (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 25D9E1F97; Mon, 9 May 2016 18:46:03 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-io0-x235.google.com with SMTP id 190so181915941iow.1; Mon, 09 May 2016 11:46:03 -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; bh=lcLl4ttwIt6VdXIrH0p/wQYPfkaksRRiWLE1iHIzyT4=; b=EaEKpg7mfZwfA8VIW/T2AeoE1VTxwnTup84hbCXCnsfEztfMBPyecZHYDngO+VSATz J2KuZbH3HNoJtwdtz9QaPmkY3jO5eSrvfB+RDLIh+iLl+QgmGWbw89iO3Amx1r5Uyi0K B7MsZx9cDTNDR5GuQLoCYD0k1Y4blnEJVmm4+z0oG73BBO4FywSLSd2b1KamG/3ndbc3 j7h8//nFPrm/Y5mcbHtbyX0zCXHSMXzf9MWyQkY19Lq4vpNI9xwQpRiPEOx2aBU5aSbU mnqiQo28xKQhyptpcPzIA7jXxChcdkeTDtKvktvWyR1GTMVM//A4MwCEyec77K5HeGE+ StGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=lcLl4ttwIt6VdXIrH0p/wQYPfkaksRRiWLE1iHIzyT4=; b=k2F7CrOP4/sqvVBsC7GSUwWClNMV1YLUIbPmH0a4+hCuQlNxljJX5n2s9rpEaRBDOn ZvhX0IX/f6zveHYJs3g6tUayAXbg/+nkctmzescVq7aRX4jkXGYmWNj1oqmqT+1ukMUL 6XiwR+O/ootWGaCll1h2kUN5P32HTV3s+/cpYFv5hA3pz/5ojFvJjPk/Hl0POJjv0ItV HhHe6laOuc6DO01mU+BNx02cLHs5NdZzT4ZgJDBUfqd5eru4yj/i1aMkT01oD4qHVVN6 XgqEbACq6VUNqoRu0bUwRyxllVYphOxCkKtNd3vI85RoYqliaZIjiRjMXmCx0GiOhcMl i+cQ== X-Gm-Message-State: AOPr4FXfGKJ7qXKRTXkc/U3NYSttmjPGhYf/ngdmsHHRmI9svsbVkoD4rChS0nSQNHHFF4SbR++X93R24ne4gg== MIME-Version: 1.0 X-Received: by 10.36.89.4 with SMTP id p4mr353815itb.44.1462819562548; Mon, 09 May 2016 11:46:02 -0700 (PDT) Received: by 10.107.161.6 with HTTP; Mon, 9 May 2016 11:46:02 -0700 (PDT) In-Reply-To: References: <20160507135005.GN62286@albert.catwhisker.org> <3382220.3AgOZzUBmF@ralph.baldwin.cx> Date: Mon, 9 May 2016 11:46:02 -0700 Message-ID: Subject: Re: NO_INSTALLEXTRAKERNELS and PkgBase From: Freddie Cash To: Ultima Cc: John Baldwin , FreeBSD-Current Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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: Mon, 09 May 2016 18:46:03 -0000 On Mon, May 9, 2016 at 11:40 AM, Ultima wrote: > If multiple kernels are being installed like this, eg KERNCONF=3D"FOO BAR= ", > which of the two would be default during boot? FOO because it came first? =E2=80=8BCorrect. At least, that's the way it's worked in the past, and so= mething I've used quite a bit on FreeBSD 7-9. I always have GENERIC and a custom kernel listed in KERNCONF, with my custom kernel listed first. KERNCONF=3D"FIREWALL GENERIC" for exmaple. That way, my custom kernel is installed as /boot/kernel, and GENERIC is installed as /boot/kernel.GENERIC, which provides me with a fall-back in case I screw something up with my custom kernel (happens frequently). :) I used to do it manually using two separate installkernel steps using an env var to specify the installation directory (/boot/GENERIC) (forget the name of that var right now), but switched to using the automatic installation behaviour when it became available. Simplified things a bit. I haven't compiled a kernel on 10+ yet; hopefully the behaviour hasn't changed. ;) =E2=80=8B=E2=80=8B --=20 Freddie Cash fjwcash@gmail.com