From owner-freebsd-libh Mon Apr 23 10:19:44 2001 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id D9D6D37B42C for ; Mon, 23 Apr 2001 10:19:41 -0700 (PDT) (envelope-from alex@usw4.freebsd.org) Received: (from alex@localhost) by usw4.freebsd.org (8.11.3/8.11.1) id f3NHLfn52129 for libh@FreeBSD.org; Mon, 23 Apr 2001 12:21:41 -0500 (CDT) (envelope-from alex) Message-Id: <200104231721.f3NHLfn52129@usw4.freebsd.org> From: Alexander Langer Date: Mon, 23 Apr 2001 12:21:37 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/release/scripts cdrominstall.tcl choosedistrib.tcl ftpinstall.tcl instmethod.tcl setup.tcl Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alex 2001/04/23 12:21:37 CDT Modified files: release/scripts setup.tcl Added files: release/scripts cdrominstall.tcl choosedistrib.tcl ftpinstall.tcl instmethod.tcl Log: New framework for a libh based setup: Source functions from different files. For now, choose between CDROM and FTP installation. Source files that provide an init function as well as a "setupfetch" function. init for CDROM should mount CDROM, FTP-init should setup network and FTP- server. setupfetch takes an argument: relative file, that is wanted and returns the position where it is stored locally (eventually). For CDROM this returns the file's position on the CDROM (no need to retrieve it), for FTP it should place it into /tmp and return this position. Then this new file is sourced and the installation can proceed. This general framework can be used to abstract the whole file-access layer from the rest of the installation process. Revision Changes Path 1.2 +25 -25 libh/release/scripts/setup.tcl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message