[OE-core] [PATCH 3/4] base-passwd: move initial criation of group and passwd to preinst
Otavio Salvador
otavio at ossystems.com.br
Fri Oct 21 12:05:41 UTC 2011
On Fri, Oct 21, 2011 at 04:52, Phil Blundell <philb at gnu.org> wrote:
> On Fri, 2011-10-21 at 03:31 +0000, Otavio Salvador wrote:
>> @@ -37,7 +37,7 @@ do_install () {
>> install -p -m 644 debian/copyright ${D}${docdir}/${BPN}/
>> }
>>
>> -pkg_postinst_${PN} () {
>> +pkg_preinst_${PN} () {
>> set -e
>>
>> if [ ! -e $D${sysconfdir}/passwd ] ; then
>
> Doesn't this break on-target installs (or, more generally, installs
> where preinst runs before unpacking)?
It does indeed. I will fix it and send a new patch for it.
--
Otavio Salvador O.S. Systems
E-mail: otavio at ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
More information about the Openembedded-core
mailing list