[OE-core] [RFC] rawcopy.py: Copy source file in image creation build folder

Ahsan, Noor Noor_Ahsan at mentor.com
Thu Oct 22 15:17:44 UTC 2015



-----Original Message-----
From: Leonardo Sandoval [mailto:leonardo.sandoval.gonzalez at linux.intel.com] 
Sent: Thursday, October 22, 2015 7:02 PM
To: Ahsan, Noor; openembedded-core at lists.openembedded.org
Subject: Re: [OE-core] [RFC] rawcopy.py: Copy source file in image creation build folder


> +        else:
> +            dst = os.path.join(cr_workdir, source_params['file'])
> +            dd_cmd = "cp src dst"
> +            exec_cmd(dd_cmd)
>

the constructed dst variable is not being included into the dd_cmd, is it? I would expect something like

dd_cmd = "cp %s %s" % (src, dst)


yeah missed out. Will look into that but does this mechanism make sense?



More information about the Openembedded-core mailing list