* [ptxdist] How to add one binary from coreutils?
@ 2013-07-30 18:59 Matt
2013-07-31 7:17 ` Jürgen Beisert
0 siblings, 1 reply; 4+ messages in thread
From: Matt @ 2013-07-30 18:59 UTC (permalink / raw)
To: ptxdist
So now that I've successfully rebuilt my old project I'm ready to start
adding new features to it. One of the required features is the shred
command. Upon looking at some of our previous examples, I can see how to
setup a make file to build a source and then copy files into the target.
However, those are all from sources that contain only the binary we are
looking for.
My question is, how do we install shred? It's part of coreutils so is it a
matter of creating a host package for coreutils and then a file package for
shred that depends on coreutils or do I create a target package for shred
and just copy over just shred after building all of coreutils? Or is this
similar to wget where I somehow select to use the busybox version of shred
(if that exists.)
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] How to add one binary from coreutils?
2013-07-30 18:59 [ptxdist] How to add one binary from coreutils? Matt
@ 2013-07-31 7:17 ` Jürgen Beisert
2013-08-06 17:59 ` Matt
0 siblings, 1 reply; 4+ messages in thread
From: Jürgen Beisert @ 2013-07-31 7:17 UTC (permalink / raw)
To: ptxdist; +Cc: Matt
Hi Matt,
On Tuesday 30 July 2013 20:59:24 Matt wrote:
> So now that I've successfully rebuilt my old project I'm ready to start
> adding new features to it. One of the required features is the shred
> command.
'shred' command for your target?
> Upon looking at some of our previous examples, I can see how to
> setup a make file to build a source and then copy files into the target.
> However, those are all from sources that contain only the binary we are
> looking for.
>
> My question is, how do we install shred? It's part of coreutils so is it a
> matter of creating a host package for coreutils and then a file package for
> shred that depends on coreutils or do I create a target package for shred
> and just copy over just shred after building all of coreutils? Or is this
> similar to wget where I somehow select to use the busybox version of shred
> (if that exists.)
I'm not sure what you really need (sorry, I don't understand your explanation).
When 'shred' is required for your target:
Run "ptxdist menuconfig"
Shell & Console Tools --->
<*> coreutils --->
[*] shred
and you are done after running "ptxdist go" again.
Regards,
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] How to add one binary from coreutils?
2013-07-31 7:17 ` Jürgen Beisert
@ 2013-08-06 17:59 ` Matt
2013-08-07 6:58 ` Jürgen Beisert
0 siblings, 1 reply; 4+ messages in thread
From: Matt @ 2013-08-06 17:59 UTC (permalink / raw)
To: ptxdist
Jürgen Beisert <jbe@...> writes:
> I'm not sure what you really need (sorry, I don't understand your
explanation).
>
> When 'shred' is required for your target:
>
> Run "ptxdist menuconfig"
> Shell & Console Tools --->
> <*> coreutils --->
> [*] shred
>
> and you are done after running "ptxdist go" again.
Jürgen, thanks, I had no idea it was built in. I removed my custom one and
just used the built in coreutils option and it worked.
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ptxdist] How to add one binary from coreutils?
2013-08-06 17:59 ` Matt
@ 2013-08-07 6:58 ` Jürgen Beisert
0 siblings, 0 replies; 4+ messages in thread
From: Jürgen Beisert @ 2013-08-07 6:58 UTC (permalink / raw)
To: ptxdist; +Cc: Matt
Hi Matt,
On Tuesday 06 August 2013 19:59:06 Matt wrote:
> Jürgen Beisert <jbe@...> writes:
> > I'm not sure what you really need (sorry, I don't understand your
> > explanation).
> >
> > When 'shred' is required for your target:
> >
> > Run "ptxdist menuconfig"
> > Shell & Console Tools --->
> > <*> coreutils --->
> > [*] shred
> >
> > and you are done after running "ptxdist go" again.
>
> Jürgen, thanks, I had no idea it was built in. I removed my custom one and
> just used the built in coreutils option and it worked.
Try "ptxdist menuconfig", hit the '/' key and enter the new command you are
searching for. If it is already present in the menu, the result will show you
where.
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-08-07 6:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-30 18:59 [ptxdist] How to add one binary from coreutils? Matt
2013-07-31 7:17 ` Jürgen Beisert
2013-08-06 17:59 ` Matt
2013-08-07 6:58 ` Jürgen Beisert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox