From nobody Wed Mar 25 20:50:58 2026 X-Original-To: freebsd-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 4fgzb51btpz6Wm5Q for ; Wed, 25 Mar 2026 20:51:13 +0000 (UTC) (envelope-from Wismos@proton.me) Received: from mail-24431.protonmail.ch (mail-24431.protonmail.ch [109.224.244.31]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fgzb263jQz3r3m for ; Wed, 25 Mar 2026 20:51:05 +0000 (UTC) (envelope-from Wismos@proton.me) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=3u2q72vj6baapnkjhzelp4h2cq.protonmail; t=1774471862; x=1774731062; bh=dWFZ9bSwJk5h1syeCPFyUlVcQ10w0J3hsACcC9MMkv0=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=BWdHJWUWcg87sPmdzewmQEUpNeRXozIys8O8JlKnhTsRWkAnlIdZmTQyjItG90UI5 xMNW9SOPt+WEkkjLNJTPb2g5PXwmf+z34dKjB4D9m2C6ccdDEJcPNQCqbqEdtIr4T0 46tRq56DBFhNy0jpoxZpknuYzbGkzNFYP4vntXN9gwcDyV6qYugLdijRVgPFQM1FGI DzY/nOO9tJOixeGEm9dC8NALu/e1NL8xcGqhGHFOPl2g81UJ0asKEHRHnhcptSySEK uRuLBxvmoZNbGrPDllPuXj9m5EA48wGu6OHoPCVZ/8tDzQKaQlVA6H4Ih5Spgq6mVO +HS8aWs6bMHDA== Date: Wed, 25 Mar 2026 20:50:58 +0000 To: vermaden From: Wismos@proton.me Cc: "freebsd-pkgbase@freebsd.org" , "freebsd-questions@freebsd.org" Subject: Re: installing world from src on a pkgbase system Message-ID: In-Reply-To: References: Feedback-ID: 51325846:user:proton X-Pm-Message-ID: 769bfdd83f461870903ef8443059f8e4e4a2c94e 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:62371, ipnet:109.224.244.0/24, country:CH] X-Rspamd-Queue-Id: 4fgzb263jQz3r3m X-Spamd-Bar: ---- hi, i asked for a method that allows me to install pkgbase world packages w= ithout having to buildkernel and make buildkernel and make packages means b= uilding kernel, i am not looking for some sort of hack as well Thank you -------- Original Message -------- On Thursday, 03/26/26 at 02:09 vermaden wrote: Something like that: # cd /usr/src # make -j $( nproc ) buildworld buildkernel # make packages This gives You PKGBASE packages here: /usr/obj/usr/src/repo/FreeBSD:15:amd64/latest You then create pkg(8) repo there: # pkg repo /usr/obj/usr/src/repo/FreeBSD:15:amd64/latest Creating repository in .: 100% Packing files for repository: 100% Create pkg(8) repo file. # cat /etc/pkg/FreeBSD-base.conf FreeBSD-base: { url: "file:///usr/obj/usr/src/repo/FreeBSD:15:amd64/latest", enabled: yes } Then create new dir (or mount disks there): # mkdir -p /NEW /NEW ... and populate that PKGBASE installation using bsdinstall(8) as follows. # export BSDINSTALL_CHROOT=3D/NEW # export BSDINSTALL_PKG_REPOS_DIR=3D/usr/obj/usr/src/repo/FreeBSD:15:amd6= 4/latest # env TERM=3Dxterm bsdinstall pkgbase After its finished - you have FreeBSD installed using PKGBASE inside /NEW d= ir. The 'env TERM=3Dxterm' part is optional - makes sure you start bsdinstall(8= ) in colors. Regards, vermaden > Hi there, i have been trying pkgbase for a while but > there is one specific topic that's still not very clear to > me is how do i go around only installing world from > src on a pkgbase system > > make packages requires you to do both buildworld and > buildkernel, it also requires you to setup a local repo > using nginx (as far as i can read from the handbook) > >i tried to do just pkg add * from the > /usr/obj/usr/src/repo/FreeBSD:${ABI}.xxxx/xxxx and > that obviously messed up my system pretty bad > > so i was wondering if there was a way to build > packages of only base without having buildkernel as > well and if there was a way to install those packages > without having to go through setting up a server with > nginx and as far as i am aware package world target > is only for release targets and not for me