yocto.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* rebuilding images
@ 2022-01-10 13:13 Ivan Riabtsov
  2022-01-10 13:15 ` [yocto] " Alexander Kanavin
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Riabtsov @ 2022-01-10 13:13 UTC (permalink / raw)
  To: Yocto-mailing-list

I build the image with the command

#bitbake phytec-headless-image

then I need to add something to the image and I do it like this

#rm -rf tmp sstate-cache deploy

and

#bitbake phytec-headless-image

but this is too long, the question is: what to remove , so as not to
rebuild all the packages, but so that the package was added to the
image, for example, I modified local.conf, it was like this:
IMAGE_INSTALL_append = "mbpoll mosquitto"
it became like this
IMAGE_INSTALL_append = "mbpoll mosquitto ntp ntpdate rsyslog"


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

* Re: [yocto] rebuilding images
  2022-01-10 13:13 rebuilding images Ivan Riabtsov
@ 2022-01-10 13:15 ` Alexander Kanavin
  2022-01-10 14:09   ` Ivan Riabtsov
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Kanavin @ 2022-01-10 13:15 UTC (permalink / raw)
  To: Ivan Riabtsov; +Cc: Yocto-mailing-list

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

Do not remove sstate cache, it is there specifically so that you do not
have to rebuild all the packages.

Alex

On Mon, 10 Jan 2022 at 14:13, Ivan Riabtsov <ivriabtsov@gmail.com> wrote:

> I build the image with the command
>
> #bitbake phytec-headless-image
>
> then I need to add something to the image and I do it like this
>
> #rm -rf tmp sstate-cache deploy
>
> and
>
> #bitbake phytec-headless-image
>
> but this is too long, the question is: what to remove , so as not to
> rebuild all the packages, but so that the package was added to the
> image, for example, I modified local.conf, it was like this:
> IMAGE_INSTALL_append = "mbpoll mosquitto"
> it became like this
> IMAGE_INSTALL_append = "mbpoll mosquitto ntp ntpdate rsyslog"
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#55771):
> https://lists.yoctoproject.org/g/yocto/message/55771
> Mute This Topic: https://lists.yoctoproject.org/mt/88322460/1686489
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [
> alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

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

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

* Re: [yocto] rebuilding images
  2022-01-10 13:15 ` [yocto] " Alexander Kanavin
@ 2022-01-10 14:09   ` Ivan Riabtsov
  0 siblings, 0 replies; 3+ messages in thread
From: Ivan Riabtsov @ 2022-01-10 14:09 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: Yocto-mailing-list

Ok, thanks.

пн, 10 янв. 2022 г. в 16:16, Alexander Kanavin <alex.kanavin@gmail.com>:
>
> Do not remove sstate cache, it is there specifically so that you do not have to rebuild all the packages.
>
> Alex
>
> On Mon, 10 Jan 2022 at 14:13, Ivan Riabtsov <ivriabtsov@gmail.com> wrote:
>>
>> I build the image with the command
>>
>> #bitbake phytec-headless-image
>>
>> then I need to add something to the image and I do it like this
>>
>> #rm -rf tmp sstate-cache deploy
>>
>> and
>>
>> #bitbake phytec-headless-image
>>
>> but this is too long, the question is: what to remove , so as not to
>> rebuild all the packages, but so that the package was added to the
>> image, for example, I modified local.conf, it was like this:
>> IMAGE_INSTALL_append = "mbpoll mosquitto"
>> it became like this
>> IMAGE_INSTALL_append = "mbpoll mosquitto ntp ntpdate rsyslog"
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#55771): https://lists.yoctoproject.org/g/yocto/message/55771
>> Mute This Topic: https://lists.yoctoproject.org/mt/88322460/1686489
>> Group Owner: yocto+owner@lists.yoctoproject.org
>> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [alex.kanavin@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>


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

end of thread, other threads:[~2022-01-10 14:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10 13:13 rebuilding images Ivan Riabtsov
2022-01-10 13:15 ` [yocto] " Alexander Kanavin
2022-01-10 14:09   ` Ivan Riabtsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).