All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Empty utility package scripts
@ 2014-01-08 20:36 Andre Renaud
  2014-01-08 21:43 ` Yann E. MORIN
  2014-01-08 21:44 ` Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Andre Renaud @ 2014-01-08 20:36 UTC (permalink / raw)
  To: buildroot

Hi,
I'm trying to create a utility package script which doesn't do any
downloading, just copies some local files around (startup scripts),
and creates a user in /etc/passwd. However I can't find any examples
of packages that don't do any downloading/configuring/building.

Is this possible, or am I going about it the wrong way?

Regards,
Andre

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Empty utility package scripts
  2014-01-08 20:36 [Buildroot] Empty utility package scripts Andre Renaud
@ 2014-01-08 21:43 ` Yann E. MORIN
  2014-01-08 21:44 ` Peter Korsgaard
  1 sibling, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2014-01-08 21:43 UTC (permalink / raw)
  To: buildroot

Andre, All,

On 2014-01-09 09:36 +1300, Andre Renaud spake thusly:
> Hi,
> I'm trying to create a utility package script which doesn't do any
> downloading, just copies some local files around (startup scripts),
> and creates a user in /etc/passwd. However I can't find any examples
> of packages that don't do any downloading/configuring/building.

In your pkg.mk, just set:

    PKG_SOURCE = 

(replace 'pkg' and 'PKG' with actual name of your package, of course).

To create a user, see:
    http://buildroot.net/downloads/manual/manual.html#_infrastructure_for_packages_with_specific_build_systems
and:
    http://buildroot.net/downloads/manual/manual.html#makeuser-syntax

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Empty utility package scripts
  2014-01-08 20:36 [Buildroot] Empty utility package scripts Andre Renaud
  2014-01-08 21:43 ` Yann E. MORIN
@ 2014-01-08 21:44 ` Peter Korsgaard
  2014-01-09  3:23   ` Andre Renaud
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2014-01-08 21:44 UTC (permalink / raw)
  To: buildroot

>>>>> "Andre" == Andre Renaud <andre@bluewatersys.com> writes:

 > Hi,
 > I'm trying to create a utility package script which doesn't do any
 > downloading, just copies some local files around (startup scripts),
 > and creates a user in /etc/passwd. However I can't find any examples
 > of packages that don't do any downloading/configuring/building.

 > Is this possible, or am I going about it the wrong way?

Sure, have a look at package/makedevs (that one does build a binary though).

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Empty utility package scripts
  2014-01-08 21:44 ` Peter Korsgaard
@ 2014-01-09  3:23   ` Andre Renaud
  0 siblings, 0 replies; 4+ messages in thread
From: Andre Renaud @ 2014-01-09  3:23 UTC (permalink / raw)
  To: buildroot

On 9 January 2014 10:44, Peter Korsgaard <jacmet@uclibc.org> wrote:
>>>>>> "Andre" == Andre Renaud <andre@bluewatersys.com> writes:
>  > I'm trying to create a utility package script which doesn't do any
>  > downloading, just copies some local files around (startup scripts),
>  > and creates a user in /etc/passwd. However I can't find any examples
>  > of packages that don't do any downloading/configuring/building.
>
>  > Is this possible, or am I going about it the wrong way?
>
> Sure, have a look at package/makedevs (that one does build a binary though).

Thanks to both Peter and Yann. Having the package_SOURCE entry blank
was the step that I was missing.

Regards,
Andre

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-09  3:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-08 20:36 [Buildroot] Empty utility package scripts Andre Renaud
2014-01-08 21:43 ` Yann E. MORIN
2014-01-08 21:44 ` Peter Korsgaard
2014-01-09  3:23   ` Andre Renaud

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.