[yocto] bbappend file not used
Dears, I want to build an image using systemd and system-networkd as network manager and set static ip address to eth0. To do so, I use a bbappend file to systemd. The problem is that the systemd_%.bbappend file does not appear when calling bitbake-layers show-appends. I'm quite sure it is not processed because when a voluntary add a typo, it does not break the bitbake process. What did I do wrong ?? Below is my "files architecture": Yocto |-- Sources (Rocko 2.4.1) |-- myDir |-- build |-- conf Local.conf |-- meta-myLayer |-- conf |-- recipes-core |-- images my-image.bb |-- systemd systemd_%.bbappend |-- system eth.network The target is a generic x86_64 board (AAEON GENE BT 05 with J1900 processor). Host system is ubuntu 16.04 LTS Thanks Vince -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] bbappend file not used
Hi Vincent, On Wednesday, 7 March 2018 4:24:46 AM NZDT Vincent Daanen wrote: > After having spent some time to find what was wrong, I decided to rewrite > all the files and … the bbappend file is not processed… > > May be there was a typo I did not see or some ‘code’ I copied/pasted from > internet included utf characters.. > > Anyway, I can continue building my image.. Er, so is the problem fixed or not? The above is a little ambiguous. FYI there is a technical FAQ question on this: https://wiki.yoctoproject.org/wiki/Technical_FAQ#I.27ve_created_a_bbappend_for_a_recipe_but_what_I.27m_setting_there_isn.27t_having_any_effect.2C_how_do_I_fix_this.3F Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] bbappend file not used
Yes these lines are in the layer.conf file De : Burton, Ross [mailto:ross.bur...@intel.com] Envoyé : mardi 6 mars 2018 13:28 À : Vincent Daanen <vincent.daa...@orthotaxy.com> Cc : yocto@yoctoproject.org Objet : Re: [yocto] bbappend file not used Does your layer.conf tell bitbake to read bbappends? Should be something like: BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ ${LAYERDIR}/recipes-*/*/*.bbappend" Ross On 6 March 2018 at 12:07, Vincent Daanen <vincent.daa...@orthotaxy.com<mailto:vincent.daa...@orthotaxy.com>> wrote: Dears, I want to build an image using systemd and system-networkd as network manager and set static ip address to eth0. To do so, I use a bbappend file to systemd. The problem is that the systemd_%.bbappend file does not appear when calling bitbake-layers show-appends. I’m quite sure it is not processed because when a voluntary add a typo, it does not break the bitbake process. What did I do wrong ?? Below is my “files architecture”: Yocto |-- Sources (Rocko 2.4.1) |-- myDir |-- build |-- conf Local.conf |-- meta-myLayer |-- conf |-- recipes-core |-- images my-image.bb<http://my-image.bb> |-- systemd systemd_%.bbappend |-- system eth.network The target is a generic x86_64 board (AAEON GENE BT 05 with J1900 processor). Host system is ubuntu 16.04 LTS Thanks Vince -- ___ yocto mailing list yocto@yoctoproject.org<mailto:yocto@yoctoproject.org> https://lists.yoctoproject.org/listinfo/yocto -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] bbappend file not used
Hi guys, After having spent some time to find what was wrong, I decided to rewrite all the files and … the bbappend file is not processed… May be there was a typo I did not see or some ‘code’ I copied/pasted from internet included utf characters.. Anyway, I can continue building my image.. Regards Vince De : Burton, Ross [mailto:ross.bur...@intel.com] Envoyé : mardi 6 mars 2018 13:28 À : Vincent Daanen <vincent.daa...@orthotaxy.com> Cc : yocto@yoctoproject.org Objet : Re: [yocto] bbappend file not used Does your layer.conf tell bitbake to read bbappends? Should be something like: BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ ${LAYERDIR}/recipes-*/*/*.bbappend" Ross On 6 March 2018 at 12:07, Vincent Daanen <vincent.daa...@orthotaxy.com<mailto:vincent.daa...@orthotaxy.com>> wrote: Dears, I want to build an image using systemd and system-networkd as network manager and set static ip address to eth0. To do so, I use a bbappend file to systemd. The problem is that the systemd_%.bbappend file does not appear when calling bitbake-layers show-appends. I’m quite sure it is not processed because when a voluntary add a typo, it does not break the bitbake process. What did I do wrong ?? Below is my “files architecture”: Yocto |-- Sources (Rocko 2.4.1) |-- myDir |-- build |-- conf Local.conf |-- meta-myLayer |-- conf |-- recipes-core |-- images my-image.bb<http://my-image.bb> |-- systemd systemd_%.bbappend |-- system eth.network The target is a generic x86_64 board (AAEON GENE BT 05 with J1900 processor). Host system is ubuntu 16.04 LTS Thanks Vince -- ___ yocto mailing list yocto@yoctoproject.org<mailto:yocto@yoctoproject.org> https://lists.yoctoproject.org/listinfo/yocto -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] bbappend file not used
Does your layer.conf tell bitbake to read bbappends? Should be something like: BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ ${LAYERDIR}/recipes-*/*/*.bbappend" Ross On 6 March 2018 at 12:07, Vincent Daanenwrote: > Dears, > > > > I want to build an image using systemd and system-networkd as network > manager and set static ip address to eth0. > > > > To do so, I use a bbappend file to systemd. > > > > The problem is that the systemd_%.bbappend file does not appear when > calling bitbake-layers show-appends. I’m quite sure it is not processed > because when a voluntary add a typo, it does not break the bitbake process. > > > > What did I do wrong ?? > > > > Below is my “files architecture”: > > Yocto > > |-- Sources (Rocko 2.4.1) > > |-- myDir > > |-- build > > |-- conf > > Local.conf > > |-- meta-myLayer > > |-- conf > > |-- recipes-core > > |-- images > > my-image.bb > > |-- systemd > > systemd_%.bbappend > > |-- system > > eth.network > > > > The target is a generic x86_64 board (AAEON GENE BT 05 with J1900 > processor). > > Host system is ubuntu 16.04 LTS > > > > > > > > Thanks > > > > Vince > > -- > ___ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] bbappend file not used
Is your layer present in build/conf/bblayers.conf ? On 06/03/18 14:07, Vincent Daanen wrote: Dears, I want to build an image using systemd and system-networkd as network manager and set static ip address to eth0. To do so, I use a bbappend file to systemd. The problem is that the systemd_%.bbappend file does not appear when calling bitbake-layers show-appends. I’m quite sure it is not processed because when a voluntary add a typo, it does not break the bitbake process. What did I do wrong ?? Below is my “files architecture”: Yocto |-- Sources (Rocko 2.4.1) |-- myDir |-- build |-- conf Local.conf |-- meta-myLayer |-- conf |-- recipes-core |-- images my-image.bb |-- systemd systemd_%.bbappend |-- system eth.network The target is a generic x86_64 board (AAEON GENE BT 05 with J1900 processor). Host system is ubuntu 16.04 LTS Thanks Vince -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] bbappend file not used
Dears, I want to build an image using systemd and system-networkd as network manager and set static ip address to eth0. To do so, I use a bbappend file to systemd. The problem is that the systemd_%.bbappend file does not appear when calling bitbake-layers show-appends. I'm quite sure it is not processed because when a voluntary add a typo, it does not break the bitbake process. What did I do wrong ?? Below is my "files architecture": Yocto |-- Sources (Rocko 2.4.1) |-- myDir |-- build |-- conf Local.conf |-- meta-myLayer |-- conf |-- recipes-core |-- images my-image.bb |-- systemd systemd_%.bbappend |-- system eth.network The target is a generic x86_64 board (AAEON GENE BT 05 with J1900 processor). Host system is ubuntu 16.04 LTS Thanks Vince -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto