On Wed, Feb 01, 2012 at 08:27:45PM +0000, Otavio Salvador wrote:
> The code has been broken by 2feba313c991170747381c7cf821a45c2cd04632
> that changed the way this detection has being done.

Wasn't this fixed by 
http://git.openembedded.org/openembedded-core/commit/?id=6d3eac57bdba8e2582c210a2f82a3a4546f68581
?

> 
> Signed-off-by: Otavio Salvador <ota...@ossystems.com.br>
> ---
>  meta/classes/rootfs_ipk.bbclass |   10 ++++++++--
>  1 files changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
> index 48fb2fb..0881089 100644
> --- a/meta/classes/rootfs_ipk.bbclass
> +++ b/meta/classes/rootfs_ipk.bbclass
> @@ -74,9 +74,15 @@ fakeroot rootfs_ipk_do_rootfs () {
>  
>       ${OPKG_POSTPROCESS_COMMANDS}
>       ${ROOTFS_POSTINSTALL_COMMAND}
> -     
> +
> +     if grep -q Status:.install.ok.unpacked 
> ${IMAGE_ROOTFS}${opkglibdir}status; then
> +             runtime_script_required=1
> +     else
> +             runtime_script_required=0
> +     fi
> +
>       if ${@base_contains("IMAGE_FEATURES", "read-only-rootfs", "true", 
> "false" ,d)}; then
> -             if grep Status:.install.ok.unpacked 
> ${IMAGE_ROOTFS}${opkglibdir}status; then
> +             if [ $runtime_script_required -eq 1 ]; then
>                       echo "Some packages could not be configured offline and 
> rootfs is read-only."
>                       exit 1
>               fi
> -- 
> 1.7.2.5
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: martin.ja...@gmail.com

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to