[Buildroot] [PATCH 08/10] support: mkusers: add warning when using mkpasswd from the host system
Yann E. MORIN
yann.morin.1998 at free.fr
Sun Jan 19 21:29:32 UTC 2014
Peter, All,
On 2014-01-19 21:29 +0100, Peter Korsgaard spake thusly:
> >>>>> "Samuel" == Samuel Martin <s.martin49 at gmail.com> writes:
>
> > Because the mkpasswd provided by some distribution does not support all
> > options used in the mkusers script, mkpasswd has been integrated as a
> > package.
>
> > However, using a custom rootfs skeleton, the host-mkpasswd target is not
> > automatically built, even if some packages add users.
>
> > In this case, to help the Buildroot users understanding what happen when
> > the mkpasswd from the host system is used (so, might fail), mkusers now
> > print a warning message explaining how to solve this.
>
> Why not just fix it to always use our mkpasswd? E.G. something like
> adding host-mkpasswd to dependencies in fs/common.mk if PACKAGE_USERS
> isn't empty?
We've already spoke about it with Samuel on IRC, and I was rather
leaning toward this: if the user uses a custom skeleton, lets just rely
on him to provide a proper set of users.
As an afterthought, I think this would not be correct from us, and that
we should indeed continue to generate those users.
So, agreed with Peter on that one. Sorry Samuel... :-)
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. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list