mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] add additional users to ptxdist target
@ 2015-09-02 12:01 Oliver.Graute
  2015-09-02 12:17 ` Juergen Borleis
  0 siblings, 1 reply; 5+ messages in thread
From: Oliver.Graute @ 2015-09-02 12:01 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1.1: Type: text/plain, Size: 142 bytes --]


Hello,

is there a way to add a user out of the box to a ptxdist target?
so that the image already includes this user.

Best regards,

Oliver

[-- Attachment #1.1.2: Type: text/html, Size: 200 bytes --]

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2446 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] add additional users to ptxdist target
  2015-09-02 12:01 [ptxdist] add additional users to ptxdist target Oliver.Graute
@ 2015-09-02 12:17 ` Juergen Borleis
  2015-09-02 13:07   ` [ptxdist] Antwort: " Oliver.Graute
  0 siblings, 1 reply; 5+ messages in thread
From: Juergen Borleis @ 2015-09-02 12:17 UTC (permalink / raw)
  To: ptxdist; +Cc: Oliver.Graute

Hi Oliver,

On Wednesday 02 September 2015 14:01:31 Oliver.Graute@neuhaus.de wrote:
> is there a way to add a user out of the box to a ptxdist target?
> so that the image already includes this user.
>
> Best regards,

Sure. Just provide your own "passwd" file and friends with all required users 
in "projectroot/etc/".

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] Antwort: Re:  add additional users to ptxdist target
  2015-09-02 12:17 ` Juergen Borleis
@ 2015-09-02 13:07   ` Oliver.Graute
  2015-09-14 15:21     ` Alexander Dahl
  0 siblings, 1 reply; 5+ messages in thread
From: Oliver.Graute @ 2015-09-02 13:07 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1.1: Type: text/plain, Size: 378 bytes --]

> > is there a way to add a user out of the box to a ptxdist target?
> > so that the image already includes this user.

> Sure. Just provide your own "passwd" file and friends with all required
users
> in "projectroot/etc/".

thx that worked, but the /home/user is still missing

login: can't chdir to home directory '/home/user'

where do I add this dir?

Best regards,

Oliver

[-- Attachment #1.1.2: Type: text/html, Size: 558 bytes --]

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2446 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Antwort: Re:  add additional users to ptxdist target
  2015-09-02 13:07   ` [ptxdist] Antwort: " Oliver.Graute
@ 2015-09-14 15:21     ` Alexander Dahl
  2015-09-15  6:05       ` [ptxdist] Antwort: " Oliver.Graute
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Dahl @ 2015-09-14 15:21 UTC (permalink / raw)
  To: ptxdist

Hei hei, 

Am 2015-09-02 15:07, schrieb Oliver.Graute@neuhaus.de:
> thx that worked, but the /home/user is still missing
> 
> login: can't chdir to home directory '/home/user'
> 
> where do I add this dir?

I would suggest to make a BSP specific package of type "file" for
this and let the make rule install the directory (and maybe other
stuff).

Greets
Alex

-- 
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601  D1D5 8FBA 7744 CC87 10D0 ***


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] Antwort: Re: Antwort: Re: add additional users to ptxdist target
  2015-09-14 15:21     ` Alexander Dahl
@ 2015-09-15  6:05       ` Oliver.Graute
  0 siblings, 0 replies; 5+ messages in thread
From: Oliver.Graute @ 2015-09-15  6:05 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1.1: Type: text/plain, Size: 405 bytes --]


> > thx that worked, but the /home/user is still missing
> >
> > login: can't chdir to home directory '/home/user'
> >
> > where do I add this dir?
>
> I would suggest to make a BSP specific package of type "file" for
> this and let the make rule install the directory (and maybe other
> stuff).

thx already done it by using install_copy and install_tree macro in
extra rule file.

Best Regards,

Oliver

[-- Attachment #1.1.2: Type: text/html, Size: 600 bytes --]

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2446 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2015-09-15  6:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-02 12:01 [ptxdist] add additional users to ptxdist target Oliver.Graute
2015-09-02 12:17 ` Juergen Borleis
2015-09-02 13:07   ` [ptxdist] Antwort: " Oliver.Graute
2015-09-14 15:21     ` Alexander Dahl
2015-09-15  6:05       ` [ptxdist] Antwort: " Oliver.Graute

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox