From owner-freebsd-current@freebsd.org Fri Aug 16 22:52:13 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A6295B2404; Fri, 16 Aug 2019 22:52:13 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 469JVN5Cs3z4t6n; Fri, 16 Aug 2019 22:52:12 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: by mail-ed1-x544.google.com with SMTP id z51so6385806edz.13; Fri, 16 Aug 2019 15:52:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QQ+P+Ng5tnxhRu45jXcajLHerEMcrD0CHXDjrmPmXZk=; b=oAkVQDXsjVGaz7AzwWaxOhPgac7zM5jUEezxE8aGS/XhYhdEiynK+QvkD4qQm/BMq1 N8RpuogFIqevg6B7tSDLeE0vPnBHnzGheS82WeXoD6hobxcMrHn0g3QfXbjaNOeariEG ojDgkK40n5JikezVne9O9h6NkjeoQkq0TVIkezondw3sJjUPGWNWnxqczUJNXRnUPfMq 7vXcDP8JQDweoyXbEMw+SQWD7MhwB1WNp0fQ3TChdHAWqBZagHmyLwNqc36J30KX04nn F9iDkhGGVUcRboNejymY6R/M8XIv0VmEyodHVtzhQ+q2vO7i3LfQwWrskUJz4idTVi10 096Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QQ+P+Ng5tnxhRu45jXcajLHerEMcrD0CHXDjrmPmXZk=; b=LKZnKuK88Bisf7TUR6HPv8DoFpgalKwv4bPLM7rnQ2iDQRBLaKlsSZLyu6LOdhd48Z u74JdmE3JThofplDchTEzAXIpnwZno6i8r1/Pan6jUF+8Bz06XlO0Fm6y5qI+DJBkyy8 DKC2Mn3ylu2a70C6ZcRF2P4pUPZmgsWgvsaIj4C2RUAexAHTL62x99+rIO+W3QjytZbZ ZVcT4KYRd9kcgeib2sjq4ok9I7IyfISgE9S5ouR23OzhJHNvpe39+00I9BBXDw6j/sQK ThRT6mAsHzZg/xU5SbIDL9AaSI7JTb89CgDHmuVa0xZkR0zlbf8JU74MjoFSZSmfdOiI 3+ng== X-Gm-Message-State: APjAAAV8SRk+Ytk/iwEjAhE+yu44PoEftlFE0a8Uuj+FdsnAtZ1xFZ7n 2koIJFCfEfDp5p8XbOOqX3zklitQ X-Google-Smtp-Source: APXvYqyQxaO+2Ng9MUosAbfqGtcIrOKUd/0krFLe8LGJeh97s5UA/kKbxToK7NYZwxQrR92YNDFtDg== X-Received: by 2002:a50:ee0d:: with SMTP id g13mr13586848eds.113.1565995931280; Fri, 16 Aug 2019 15:52:11 -0700 (PDT) Received: from rimwks ([2001:470:1f15:3d8:7285:c2ff:fe37:5722]) by smtp.gmail.com with ESMTPSA id a18sm977738ejp.2.2019.08.16.15.52.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Aug 2019 15:52:10 -0700 (PDT) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Sat, 17 Aug 2019 01:52:08 +0300 To: Cy Schubert Cc: freebsd-current@freebsd.org, "Rodney W. Grimes" , John Baldwin , Daniel Eischen , x11@freebsd.org, current@freebsd.org Subject: Re: HEADSUP: drm-current-kmod now installs sources Message-ID: <20190817015208.2c8c29e0@rimwks> In-Reply-To: <5B38128E-4CC9-496B-A9FD-B4208B7C044D@cschubert.com> References: <201908162151.x7GLpMqf032597@gndrsh.dnsmgr.net> <5B38128E-4CC9-496B-A9FD-B4208B7C044D@cschubert.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 469JVN5Cs3z4t6n X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=oAkVQDXs; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rozhukim@gmail.com designates 2a00:1450:4864:20::544 as permitted sender) smtp.mailfrom=rozhukim@gmail.com X-Spamd-Result: default: False [-3.48 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.00)[ip: (-0.16), ipnet: 2a00:1450::/32(-3.03), asn: 15169(-2.38), country: US(-0.05)]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[4.4.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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: Fri, 16 Aug 2019 22:52:13 -0000 On Fri, 16 Aug 2019 15:40:24 -0700 Cy Schubert wrote: > On August 16, 2019 2:51:22 PM PDT, "Rodney W. Grimes" > wrote: > >> On 8/14/19 3:40 PM, Daniel Eischen wrote: > >> > I've lost the original thread, but would the sources in > >/usr/local/sys/modules get built regardless of what MAKEOBJDIRPREFIX > >is? And, now that sources may be installed by a port, what is the > >method for _just_ updating the sources? Why do I even need to build > >and install the port? Personally, I would just rather have the > >drm-kmod sources just imported into base and maintained there. If I > >have 2 or more different checked out base src trees, how do I get the > >correct drm-kmod to go with them if there is only one > >/usr/local/sys/modules? Do I need multiple port trees just to pull > >in out of tree module sources? > >> > >> In some ways, installing sources for DRM is a compromise for the > >> fact > >that we > >> can't have DRM in the base source anymore (for various reasons). > >However, > >> virtualbox is also probably in that camp as well. > > > >I applaud this effort to provide a source compile mode for DRM, > >but I think it has come up a bit short on execution with numorious > >problems sited. > > > >I too am not real happy that /usr/local/src is going to get > >automatically invoked from my some odd 10+ src trees that > >are of various WIP's. I need a way to easily disable this > >both on a global scale, and on a per src tree way. > > > >Rather than a default to on with an opt out mechanism perhaps > >while we gain experience change this to a default to off with > >an opt in mechanism? > > > >Sadly I do not have proposed solution, but something better > >than what is there now needs to be found. > > > >Regards, > > Could we have a .src.conf in the root of the tree to configure this > on a tree by tree basis? > > I use better way: /etc/make.conf: # Modules to build with kernel. PORTS_MODULES+= graphics/drm-fbsd12.0-kmod graphics/gpu-firmware-kmod + https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237290