From nobody Wed Nov 19 16:31:13 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dBRng6BXBz6HxGX for ; Wed, 19 Nov 2025 16:31:35 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dBRng0sLQz3FQR for ; Wed, 19 Nov 2025 16:31:35 +0000 (UTC) (envelope-from fjwcash@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-il1-x130.google.com with SMTP id e9e14a558f8ab-433791d45f5so51754925ab.0 for ; Wed, 19 Nov 2025 08:31:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763569886; x=1764174686; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dOax16Z27juNay9fZeloD4hRu96oI9qs/yGcTfYnNhM=; b=cerXa4adlcmz9bdOrQZSXmDniEueCpgTXIG2oC62k7OED4mL6ZZaNrhTbqunXOuujK wkJGEN6sMuQ+pz6xVMJneWVKjOBGW9dmruSDu60e0fhcG/q3B3F1P64T5mgGxLVYYkdy 61XurRZKVRdfy5vkPZDSVO+lPDZ/0BSyQLQDHY5/pANn9PfBxIIuXqSNWusPVpw10kPC kFxGwCD+OWI8gDgn+36EJvA23fYD7GtFfpT2AdhrvSGtP4sFPx+j5VHxHwkWM/kBdxG1 kcQTLQNYmOOGlWHPI5rkkAgNEiDOcBT7jrk6+SMivZZW9nE32DN0n8iA5B/skUUMIQfm T4+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763569886; x=1764174686; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=dOax16Z27juNay9fZeloD4hRu96oI9qs/yGcTfYnNhM=; b=Fnry96rEvhSq5WxgxzRtOQeQuaMGUbsPgK7eEacDPekJ8Td1QobC72U1lpOmKgWxDC 8jbQaY+6Zt6KmEsBupQcXGfNPNhYiijjE+uTpRCHuGWu+smWFfle9JAgelFo73qiengb tA6rgjdBlRl1s6JM6mzO5+q8tnUE8nGWvcJWTkLX6QN1ZaZvI9y/E6cX0JWYFoDFUfNo RgK7JTwdeX/tJjj4Phzd+GqLIHqlzm+iLSzfo/Yj/5254mXBFI90FcUYsduvHaOUfX20 FWAxO3dI9uumjWn5iZFO/VFwAWh11hDOUHle9zoiURVsKNvAl5fI5BjOKNGRquDd3IV3 zJAA== X-Forwarded-Encrypted: i=1; AJvYcCVm+KAx+K/sOP+O1X6wP9tv9pRiVKDpTpkkR6D2f0OIaIB1IepsUcGUmRbuTXmYPndpVQw4WEVIlOzFG6JXcD4=@freebsd.org X-Gm-Message-State: AOJu0YxQxwq9Vx28ctos2EA70zZfmZ3mgpDA7/C065Dt7wGAP7deskzU ISZUtex8wXQ1oIImmh7dsuMLapJTnZqhn67Z90EeZTcpD5vGGoR4axPHiulfCZf8HxPxwh6SzLO bJPKGZAgIJdE4IZ+JMrK0y3Y5fzq8SDg= X-Gm-Gg: ASbGncv2qyOM8KuAQQOGcRy6xXDOzBGwLF8Nd9Q7cbAJfY2psCZaNG2AMtaHwK0E2ME sVex5GwQD20jwaULpIATBjxli/bHsVK1sAZUmP7tqrFjjUjw/FiQXYV4Oe74FhugYvt9vwCX+mH Nq3RMc+RAxj6MI/dYtljBcUKiLmomUAtWqVBRTsWtY+Zf09IxGNwxyDWF8g+S9sqJuDh7lnB+P5 mkpW6xIh/D8iy0JlrwUzlTzjd9JnlqEVuPRpjok7g86rTyMwiU5scjzX5tKdTq0XiMpL8LfwvEJ mZ+bNQ== X-Google-Smtp-Source: AGHT+IGuALLkxSj8ZHE8il5nPtMYnDpmcPjq/tOPWK2GuBPk1KooW0j+3VDqU4H2/QuXlUkBWFxnYPonVi+Wo1fu6og= X-Received: by 2002:a05:6e02:1582:b0:433:2c61:b483 with SMTP id e9e14a558f8ab-435a9074318mr757835ab.25.1763569885298; Wed, 19 Nov 2025 08:31:25 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <20251119172520.4af73dd0.grembo@freebsd.org> In-Reply-To: <20251119172520.4af73dd0.grembo@freebsd.org> From: Freddie Cash Date: Wed, 19 Nov 2025 08:31:13 -0800 X-Gm-Features: AWmQ_bkKiqvzyCM497l2vrfHsyibEWJjlT0cXwBGONYw86u2ADL6XTPSiKfE15k Message-ID: Subject: Re: changing from pkgbase to regularbase To: Michael Gmelin Cc: void , freebsd-current@freebsd.org Content-Type: multipart/alternative; boundary="0000000000008cc2230643f51c92" X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dBRng0sLQz3FQR --0000000000008cc2230643f51c92 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Nov 19, 2025 at 8:25=E2=80=AFAM Michael Gmelin = wrote: > On Wed, 19 Nov 2025 16:14:27 +0000 > void wrote: > > > On Wed, Nov 19, 2025 at 03:14:28PM +0000, Minsoo Choo wrote: > > > > >Thanks for your effort! > > > > > >Since DESTDIR has been around for some time, I think the related > > >logic was accidentally removed while adopting pkgbase. This won't > > >take too much effort (just set DESTDIR to / if it is not specified), > > >and I don't need other information for now. > > > > I think I've found the reason for this > > in https://reviews.freebsd.org/D52879 which I didn't see before. > > > > There should be IMO a setting or a sysctl or something like > > pkgbase.enabled=3D0 though (my own perspective as a user) > > What is the procedure to run a custom kernel with pkgbase? In the > last couple of years we needed stability patches (pf, zfs, etc.) on > almost every second release (at least temporarily, until an errata was > created). > > Would we need to run our own pkgbase server in this case or is there > another (non-hacky) way? > There's a make target for building packages for installation via pkg using the sources under /usr/src. I don't recall what it is offhand, but it should be documented in /usr/src/ Then you just install the new package for your custom kernel. --=20 Freddie Cash fjwcash@gmail.com --0000000000008cc2230643f51c92 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Nov 19, 2025 at 8:25=E2=80=AFAM M= ichael Gmelin <grembo@freebsd.org<= /a>> wrote:
On Wed, 19 Nov 2025 16:14:27 +0= 000
void <
void@f-m.fm&g= t; wrote:

> On Wed, Nov 19, 2025 at 03:14:28PM +0000, Minsoo Choo wrote:
>
> >Thanks for your effort!
> >
> >Since DESTDIR has been around for some time, I think the related > >logic was accidentally removed while adopting pkgbase. This won= 9;t
> >take too much effort (just set DESTDIR to / if it is not specified= ),
> >and I don't need other information for now.=C2=A0
>
> I think I've found the reason for this
> in https://reviews.freebsd.org/D52879 which I didn't = see before.
>
> There should be IMO a setting or a sysctl or something like
> pkgbase.enabled=3D0 though (my own perspective as a user)

What is the procedure to run a custom kernel with pkgbase? In the
last couple of years we needed stability patches (pf, zfs, etc.) on
almost every second release (at least temporarily, until an errata was
created).

Would we need to run our own pkgbase server in this case or is there
another (non-hacky) way?

There's a = make target for building packages for installation via pkg using the source= s under /usr/src. I don't recall what it is offhand, but it should be d= ocumented in /usr/src/<something>

Then you j= ust install the new package for your custom kernel.=C2=A0
<= br>
--
Freddie Cash
fjwcash@gmail.com
--0000000000008cc2230643f51c92--