Discussion:
[meta-freescale] Update 'meta' layer recipes in imx-4.1.15-1.2.0_ga
Tarun Tej K
2018-09-06 10:41:16 UTC
Permalink
Hi,

I am using the BSP version imx-4.1.15-1.2.0_ga
<http://git.freescale.com/git/cgit.cgi/imx/fsl-arm-yocto-bsp.git/log/?h=imx-4.1.15-1.0.0_ga>
.
What is the best way to update the recipes in 'poky/meta/' layer with
latest versions from
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta without affecting
the changes done in other layers as well as custom layers.

Does 'repo sync' command only updates layers with revision mentioned in
manifest.xml or default.xml. Is that correct?

I tried -
1. manually copying new versions of required recipes in the respective
locations but it has lot of dependency issues include bitbake utils.
2. 'git pull yocto master' inside poky folder. This resulted in 100s of
merge conflicts
Is there any efficient way for doing this?

Thanks
Tarun
Sivasubramanian Patchaiperumal
2018-09-06 11:20:14 UTC
Permalink
If i understand your question correctly, update the revisions of the
corresponding layers (to be updated) in the manifest xml file. Else set the
"revision" to master/any branch to fetch the latest commit of that branch
for that layer.
Post by Tarun Tej K
Hi,
I am using the BSP version imx-4.1.15-1.2.0_ga
<http://git.freescale.com/git/cgit.cgi/imx/fsl-arm-yocto-bsp.git/log/?h=imx-4.1.15-1.0.0_ga>
.
What is the best way to update the recipes in 'poky/meta/' layer with
latest versions from http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/
meta without affecting the changes done in other layers as well as custom
layers.
Does 'repo sync' command only updates layers with revision mentioned in
manifest.xml or default.xml. Is that correct?
I tried -
1. manually copying new versions of required recipes in the respective
locations but it has lot of dependency issues include bitbake utils.
2. 'git pull yocto master' inside poky folder. This resulted in 100s of
merge conflicts
Is there any efficient way for doing this?
Thanks
Tarun
--
_______________________________________________
meta-freescale mailing list
https://lists.yoctoproject.org/listinfo/meta-freescale
--
Regards,
Sivasubramanian
Tarun Tej K
2018-09-06 12:21:32 UTC
Permalink
Thanks for the response.

I tried that. Changed the revision of poky project to 'master' (which i
assume is same as git checkout master inside <bsp_dir>/sources/poky ??).
1. After that I did 'source setup-environment build-dir/'. I got the
error: -bash:
sources/poky/scripts/oe-buildenv-internal: No such file or directory.

2. I decided to create fresh build directory so I did 'MACHINE=imx6ulevk
source fsl-setup-release.sh -b build-dir2'. But here also I got an error:
Build directory is build-dir2
Configuring for imx6ulevk
-bash: sources/poky/scripts/oe-buildenv-internal: No such file or directory

ERROR - No build directory is set yet. Run the 'setup-environment' script
before running this script to create .

3. If run the script manually from sour/poky/scripts/oe-buildenv-internal -
I get error Error: OEROOT is not defined!

4. If I switch back to original revision of poky which is
dd0ba9ea4a11ab15348d4fe3574e4b28784db82f,
I am able to successful enter build directory using 'source
setup-environment build-dir' command
5. I have tried updated another layer meta-qt5 (just for experimenting) and
even that doesnt cause any problem in entering build directory later.

Looks like something else needs to be changed when I am updating the poky
layer itself. Something related to OEROOT has been updated in the newer
version of scripts inside poky layer? Any ideas?


Thanks
Tarun

On Thu, Sep 6, 2018 at 4:50 PM Sivasubramanian Patchaiperumal <
Post by Sivasubramanian Patchaiperumal
If i understand your question correctly, update the revisions of the
corresponding layers (to be updated) in the manifest xml file. Else set the
"revision" to master/any branch to fetch the latest commit of that branch
for that layer.
Post by Tarun Tej K
Hi,
I am using the BSP version imx-4.1.15-1.2.0_ga
<http://git.freescale.com/git/cgit.cgi/imx/fsl-arm-yocto-bsp.git/log/?h=imx-4.1.15-1.0.0_ga>
.
What is the best way to update the recipes in 'poky/meta/' layer with
latest versions from
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta without
affecting the changes done in other layers as well as custom layers.
Does 'repo sync' command only updates layers with revision mentioned in
manifest.xml or default.xml. Is that correct?
I tried -
1. manually copying new versions of required recipes in the respective
locations but it has lot of dependency issues include bitbake utils.
2. 'git pull yocto master' inside poky folder. This resulted in 100s of
merge conflicts
Is there any efficient way for doing this?
Thanks
Tarun
--
_______________________________________________
meta-freescale mailing list
https://lists.yoctoproject.org/listinfo/meta-freescale
--
Regards,
Sivasubramanian
Loading...