From nobody Wed May 10 10:09:02 2023 X-Original-To: pkgbase@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 4QGW2x3NWfz49g4p for ; Wed, 10 May 2023 10:09:13 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (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 4QGW2x1FdSz4YKH for ; Wed, 10 May 2023 10:09:13 +0000 (UTC) (envelope-from mad@madpilot.net) Authentication-Results: mx1.freebsd.org; none Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 4QGW2n06l1z6sqB; Wed, 10 May 2023 12:09:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:content-language:references:subject:subject:date:date :message-id:received; s=bjowvop61wgh; t=1683713343; x= 1685527744; bh=8xaP/ODkXSmncTtpUWfePIIhEFsmXl9fgVXbXepraZU=; b=H fpiv2pE6Y3u1FDiElgT/GhOv4dvsDRua7UYNJOB1Ypicaz2FZjtI6x85/9In7tPD S2Tqf5PQNTV2ctK3wxl8YPDXmh47cAmEm8O0Xb48ztVsVr3Cpb7M0OCwvNDZBtuR PkeM9QFyiAXvbfyO1AFayVd8Xu39G7Lmp1xNZK/eRLeo5P7iMXzSRjwAQXAaT2Ef 2Pqg+yOa7a1ZJGCZoV1xs1kMaiPiXuaLLcoeLsUmmFkPsRkcP52rPmyF3yGjvHbH NqpCHvBdb0GN6EzCcd3Y63VMt3feTwF5xxYuA5MJvef8JMYLuKDpfY5rXP8wW+qz cK+IAKk9dsUqnRwuiwBhw== Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10026) with ESMTP id tHwEDs1keoFy; Wed, 10 May 2023 12:09:03 +0200 (CEST) Message-ID: <4f8e6e12-e13e-2f06-c039-93c773627693@madpilot.net> Date: Wed, 10 May 2023 12:09:02 +0200 Subject: Re: What setup method is planned for pkgbase? To: Harry Schmalzbauer , pkgbase@FreeBSD.org References: <81e4426a-7b8f-f84a-f201-0892f460c2b8@omnilan.de> Content-Language: en-US From: Guido Falsi In-Reply-To: <81e4426a-7b8f-f84a-f201-0892f460c2b8@omnilan.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4QGW2x1FdSz4YKH X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@freebsd.org On 10/05/23 11:44, Harry Schmalzbauer wrote: > Hello, > > > back in times (sysinstall(8) aera), when geom(4) was extended for GPT > (and gpart(8) got the ability to write GPT labels) I created my own, > highly customized installer, which has the drawback that it still > requires a special distribution media (iso with cpio archives). My plans > to support the official ISO never materialized, but it's still providing > a sophisticated (auto-partitioning) ZFS and UFS setup job likewise for > UEFI and BIOS based system (emerged from a embedded project) and > provides a radical update concept: newfs (UFS factory snapshot with > auto-backup+restore, resp. new ZFS datasets). It is focused on > productive servers, with as much read-only mounts as possible (and > omitting dev bytes on those strictly productive machines) and was a > sysinstall(8) substitution. > > Since the ammount of machines to deploy massively decreased for me, and > pkgbase seems to be more or less ready ('make packages' left a beautiful > repo), I want to replace my customized installation methods (transfering > all it's features for optional usage). I don't have definitive answers to the other questions (details below), but I'd suggest you use poudriere to generate the pkgbase repos. It has the advantage of only replacing required packages on subsequent builds, which helps if you happen to update and only a few files are modified (leverages repeatable builds) > I'm planning to use whatever FreeBSD uses by default.  Currently, it's > bsdinstall(8) I guess (which I never used), but I'm not sure if it is > planned that bsdinstall(8) will be made pkgbase compatible. I rarely install new machines from scratch, but for now my strategy has been to perform a classic install and then just dump base packages over them, removing unwanted packages later. Crude but works, for my needs. Definitely not acceptable if you want to automate installing more than one machine at a time. So I have little insight in this regard. -- Guido Falsi