From owner-freebsd-hackers@freebsd.org Mon Apr 29 13:39:26 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ABA76158D959 for ; Mon, 29 Apr 2019 13:39:26 +0000 (UTC) (envelope-from kris@ixsystems.com) Received: from mail-yw1-xc32.google.com (mail-yw1-xc32.google.com [IPv6:2607:f8b0:4864:20::c32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7C62C804A5 for ; Mon, 29 Apr 2019 13:39:25 +0000 (UTC) (envelope-from kris@ixsystems.com) Received: by mail-yw1-xc32.google.com with SMTP id u14so3703959ywe.1 for ; Mon, 29 Apr 2019 06:39:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ixsystems-com.20150623.gappssmtp.com; s=20150623; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-transfer-encoding:thread-index:content-language; bh=2IJu5TGpdGjUmj8a7vsts1jzQfoYhDoEbCfAoNXraIU=; b=PvlNMqK/WrvMLlN6BhxhcH6JfQ8/nvwZAFngGJiHU4TpZtwThkkfW5CEbjZkzQmS50 FXfV2jE2WxwozSUOCJYTnSUDUwm9AdHBUhQ94vysCqpA5V3ivoDHFehe8KUuss413GZp Nm95KLcvpVZjFFBefCjPgrKUXOPosOYLURH9vbbNZ0w8wDuKHP1cDBA3nHaQSZKIkS+B dst+ikfmC2zgXWqBAGUCpjUrVtQJ6Sh+G/03GWr6u9QuRNV5Q1iKxh/QQmNwnT0GPgcS zmMhbWSs3R2aqwaSu+z7c4fXukjT36Xe3re5smyH35XbigGqQl8eneD2KFSTx4paWNiW BfBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=2IJu5TGpdGjUmj8a7vsts1jzQfoYhDoEbCfAoNXraIU=; b=A0VIgZQKajmcm3JOhL2dp1eM7MpAhMYUskbMICOK6F6IwcB1FM4MLXtQb08+J+iT6j o57B/t8MYb6161Xx+V7LQo770Il0EHSVpOTGM9+/eQcLmyE8R0DAqBIhzzQuVimBjvn6 CIsH3w27p5wszYPwLVQ8hEPLiFebFC/F4VAaxLIapcilWqjHFtVNghTWoiBd6vYONPCr vlN8/lOwT00MEejsDt5U/6f/XprOJUS/EKr0qg5dMlAjRNGcRbBKHEPnX2QnuyEWq9c3 Is+Nbcec40GIRjBQGaWYyV+orEyS3BIMX5zGP4uXqvtuQqD89F3ATXlvJojV3nQvPBVt thzA== X-Gm-Message-State: APjAAAWfebNISn0w4ejxRIwEBZ0r2xu7v/poBvwQuTvGg00INR+q+61T VO9Z7/XlkxI5XB9gdXY6YcMi6ypR+9OUTg== X-Google-Smtp-Source: APXvYqz1cNRBB7iwIoBlEnDBsbdDLKEN6FrcRo1rQyFvh9FwJFwqnq6iTj7NSlbMBxoW9ihYtOYrNQ== X-Received: by 2002:a0d:d7d0:: with SMTP id z199mr41620546ywd.468.1556545164866; Mon, 29 Apr 2019 06:39:24 -0700 (PDT) Received: from KrisYogaC930 ([12.189.233.130]) by smtp.gmail.com with ESMTPSA id d138sm1061418ywa.39.2019.04.29.06.39.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Apr 2019 06:39:24 -0700 (PDT) From: To: , , , References: <002901d4fdfb$e52eb890$af8c29b0$@ixsystems.com> <1393169f-7988-7ce6-e030-8c61727f78b8@FreeBSD.org> In-Reply-To: <1393169f-7988-7ce6-e030-8c61727f78b8@FreeBSD.org> Subject: RE: CFT: FreeBSD Package Base Date: Mon, 29 Apr 2019 09:39:23 -0400 Message-ID: <02f301d4fe90$f5270d70$df752850$@ixsystems.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQFBRupbev+o6AHqgfoJLZwOgBKxNQMpPgSsp2FJpoA= Content-Language: en-us X-Rspamd-Queue-Id: 7C62C804A5 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ixsystems-com.20150623.gappssmtp.com header.s=20150623 header.b=PvlNMqK/; dmarc=pass (policy=none) header.from=ixsystems.com; spf=pass (mx1.freebsd.org: domain of kris@ixsystems.com designates 2607:f8b0:4864:20::c32 as permitted sender) smtp.mailfrom=kris@ixsystems.com X-Spamd-Result: default: False [-6.66 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[ixsystems-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT3.ASPMX.L.GOOGLE.com]; DMARC_POLICY_ALLOW(-0.50)[ixsystems.com,none]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ixsystems-com.20150623.gappssmtp.com:s=20150623]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.3.c.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FROM_NO_DN(0.00)[]; IP_SCORE(-2.68)[ip: (-7.90), ipnet: 2607:f8b0::/32(-3.17), asn: 15169(-2.24), country: US(-0.06)] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 13:39:26 -0000 This should be very doable with this package base. We use it for FreeNAS = in a similar manner, where we disable a couple dozen things from base, = resulting in a much more stripped down userland-base package. By default = we also break out the doc/tests/debug bits into their own userland-* = packages, for same reasons, to keep image nice and small. --=20 Kris Moore Vice President of Engineering iXsystems, Inc Ph: (408) 943-4100 Ph: (408) 943-4101 The Groundbreaking TrueNAS M-Series - Enterprise Storage & Servers Driven By Open Source -----Original Message----- From: Lev Serebryakov =20 Sent: Monday, April 29, 2019 9:20 AM To: kris@ixsystems.com; freebsd-current@freebsd.org; = freebsd-pkgbase@freebsd.org; freebsd-hackers@freebsd.org Subject: Re: CFT: FreeBSD Package Base On 28.04.2019 22:52, kris@ixsystems.com wrote: > I'm pleased to announce a CFT for builds of FreeBSD 12-stable and=20 > 13-current using "TrueOS-inspired" packaged base. These are stock=20 > FreeBSD images which will allow users to perform all updating via the = 'pkg' command directly. > Rather than trying to answer all questions in this announcement, we've = > created a FAQ page with more details. Please refer to this page, and=20 > let us know if you have additional questions that we can include on=20 > that page going forward. Is it too coarse, isn't it? I'm not very interested in packetized base for "big servers" which = contains full FreeBSd installation, but I have several NanoBSD = installations, which have more than 100 "WITHOUT_XXX" options in = src.conf. I want to have packetized base to create such images via `pkg' Not all these options could be converted to packages, options like = WITHOUT_KERBEROS is more build option, but about 2/3 of these options = turn off some file-based features, like sendmail, PPP, toolchain or = bzip2. IMHO, to be really useful packets in base should be based on these = src.conf options to have ability to skip unneeded "optional" base = components (including, for example, man pages!). And one more, not covered with src.conf WITHOUT_XXX: static libraries = and header files, of course! -- // Lev Serebryakov