From owner-freebsd-current@freebsd.org Sat May 7 08:16:49 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 B6799B31C8E; Sat, 7 May 2016 08:16:49 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x232.google.com (mail-pa0-x232.google.com [IPv6:2607:f8b0:400e:c03::232]) (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 858391C71; Sat, 7 May 2016 08:16:49 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pa0-x232.google.com with SMTP id iv1so55037658pac.2; Sat, 07 May 2016 01:16:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ZDUMm5g6tC+ApBRMryIgqtPmk0A7P7tVtcAmYnv0Ewg=; b=lTaYVOfCZhl8ZMj5TWx9RiBhDnLmgvvK/Ram1V/UkmlbpgDVNCDr5Bz/QSJuKOhy6F pYuAWQB5UKN+5SAlhB6wuk8hCs8rIx43Oq4Pg5OruJ4KqtcYAyuhnBtsRMM9HPJg4YNd BZRDtxpSF+CJ/QfTMNHkFMVND7ejoNYoazwW3YWAbiTNNoPH3mXxghmfIeoO7KEZwSxt GHHh0Y/QBH9fGrs9RixPx7d/Y2qGpWRg2XH0SNj6i4gVEB2LeQQ/IK/y0R73/TuyMCco lp3RkNj0S6wwEiDmwVtsM9Mweq4Dixk4C9Si1BTvHqw430Laa1AqcVGe8VqpV7FcdbIw /XUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ZDUMm5g6tC+ApBRMryIgqtPmk0A7P7tVtcAmYnv0Ewg=; b=HFGv4+p/v93ET3IVbOF8E3DpzSg+HokoPTmHoMaxmD1CpeModkm+0F2C2i3c3JL/ok 0LcpQ8S0i+dQPGj2HXaAYLB2iQLiB5ZAWz7aNeb22UHwpW5uf8lWzqzty5wJqaFIYFt8 XgFkRyZb57cWzloysLcdxL3u6fr+nJEBObHDB+q+EkFdgr5Ihh2nOS4tShRGAkQp0xkY Peqy6Z+3PT26S6Tb2veajyDt6X7glPdqXUfLBGYjbNZKTEH22o5z+l9yvuIpbIJSAkKK P6qCCUc1STjHuscBq8gEHl4Ejku/pCVOmo9kB9ECCUDbgLef5GVPIjBPTmXE99+gSU3z HF9w== X-Gm-Message-State: AOPr4FVRg6kJEGEfDcnULQ9TplC8mtJD4ANBlVfDIR6o1mVnfz2Nx4sJTehhdoPf/hV0gg== X-Received: by 10.66.167.40 with SMTP id zl8mr35032075pab.8.1462609008601; Sat, 07 May 2016 01:16:48 -0700 (PDT) Received: from [192.168.20.7] (c-73-97-222-46.hsd1.wa.comcast.net. [73.97.222.46]) by smtp.gmail.com with ESMTPSA id bk8sm26278019pac.3.2016.05.07.01.16.46 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 07 May 2016 01:16:46 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: NO_INSTALLEXTRAKERNELS and PkgBase From: "Ngie Cooper (yaneurabeya)" In-Reply-To: Date: Sat, 7 May 2016 01:16:43 -0700 Cc: Glen Barber , "freebsd-pkgbase@freebsd.org" , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <20160506221151.GN1362@FreeBSD.org> <7018EDCD-A567-446D-965C-9E886D543238@gmail.com> <20160507074159.GC47527@FreeBSD.org> <1CCC4F95-D01E-4A5E-A744-5FE2ECA3D8FB@gmail.com> To: Ben Woods X-Mailer: Apple Mail (2.2104) 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: Sat, 07 May 2016 08:16:49 -0000 > On May 7, 2016, at 00:59, Ben Woods wrote: >=20 > On 7 May 2016 at 09:48, Ngie Cooper (yaneurabeya) = wrote: > glebius changed the defaults to fix POLA, but the naming per the = behavior is confusing. Right now the behavior between ^/head and = ^/stable/10 before/now match -- I just had to wrap my mind around the = default being the affirmative of a negative (i.e. only install one = kernel, as opposed to install all extra kernels by default). > -Ngie >=20 > Indeed, I am not sure I understand the POLA violation entirely = (ignoring the fact that this variable requires affirmation of a = negative). It=E2=80=99s tricky=E2=80=A6 KERNCONF with multiple kernel = configurations wasn=E2=80=99t properly supported at install time until = 2016 AFAIK (r291611, r293391), so again (AFAIK) it=E2=80=99s a new = [functional] feature, even though make.conf(5) says one can specify = multiple kernel configurations in KERNCONF at build time. > If you list 2 kernels in the KERNCONF variable, why is it astonishing = that 2 kernels get installed? Even if the old behaviour was to only = install 1 kernel, if you are listing 2 kernels in KERNCONF presumably = that is because you want to install 2 kernels? =46rom a literal perspective, it makes perfect sense. =46rom a usability = perspective though, or in terms of actual behavior, it makes less sense. If FreeBSD required more explicit pathing for kernels like Linux in the = boot loader (e.g. grub) on many distros (e.g. CentOS), this would likely = be a non-issue. > Regardless, perhaps it is ok to leave behaviour on stable 9/10 = unchanged, but to make the behaviour on head to install multiple kernels = by default? That is the option that makes sense for PkgBase (build = multiple kernel packages if more than one are listed in KERNCONF). Yes, but the knob should be renamed for clarity. imp@ had a very good = point =E2=80=94 NO_* options aren=E2=80=99t as flexible/intuitive as = MK_* options and lead to confusing behavior. Thanks! -Ngie=