From owner-freebsd-stable@FreeBSD.ORG Mon Jul 7 14:25:19 2014 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D90CFB9 for ; Mon, 7 Jul 2014 14:25:19 +0000 (UTC) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 43FF52B00 for ; Mon, 7 Jul 2014 14:25:19 +0000 (UTC) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id s67EPH79032302 for ; Mon, 7 Jul 2014 16:25:17 +0200 (CEST) (envelope-from h.schmalzbauer@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id F10043E32; Mon, 7 Jul 2014 16:25:16 +0200 (CEST) Message-ID: <53BAADCB.2000302@omnilan.de> Date: Mon, 07 Jul 2014 16:25:15 +0200 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: stable@freebsd.org Subject: Re: New port: inofficial/deploy-tools References: <5048F83C.7090300@omnilan.de> In-Reply-To: <5048F83C.7090300@omnilan.de> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2F75B9209D1F23379741747A" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Mon, 07 Jul 2014 16:25:17 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2014 14:25:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2F75B9209D1F23379741747A Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Bez=C3=BCglich Harald Schmalzbauer's Nachricht vom 06.09.2012 21:23 (loca= ltime): =E2=80=A6 > for people needing to setup various production systems, multiple > times for the same basic hardware but for different purposes, and > mainly for people installing embedded systems, my collection of > scripts/Makefiles named "deploy-tools" may be of interest. It makes > use of standard FreeBSD make processes, but modified in a way that > you can handle multiple rollouts in parallel, none touching the=20 > regular /usr/src /usr/obj trees. >=20 > You can "menu" driven (by sbin/deploy-manager): - checkout source > (svn+cvsup) and auto-apply local patches - build world/kernel - > rollout installer-cd image of the customized system with=20 > auto-install-script - rollout "firmware" (RAM-root) images - flash > card management for installing firmware images / packages >=20 > The basic idea is to share platform config for various systems not=20 > related otherwise. And of course to manage/archive the > configs/results. Therefor the configs are organized in projetcs, > which basically isPackage Building Menu" nothing more than a distinct > directory tree. The deploy-manager can initialize such projects, > taking care of all mandatory config files (provided as > templates/examples). =E2=80=A6 Long time no big update, but finally I added package handling on a custom-production-unit basis :-) Unfortunately, all the features are still undocumented, but the interactive deploy-manager script is self explaining in most places. Most important for package handling is "$UNIT-ports.lst", which resides in unit-config-subdir "ports" and lists all "root"-ports, the unit will have installed. In building-options-menu, you can selsect "Package Building Menu", and then "Batch building ports/packages". If you have a ports tree on the building host, it will mount that directory into it's building principle and create packages. After compilation finished, a package-resolver will check any dependent (pkg info for dependency is evaluated) package and make one if not existi= ng. New is also the "package ISO" Option (in Rollout menu). Here you can find the port inofficial/deploy-tools: ftp://ftp.omnilan.de/pub/FreeBSD/OmniLAN/deploy-tools/ Have fun, -harry --------------enig2F75B9209D1F23379741747A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAlO6rcsACgkQLDqVQ9VXb8go6ACdE7GgTWNWhe5HZzVt1W3+KuDK 5bMAoKuXu90NIXSswTH/VNIK0PeO1Lln =7mCQ -----END PGP SIGNATURE----- --------------enig2F75B9209D1F23379741747A--