From nobody Fri Oct 10 09:04:12 2025 X-Original-To: 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 4cjgm46yndz6BfPs; Fri, 10 Oct 2025 09:04:20 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4cjgm42cVGz3kYS; Fri, 10 Oct 2025 09:04:20 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; none Received: from kalamity.joker.local (124-18-6-240.area1c.commufa.jp [124.18.6.240]) (authenticated bits=0) by www121.sakura.ne.jp (8.18.1/8.17.1/[SAKURA-WEB]/20201212) with ESMTPA id 59A94DKG018419; Fri, 10 Oct 2025 18:04:13 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dec.sakura.ne.jp; s=s2405; t=1760087054; bh=tf23JA7ddRuVb+c7drz1wPhjk4+qyf0RTAZM8+QbUuM=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=Evq1FV8S521stNIZP/fVdx6YGSOpHjrADRbIVbDF8K3siLCE8KzgD18Io8czrQSMh 2Yy5U8UdFV63jx4UCuvM40+qf4Sca2mPb/0b6Te2OrIJ/b5GUgxjkHTY4uqGLTCEJ9 EHwied6kJ8UD2jhTObFI/RdNpvoHeeRXZoRNAp2c= Date: Fri, 10 Oct 2025 18:04:12 +0900 From: Tomoaki AOKI To: Ronald Klop Cc: Cy Schubert , stable@freebsd.org, current@freebsd.org, cperciva@freebsd.org Subject: Re: disallowing 'make installworld' with pkgbase Message-Id: <20251010180412.60ba4113ea116ac6f0a49f7f@dec.sakura.ne.jp> In-Reply-To: References: <20251006221544.613E19E@slippy.cwsent.com> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd15.0) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cjgm42cVGz3kYS On Fri, 10 Oct 2025 10:48:33 +0200 Ronald Klop wrote: > Op 07-10-2025 om 00:15 schreef Cy Schubert: > > In message , Lexi Winter writes: > >> > >> --E6aI5jKH+dHsJ3L/ > >> Content-Type: text/plain; charset=us-ascii > >> Content-Disposition: inline > >> > >> hello, > >> > >> in 15.0 we will ship pkgbase as an alternative to the dist sets for base > >> system installation. pkgbase is entirely optional and for at least 15.0, > >> we will continue to support dist set installation with freebsd-update. > >> > >> the traditional source update method, using make buildworld installworld, > >> will be supported indefinitely and there are no plans to remove this even > >> after dist sets and freebsd-update are dropped. > >> > >> however, while both update methods will be supported individually, they > >> cannot be used together, i.e., if you installed the system with pkgbase, > >> you should not attempt to update it using "make installworld" because > >> this will cause the installed system to become out of sync with the > >> pkg(8) database. > >> > >> instead, you have two options: update with "make buildworld packages" > >> and pkg-upgrade(8), or depkgbasify the system and then update using > >> make installworld as usual. either of those options is fully supported, > >> but you have to choose one of them to avoid breaking your system later. > >> > >> (the procedure to "depkgbasify the system" is not entirely clear yet, > >> but we will need something like this at least for 16.0, so there will > >> be some way to do that.) > >> > >> all of this preamble is to be as clear as possible that the review i'm > >> about to link is *not* about removing support for 'make installworld' > >> (we aren't going to do that) and does not prevent you from doing anything > >> you currently do. with that in mind, i would like to land this for 15.0: > >> > >> "Makefile: Don't allow install{world,kernel} with pkgbase" > >> https://reviews.freebsd.org/D52879 > >> > >> the point of this change is to avoid the situation where a user installs > >> 15.0 with pkgbase, then tries to upgrade using 'make installworld' out > >> of habit, not realising that this will break their system. users who > >> are really sure they want to do this still can using DESTDIR=/, and > >> users who don't use pkgbase are completely unaffected by this change. > >> > >> so, if anyone has an objection to this change, please say so. > > > > How would one go about installing a new system from ISO. Then proceed to > > maintain it using installworld if the only supported new install is pkgbase? > > > > Second question: How would one go about converting an existing system to > > pkgbase? > > > > > > > Hi, > > I read about pkgbasify. > https://github.com/FreeBSDFoundation/pkgbasify > > Ironically I can't find it in the ports tree. > > Regards, > Ronald. Hi. IMHO, shouldn't it contained in base (i.e., /usr/sbin/pkgbasify), rather than in ports? Regards. -- Tomoaki AOKI