NetBSD Problem Report #58536
From www@netbsd.org Fri Aug 2 01:40:28 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 2C7E61A923C
for <gnats-bugs@gnats.NetBSD.org>; Fri, 2 Aug 2024 01:40:28 +0000 (UTC)
Message-Id: <20240802014026.88E3E1A923E@mollari.NetBSD.org>
Date: Fri, 2 Aug 2024 01:40:26 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: build.sh should support cross-building packages into images
X-Send-Pr-Version: www-1.0
>Number: 58536
>Category: toolchain
>Synopsis: build.sh should support cross-building packages into images
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 02 01:45:00 +0000 2024
>Originator: Taylor R Campbell
>Release: current, 10, 9, ...
>Organization:
The NetBSD Foundation.tgz
>Environment:
>Description:
It should be possible to do something like
./build.sh ... distribution package=net/socat release
and get socat binary package and/or release images that have it preinstalled.
Command-line argument might be better for saying `please build this package' than for saying `please include this package in the image' but it should be possible to say both of these things. Maybe an mk.conf variable for the list of packages that should be included or something like that.
>How-To-Repeat:
seek to build cloud images or small appliance images that don't rely on the sordid state of TNF binary packages
>Fix:
Yes, please!
This will also require resolving an issue similar to https://gnats.netbsd.org/57639 which is that populating $DESTDIR/usr/pkg will make checkflist fail. We'll need to find some way to resolve that.
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.