All of lore.kernel.org
 help / color / mirror / Atom feed
* bbappend file not used
@ 2018-03-05 15:15 Vincent Daanen
  2018-03-06 12:07 ` Vincent Daanen
  0 siblings, 1 reply; 7+ messages in thread
From: Vincent Daanen @ 2018-03-05 15:15 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1041 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 14230 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bbappend file not used
  2018-03-05 15:15 bbappend file not used Vincent Daanen
@ 2018-03-06 12:07 ` Vincent Daanen
  2018-03-06 12:28   ` Mircea Gliga
  2018-03-06 12:28   ` Burton, Ross
  0 siblings, 2 replies; 7+ messages in thread
From: Vincent Daanen @ 2018-03-06 12:07 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1034 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 5906 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bbappend file not used
  2018-03-06 12:07 ` Vincent Daanen
@ 2018-03-06 12:28   ` Mircea Gliga
  2018-03-06 12:28   ` Burton, Ross
  1 sibling, 0 replies; 7+ messages in thread
From: Mircea Gliga @ 2018-03-06 12:28 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1253 bytes --]

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
>
>
>


[-- Attachment #2: Type: text/html, Size: 5374 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bbappend file not used
  2018-03-06 12:07 ` Vincent Daanen
  2018-03-06 12:28   ` Mircea Gliga
@ 2018-03-06 12:28   ` Burton, Ross
  2018-03-06 12:42     ` Vincent Daanen
  2018-03-06 15:24     ` Vincent Daanen
  1 sibling, 2 replies; 7+ messages in thread
From: Burton, Ross @ 2018-03-06 12:28 UTC (permalink / raw)
  To: Vincent Daanen; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1647 bytes --]

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.daanen@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
>
>                     |-- 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
>
>

[-- Attachment #2: Type: text/html, Size: 3953 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bbappend file not used
  2018-03-06 12:28   ` Burton, Ross
@ 2018-03-06 12:42     ` Vincent Daanen
  2018-03-06 15:24     ` Vincent Daanen
  1 sibling, 0 replies; 7+ messages in thread
From: Vincent Daanen @ 2018-03-06 12:42 UTC (permalink / raw)
  To: Burton, Ross; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1800 bytes --]

Yes these lines are in the layer.conf file

De : Burton, Ross [mailto:ross.burton@intel.com]
Envoyé : mardi 6 mars 2018 13:28
À : Vincent Daanen <vincent.daanen@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.daanen@orthotaxy.com<mailto:vincent.daanen@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


[-- Attachment #2: Type: text/html, Size: 9571 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bbappend file not used
  2018-03-06 12:28   ` Burton, Ross
  2018-03-06 12:42     ` Vincent Daanen
@ 2018-03-06 15:24     ` Vincent Daanen
  2018-03-06 19:38       ` Paul Eggleton
  1 sibling, 1 reply; 7+ messages in thread
From: Vincent Daanen @ 2018-03-06 15:24 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 2085 bytes --]

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.burton@intel.com]
Envoyé : mardi 6 mars 2018 13:28
À : Vincent Daanen <vincent.daanen@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.daanen@orthotaxy.com<mailto:vincent.daanen@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


[-- Attachment #2: Type: text/html, Size: 10724 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bbappend file not used
  2018-03-06 15:24     ` Vincent Daanen
@ 2018-03-06 19:38       ` Paul Eggleton
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Eggleton @ 2018-03-06 19:38 UTC (permalink / raw)
  To: Vincent Daanen; +Cc: yocto

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-03-06 19:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-05 15:15 bbappend file not used Vincent Daanen
2018-03-06 12:07 ` Vincent Daanen
2018-03-06 12:28   ` Mircea Gliga
2018-03-06 12:28   ` Burton, Ross
2018-03-06 12:42     ` Vincent Daanen
2018-03-06 15:24     ` Vincent Daanen
2018-03-06 19:38       ` Paul Eggleton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.