[yocto] [yocto-autobuilder][PATCH] bin/release_scripts/release.py

Randle, William C william.c.randle at intel.com
Tue May 24 08:46:54 PDT 2016


On Mon, 2016-05-23 at 19:07 -0700, Graydon, Tracy wrote:
> Fixed the path for the publishing of the eclipse plugins. They were
> going to the wrong subdirectory under downloads.
> 
> Signed-off-by: Graydon, Tracy <tracy.graydon at intel.com>
> ---
>  bin/release_scripts/release.py | 22 +++++++++++-----------
>  1 file changed, 11 insertions(+), 11 deletions(-)
> 
> diff --git a/bin/release_scripts/release.py b/bin/release_scripts/release.py
> index 51cd607..3d4ce39 100755
> --- a/bin/release_scripts/release.py
> +++ b/bin/release_scripts/release.py
> @@ -340,18 +340,18 @@ def publish_adt(rel_id, rel_type, opts):
>              QEMU_TARGET = os.path.join(ADT_ROOTFS, dirname)
>              print "QEMU_SRC: %s" %QEMU_SRC
>              sync_it(QEMU_SRC, QEMU_TARGET, "")
> -
>          sync_it(IPK_DIR, ADT_IPK, "")
>      return
>  
>  if __name__ == '__main__':
> -
> +    
>      os.system("clear")
>      print
> -
> +   
>      VHOSTS = "/srv/www/vhosts"
>      AB_BASE = os.path.join(VHOSTS,
> "autobuilder.yoctoproject.org/pub/releases")
> -    DL_BASE = os.path.join(VHOSTS,
> "downloads.yoctoproject.org/releases/yocto")
> +    DL_DIR = os.path.join(VHOSTS, "downloads.yoctoproject.org/releases")
> +    DL_BASE = os.path.join(DL_DIR, "/releases/yocto")
>      ADT_BASE = os.path.join(VHOSTS, "adtrepo.yoctoproject.org")
>  
So is the intent is to create a new DL_BASE
directory downloads.yoctoproject.org/releases/releases/yocto or should that be:
    DL_BASE = os.path.join(DL_DIR, "/yocto")

    -Bill


More information about the yocto mailing list