* [ptxdist] Proper way to modify an ETC file
@ 2012-03-13 17:21 Jerry Kirk
2012-03-13 18:06 ` Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Jerry Kirk @ 2012-03-13 17:21 UTC (permalink / raw)
To: ptxdist
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?
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] Proper way to modify an ETC file
2012-03-13 17:21 [ptxdist] Proper way to modify an ETC file Jerry Kirk
@ 2012-03-13 18:06 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2012-03-13 18:06 UTC (permalink / raw)
To: ptxdist
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-13 18:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-13 17:21 [ptxdist] Proper way to modify an ETC file Jerry Kirk
2012-03-13 18:06 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox