Date: Mon, 07 Jul 2014 16:25:15 +0200 From: Harald Schmalzbauer <h.schmalzbauer@omnilan.de> To: stable@freebsd.org Subject: Re: New port: inofficial/deploy-tools Message-ID: <53BAADCB.2000302@omnilan.de> In-Reply-To: <5048F83C.7090300@omnilan.de>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Bezüglich Harald Schmalzbauer's Nachricht vom 06.09.2012 21:23 (localtime): … > 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 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). … 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 existing. 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAlO6rcsACgkQLDqVQ9VXb8go6ACdE7GgTWNWhe5HZzVt1W3+KuDK 5bMAoKuXu90NIXSswTH/VNIK0PeO1Lln =7mCQ -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53BAADCB.2000302>
