[OE-core] [PATCH 3/4] base-passwd: move initial criation of group and passwd to preinst

Phil Blundell philb at gnu.org
Fri Oct 21 06:52:29 UTC 2011


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)?

p.






More information about the Openembedded-core mailing list