In data mercoledì 16 ottobre 2013 00:01:13, Amit Tomer ha scritto:
> I wanted to modify the content of /etc/passwd but don't know how
> /etc/passwd files is packed into final image
>
> After the build process ,passwd file goes to
>
> "tmp/work/k2-poky-linux-gnueabi/image-k2/1.0-r0/rootfs/etc/passwd"
>
> this loaction
>
> Now I see image-k2.bb file but could not find any rule that will pack
> passwd file to
> final image.
>
> Can anybody how it is packed and way to modify it.
>
> Thanks
> Amit
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
Hi,
I think that the recipe that creates passwd file is under
poky/meta/recipes-core/base-passwd (I'm on dora branch).
Maybe with a bbappend of that recipe you can change the passwd file with
yours...
Cheers
Davide
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto