From owner-cvs-src-old@FreeBSD.ORG Thu Jun 24 22:40:40 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE5B8106566B for ; Thu, 24 Jun 2010 22:40:40 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B79748FC15 for ; Thu, 24 Jun 2010 22:40:40 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o5OMee9Z087838 for ; Thu, 24 Jun 2010 22:40:40 GMT (envelope-from imp@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o5OMeeFX087837 for cvs-src-old@freebsd.org; Thu, 24 Jun 2010 22:40:40 GMT (envelope-from imp@repoman.freebsd.org) Message-Id: <201006242240.o5OMeeFX087837@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to imp@repoman.freebsd.org using -f From: Warner Losh Date: Thu, 24 Jun 2010 22:21:47 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/etc/mtree BSD.usr.dist src/usr.sbin Makefile src/usr.sbin/pc-sysinstall Makefile src/usr.sbin/pc-sysinstall/backend Makefile functions-bsdlabel.sh functions-cleanup.sh functions-disk.sh functions-extractimage.sh functions-installcomponents.sh ... X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 22:40:40 -0000 imp 2010-06-24 22:21:47 UTC FreeBSD src repository Modified files: etc/mtree BSD.usr.dist usr.sbin Makefile Added files: usr.sbin/pc-sysinstall Makefile usr.sbin/pc-sysinstall/backend Makefile functions-bsdlabel.sh functions-cleanup.sh functions-disk.sh functions-extractimage.sh functions-installcomponents.sh functions-localize.sh functions-mountdisk.sh functions-mountoptical.sh functions-networking.sh functions-newfs.sh functions-parse.sh functions-runcommands.sh functions-unmount.sh functions-upgrade.sh functions-users.sh functions.sh parseconfig.sh startautoinstall.sh usr.sbin/pc-sysinstall/backend-partmanager Makefile create-part.sh delete-part.sh usr.sbin/pc-sysinstall/backend-query Makefile detect-laptop.sh detect-nics.sh detect-vmware.sh disk-info.sh disk-list.sh disk-part.sh enable-net.sh list-components.sh list-rsync-backups.sh list-tzones.sh query-langs.sh send-logs.sh setup-ssh-keys.sh sys-mem.sh test-live.sh test-netup.sh update-part-list.sh xkeyboard-layouts.sh xkeyboard-models.sh xkeyboard-variants.sh usr.sbin/pc-sysinstall/conf Makefile avail-langs exclude-from-upgrade pc-sysinstall.conf usr.sbin/pc-sysinstall/conf/licenses bsd-en.txt intel-en.txt nvidia-en.txt usr.sbin/pc-sysinstall/doc Makefile help-disk-list help-disk-size help-index help-start-autoinstall usr.sbin/pc-sysinstall/examples Makefile README pc-autoinstall.conf pcinstall.cfg.fbsd-netinstall pcinstall.cfg.geli pcinstall.cfg.gmirror pcinstall.cfg.netinstall pcinstall.cfg.restore pcinstall.cfg.rsync pcinstall.cfg.upgrade pcinstall.cfg.zfs usr.sbin/pc-sysinstall/pc-sysinstall pc-sysinstall.8 pc-sysinstall.sh Log: SVN rev 209513 on 2010-06-24 22:21:47Z by imp Bring in Kris Moore's pc-sysinstall shell script from PC-BSD. This shell script is the back end logic necessary for an installer. It contains both query routines to allow a front-end installer to present reasonable choices to the user and also action routines which allow the front end installer to put a FreeBSD distribution onto a disk. It supports installing onto the usual suspects, as well as advanced features like Mirroring, ZFS, Encryprion and GPT labels. While this is only the back-end of the installer, it can do unattended scripted installations. In PC-BSD's world view, all installations are scripted and all the front-end does is write the script. As such, it is useful in its own right. This has been extensively tested over the past several releases of PC-BSD. However, differences between that environment and FreeBSD suggest there will be a period of shake-out while those differences are discovered and corrected. A text-based front-end is in the works. For the GUI-based front-end, you can use the PC-BSD distribution. Kris' BSDcan paper on pc-sysinstall is linked off his talk on the BSDcan site: http://www.bsdcan.org/2010/schedule/events/173.en.html The man page is written by Josh Paetzel, and I wrote the Makefiles for the FreeBSD integration. Kris wrote the rest. This represents version r7010 in the PC-BSD repo. http://svn.pcbsd.org/pcbsd/current/pc-sysinstall Submitted by: kris@ Sponsored by: iX Systems Revision Changes Path 1.346 +16 -0 src/etc/mtree/BSD.usr.dist 1.426 +1 -0 src/usr.sbin/Makefile 1.1 +5 -0 src/usr.sbin/pc-sysinstall/Makefile (new) 1.1 +8 -0 src/usr.sbin/pc-sysinstall/backend-partmanager/Makefile (new) 1.1 +92 -0 src/usr.sbin/pc-sysinstall/backend-partmanager/create-part.sh (new) 1.1 +89 -0 src/usr.sbin/pc-sysinstall/backend-partmanager/delete-part.sh (new) 1.1 +13 -0 src/usr.sbin/pc-sysinstall/backend-query/Makefile (new) 1.1 +33 -0 src/usr.sbin/pc-sysinstall/backend-query/detect-laptop.sh (new) 1.1 +41 -0 src/usr.sbin/pc-sysinstall/backend-query/detect-nics.sh (new) 1.1 +36 -0 src/usr.sbin/pc-sysinstall/backend-query/detect-vmware.sh (new) 1.1 +68 -0 src/usr.sbin/pc-sysinstall/backend-query/disk-info.sh (new) 1.1 +60 -0 src/usr.sbin/pc-sysinstall/backend-query/disk-list.sh (new) 1.1 +119 -0 src/usr.sbin/pc-sysinstall/backend-query/disk-part.sh (new) 1.1 +65 -0 src/usr.sbin/pc-sysinstall/backend-query/enable-net.sh (new) 1.1 +54 -0 src/usr.sbin/pc-sysinstall/backend-query/list-components.sh (new) 1.1 +70 -0 src/usr.sbin/pc-sysinstall/backend-query/list-rsync-backups.sh (new) 1.1 +43 -0 src/usr.sbin/pc-sysinstall/backend-query/list-tzones.sh (new) 1.1 +32 -0 src/usr.sbin/pc-sysinstall/backend-query/query-langs.sh (new) 1.1 +83 -0 src/usr.sbin/pc-sysinstall/backend-query/send-logs.sh (new) 1.1 +64 -0 src/usr.sbin/pc-sysinstall/backend-query/setup-ssh-keys.sh (new) 1.1 +31 -0 src/usr.sbin/pc-sysinstall/backend-query/sys-mem.sh (new) 1.1 +40 -0 src/usr.sbin/pc-sysinstall/backend-query/test-live.sh (new) 1.1 +50 -0 src/usr.sbin/pc-sysinstall/backend-query/test-netup.sh (new) 1.1 +109 -0 src/usr.sbin/pc-sysinstall/backend-query/update-part-list.sh (new) 1.1 +56 -0 src/usr.sbin/pc-sysinstall/backend-query/xkeyboard-layouts.sh (new) 1.1 +58 -0 src/usr.sbin/pc-sysinstall/backend-query/xkeyboard-models.sh (new) 1.1 +56 -0 src/usr.sbin/pc-sysinstall/backend-query/xkeyboard-variants.sh (new) 1.1 +14 -0 src/usr.sbin/pc-sysinstall/backend/Makefile (new) 1.1 +641 -0 src/usr.sbin/pc-sysinstall/backend/functions-bsdlabel.sh (new) 1.1 +412 -0 src/usr.sbin/pc-sysinstall/backend/functions-cleanup.sh (new) 1.1 +672 -0 src/usr.sbin/pc-sysinstall/backend/functions-disk.sh (new) 1.1 +315 -0 src/usr.sbin/pc-sysinstall/backend/functions-extractimage.sh (new) 1.1 +166 -0 src/usr.sbin/pc-sysinstall/backend/functions-installcomponents.sh (new) 1.1 +474 -0 src/usr.sbin/pc-sysinstall/backend/functions-localize.sh (new) 1.1 +190 -0 src/usr.sbin/pc-sysinstall/backend/functions-mountdisk.sh (new) 1.1 +153 -0 src/usr.sbin/pc-sysinstall/backend/functions-mountoptical.sh (new) 1.1 +356 -0 src/usr.sbin/pc-sysinstall/backend/functions-networking.sh (new) 1.1 +168 -0 src/usr.sbin/pc-sysinstall/backend/functions-newfs.sh (new) 1.1 +231 -0 src/usr.sbin/pc-sysinstall/backend/functions-parse.sh (new) 1.1 +102 -0 src/usr.sbin/pc-sysinstall/backend/functions-runcommands.sh (new) 1.1 +206 -0 src/usr.sbin/pc-sysinstall/backend/functions-unmount.sh (new) 1.1 +247 -0 src/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh (new) 1.1 +175 -0 src/usr.sbin/pc-sysinstall/backend/functions-users.sh (new) 1.1 +284 -0 src/usr.sbin/pc-sysinstall/backend/functions.sh (new) 1.1 +167 -0 src/usr.sbin/pc-sysinstall/backend/parseconfig.sh (new) 1.1 +136 -0 src/usr.sbin/pc-sysinstall/backend/startautoinstall.sh (new) 1.1 +12 -0 src/usr.sbin/pc-sysinstall/conf/Makefile (new) 1.1 +20 -0 src/usr.sbin/pc-sysinstall/conf/avail-langs (new) 1.1 +15 -0 src/usr.sbin/pc-sysinstall/conf/exclude-from-upgrade (new) 1.1 +24 -0 src/usr.sbin/pc-sysinstall/conf/licenses/bsd-en.txt (new) 1.1 +207 -0 src/usr.sbin/pc-sysinstall/conf/licenses/intel-en.txt (new) 1.1 +53 -0 src/usr.sbin/pc-sysinstall/conf/licenses/nvidia-en.txt (new) 1.1 +76 -0 src/usr.sbin/pc-sysinstall/conf/pc-sysinstall.conf (new) 1.1 +8 -0 src/usr.sbin/pc-sysinstall/doc/Makefile (new) 1.1 +1 -0 src/usr.sbin/pc-sysinstall/doc/help-disk-list (new) 1.1 +1 -0 src/usr.sbin/pc-sysinstall/doc/help-disk-size (new) 1.1 +83 -0 src/usr.sbin/pc-sysinstall/doc/help-index (new) 1.1 +39 -0 src/usr.sbin/pc-sysinstall/doc/help-start-autoinstall (new) 1.1 +11 -0 src/usr.sbin/pc-sysinstall/examples/Makefile (new) 1.1 +355 -0 src/usr.sbin/pc-sysinstall/examples/README (new) 1.1 +52 -0 src/usr.sbin/pc-sysinstall/examples/pc-autoinstall.conf (new) 1.1 +71 -0 src/usr.sbin/pc-sysinstall/examples/pcinstall.cfg.fbsd-netinstall (new) 1.1 +50 -0 src/usr.sbin/pc-sysinstall/examples/pcinstall.cfg.geli (new) 1.1 +45 -0 src/usr.sbin/pc-sysinstall/examples/pcinstall.cfg.gmirror (new) 1.1 +68 -0 src/usr.sbin/pc-sysinstall/examples/pcinstall.cfg.netinstall (new) 1.1 +57 -0 src/usr.sbin/pc-sysinstall/examples/pcinstall.cfg.restore (new) 1.1 +45 -0 src/usr.sbin/pc-sysinstall/examples/pcinstall.cfg.rsync (new) 1.1 +24 -0 src/usr.sbin/pc-sysinstall/examples/pcinstall.cfg.upgrade (new) 1.1 +59 -0 src/usr.sbin/pc-sysinstall/examples/pcinstall.cfg.zfs (new) 1.1 +120 -0 src/usr.sbin/pc-sysinstall/pc-sysinstall/pc-sysinstall.8 (new) 1.1 +204 -0 src/usr.sbin/pc-sysinstall/pc-sysinstall/pc-sysinstall.sh (new)