From owner-freebsd-questions@FreeBSD.ORG Sat Nov 8 15:36:14 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 080A316A4CF for ; Sat, 8 Nov 2003 15:36:14 -0800 (PST) Received: from lilzmailfe02.liwest.at (lilzmailfe02.liwest.at [212.33.55.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E61D43FE9 for ; Sat, 8 Nov 2003 15:36:13 -0800 (PST) (envelope-from dgw@liwest.at) Received: from [212.33.58.27] (helo=cm58-27.liwest.at) by lilzmailfe02.liwest.at with esmtp (Exim 4.14) id 1AIccl-0002RG-DQ for questions@freebsd.org; Sun, 09 Nov 2003 00:36:11 +0100 From: Daniela To: questions@freebsd.org Date: Sun, 9 Nov 2003 00:32:02 +0000 User-Agent: KMail/1.5.3 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200311090032.02717.dgw@liwest.at> Subject: Problems creating a new release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2003 23:36:14 -0000 Hi list! I'm currently trying to create a Knoppix-like desktop system from 4.9 sources, with almost no sourcecode change. I made a new directory where I create the new system in, then I built the world and some of my favorite ports into this directory. For all this, I modified a shellscript I often use for installation, so it adds -DNOSTATIC to every make commandline to save space, and sets DESTDIR correctly. I'm having a few problems with some ports, and some questions about the changes I have to make. I'll mount /var, /tmp, /etc and /root as memory disks. For /tmp, /var and /root I guess I need to create the devices with vnconfig, and just mount them from /etc/fstab, right? For /etc, I'll modify init to mount the memory disk over the original /etc, create the config files based on the user's hardware and maybe even load saved configuration from a floppy. Would this work, or is it nonsense? And where can I insert my procedures to create the config files? (I only have basic C knowledge) Next problem: Some ports are badly behaved. For example, the /usr/X11R6 directory doesn't exist at all in the new system, although I built some X11 ports. Lots of them failed during the build. I have one program (not in the ports) with a Loki installer that doesn't want to install when locked into the new directory. It says: ELF binary type "0" not known. Regards, Daniela