From owner-freebsd-stable@FreeBSD.ORG Thu Sep 6 19:23:43 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 014E71065670 for ; Thu, 6 Sep 2012 19:23:43 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (s1.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 776F68FC1B for ; Thu, 6 Sep 2012 19:23:41 +0000 (UTC) Received: from titan.inop.wdn.omnilan.net (titan.inop.wdn.omnilan.net [172.21.3.1]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id q86JOKVF070369 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Sep 2012 21:24:20 +0200 (CEST) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <5048F83C.7090300@omnilan.de> Date: Thu, 06 Sep 2012 21:23:40 +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 X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig883B4EECC99E06BB25226BE4" Cc: Subject: New port: inofficial/deploy-tools X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2012 19:23:43 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig883B4EECC99E06BB25226BE4 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hello, 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 regular /usr/src /usr/obj trees. 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 auto-install-script - rollout "firmware" (RAM-root) images - flash card management for installing firmware images / packages The basic idea is to share platform config for various systems not related otherwise. And of course to manage/archive the configs/results. Therefor the configs are organized in projetcs, which basically is 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). "deploy-tools" is the aggregation of several scripts/tools/Makefiles I've been using myself for several years. Only very view "make targets" are reachable by menu, but most of the not-reachable-ones are irrelevant for regular usage. Most important part is the "Embedded Systems" management. This emerged from a former project named FlashBSD. Aim was, to shrink a standard FreeBSD system to fit on a 64MB CF-Card, while still providing most of the admin's features like on regular systems (man pages etc). It makes use of standard processes as much as possible (unlike many other milli- micro- nano- projects) and ensures high robustnes for the target installation. Feedback of course is welcome. No man page available but you'll get infos/advices/descriptions during project initialization. ftp://ftp.omnilan.de/pub/FreeBSD/OmniLAN/deploy-tools-0.9.5.shar.gz Place it into usr/ports/inofficial gunzip and run the shell archive. Then you can install it like every other port. It's not feature complete yet, and may make assumptions not fitting for everybody, but if you're tired manually applying local patches, comparing/copying/merging configurations and doing over and over the same, it may be helpful. Especially if you want to setup any WRAP/NET devices! And also for VMWARE rollouts! You can have a ISO ready for auto-installtion with very view key strokes, idle brain and lots of spare time - depending on your building machine ;-) Only tested on FreeBSD 9, CD-imaging won't work on systems with makefs lacking cd9660 support! -Harry --------------enig883B4EECC99E06BB25226BE4 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) iEYEARECAAYFAlBI+DwACgkQLDqVQ9VXb8gOPACeKQJiM5OS+UO5VCP0SB4FyMNK KMEAoKfvlnjzv2lkI/DhBWnDfydKCsmx =AMh3 -----END PGP SIGNATURE----- --------------enig883B4EECC99E06BB25226BE4--