Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 6ED5DE00CFF; Tue, 26 Apr 2016 03:07:57 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [194.211.207.200 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from smtp1.eteinen.fi (smtp1.eteinen.fi [194.211.207.200]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 86E7FE00CE1 for ; Tue, 26 Apr 2016 03:07:55 -0700 (PDT) Received: from [194.100.86.92] (helo=LenovoPC) by smtp1.eteinen.fi with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1auzuL-0004XU-J1; Tue, 26 Apr 2016 13:07:53 +0300 From: "Andreas Enbacka" To: "'Rudolf Streif'" References: <000f01d19dfa$51e59400$f5b0bc00$@gasera.fi> <43F0718C449F6A46B393DA2BEC8E01280C9FE07D@post> In-Reply-To: Date: Tue, 26 Apr 2016 13:08:13 +0300 Message-ID: <01a101d19fa3$8b1ec430$a15c4c90$@gasera.fi> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQKfduQ5y/9FnHd6hz5eaTmgxb3/qwJplE0OAvPXveWd1W0mUA== Cc: yocto@yoctoproject.org Subject: Re: Customize login prompt text in Yocto X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2016 10:07:57 -0000 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01A2_01D19FBC.B06CBF80" Content-Language: fi ------=_NextPart_000_01A2_01D19FBC.B06CBF80 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, =20 What is the correct way to override poky.conf? I tried adding a new file = custom-poky.conf into meta-yocto/conf/distro, including the poky.conf = file and overriding e.g., DISTRO_VERSION. Is this the correct approach, = or is some other changes required as well? =20 Best regards, Andreas Enbacka =20 From: Rudolf Streif [mailto:rudolf.streif@gmail.com]=20 Sent: 25. huhtikuutata 2016 0:07 To: Peter Bergin Cc: Andreas Enbacka ; yocto@yoctoproject.org Subject: Re: [yocto] Customize login prompt text in Yocto =20 the information shown is from the file /etc/issue. You can for example = do post-processing on this file and change the information. You can add = this to your image recipe. update_issue() { echo "Your text" > ${IMAGE_ROOTFS}/etc/issue } ROOTFS_POSTPROCESS_COMMAND +=3D " update issue; " =20 =20 The more "yoctonic" way of setting this is to modify the DISTRO_NAME = variable, which is set in the distro configuration file e.g. poky.conf. = If you are building your own distro it you may want to derive your own = distro configuration file from the ones that Poky provides. There you = can also set other variables such as DISTRO_VERSION, MAINTAINER, etc. =20 Cheers, Rudi ------=_NextPart_000_01A2_01D19FBC.B06CBF80 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hello,

 

What is the correct way to override poky.conf? I tried = adding a new file custom-poky.conf into meta-yocto/conf/distro, = including the poky.conf file and overriding e.g., DISTRO_VERSION. Is = this the correct approach, or is some other changes required as = well?

 

Best regards,

Andreas Enbacka

 

From:<= /b> Rudolf = Streif [mailto:rudolf.streif@gmail.com]
Sent: 25. = huhtikuutata 2016 0:07
To: Peter Bergin = <peter.bergin@tritech.se>
Cc: Andreas Enbacka = <andreas.enbacka@gasera.fi>; = yocto@yoctoproject.org
Subject: Re: [yocto] Customize login = prompt text in Yocto

 

the = information shown is from the file /etc/issue. You can for example do = post-processing on this file and change the information. You can add = this to your image recipe.

update_issue() {
    = echo "Your text" > = ${IMAGE_ROOTFS}/etc/issue
}

ROOTFS_POSTPROCESS_COMMAND +=3D = " update issue; "

 

 

The more = "yoctonic" way of setting this is to modify the DISTRO_NAME = variable, which is set in the distro configuration file e.g. poky.conf. = If you are building your own distro it you may want to derive your own = distro configuration file from the ones that Poky provides. There you = can also set other variables such as DISTRO_VERSION, MAINTAINER, = etc.

 

Cheers,

Rudi

------=_NextPart_000_01A2_01D19FBC.B06CBF80--