On Tue, Aug 17, 2010 at 09:47:55AM +0930, Graham Gower wrote:
> 
> Signed-off-by: Graham Gower <[email protected]>

Acked-by: Martin Jansa <[email protected]>

> ---
>  classes/rootfs_ipk.bbclass |    8 ++++++--
>  1 files changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass
> index db04fb6..915e3d7 100644
> --- a/classes/rootfs_ipk.bbclass
> +++ b/classes/rootfs_ipk.bbclass
> @@ -98,15 +98,19 @@ fakeroot rootfs_ipk_do_rootfs () {
>               else
>                       rm -f ${IMAGE_ROOTFS}${libdir}/opkg/lists/*
>               fi
> -     
> +
> +             # Remove lists, but leave SHR's tmp dir if it exists.
> +             rm -f ${IMAGE_ROOTFS}/var/lib/opkg/* || true
> +
>               # Keep these lines until package manager selection is 
> implemented
>               ln -s opkg ${IMAGE_ROOTFS}${sysconfdir}/ipkg
>               ln -s opkg ${IMAGE_ROOTFS}${libdir}/ipkg
>       else
>               rm -rf ${IMAGE_ROOTFS}${libdir}/opkg
>               rm -rf ${IMAGE_ROOTFS}/usr/lib/opkg
> +             rm -rf ${IMAGE_ROOTFS}/var/lib/opkg
>       fi
> -     
> +
>       log_check rootfs        
>       rm -rf ${IPKG_TMP_DIR}
>  }
> -- 
> 1.7.1
> 
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> [email protected]
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: [email protected]

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to