From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1S7W7O-0007ZQ-6n for ptxdist@pengutronix.de; Tue, 13 Mar 2012 19:06:42 +0100 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1S7W7O-0005R5-5R for ptxdist@pengutronix.de; Tue, 13 Mar 2012 19:06:42 +0100 Date: Tue, 13 Mar 2012 19:06:42 +0100 From: Michael Olbrich Message-ID: <20120313180642.GA20481@pengutronix.de> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] Proper way to modify an ETC file Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Tue, Mar 13, 2012 at 05:21:15PM +0000, Jerry Kirk wrote: > Within my embedded project I'd like to modify Busybox's FTPD command to allow > more general access to the filesystem. I'm not quite sure the right way to do > this. I've been considering > > 1. A local "patch" to the busybox file that gets copied > 2. A new package that runs SED and modifies the busybox file in /etc or copies > a new file into the root > > What is the right way to make local changes for my project to the root > filesystem of the embedded system? Which file do you want to modify? /etc/inetd.conf.d/ftpd? You can provide a local version for this in your BSP: projectroot/etc/inetd.conf.d/ftpd $ ptxdist drop busybox targetinstall 4 ptxdist go [...] Take a look at the quickstart manual[1]. This and more is described there. Michael [1] http://www.pengutronix.de/software/ptxdist/appnotes/OSELAS.BSP-Pengutronix-Generic-arm-Quickstart.pdf -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de