All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Peter Kjellerstedt" <peter.kjellerstedt@axis.com>
To: Steve <star@gmx.li>,
	"poky@lists.yoctoproject.org" <poky@lists.yoctoproject.org>
Subject: Re: [poky] Warning: empty_var_volatile doesn't exist
Date: Wed, 27 Oct 2021 08:53:57 +0000	[thread overview]
Message-ID: <658c10ff38a1404096cd4f689f91dac6@axis.com> (raw)
In-Reply-To: <cccb58eb-bdc6-8e74-f0f1-b1f4d17a3344@gmx.li>

> -----Original Message-----
> From: poky@lists.yoctoproject.org <poky@lists.yoctoproject.org> On Behalf
> Of Steve
> Sent: den 27 oktober 2021 10:42
> To: poky@lists.yoctoproject.org
> Subject: [poky] Warning: empty_var_volatile doesn't exist
> 
> Hello,
> 
> I would like to remove /etc/timestamp from my rootfs.
> I found it is set by "rootfs_update_timestamp" as part of
> ROOTFS_POSTPROCESS_COMMAND.
> 
> I did in my image recipe the following:
> ROOTFS_POSTPROCESS_COMMAND_remove = "rootfs_update_timestamp ; "

That should be:

ROOTFS_POSTPROCESS_COMMAND_remove = "rootfs_update_timestamp;"

The _remove operator will remove each word specified from the original 
variable. So in your case it would remove all "rootfs_update_timestamp" 
and all ";", which is not what you want.
> 
> That seems to work, no /etc/timestamp in image.
> But I get the warning from do_rootfs:
> "Function write_image_test_data  empty_var_volatile doesn't exist"
> 
> Did I do something wrong? I am not feeling well to ignore warnings,
> especially as I am a beginner here.
> 
> Maybe allow me a second question:
> I need a part of utils-linux, but won't include all the files (due to
> space limitations).
> I guess I need some utils-linux_%.bbappend - but what has to be in there?
> 
> Thanks, Arno (in Yocto 3.0 atm)
> 

//Peter


  reply	other threads:[~2021-10-27  8:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-26 14:12 bitbake core-image-minimal struck at [ Initialising tasks: 44% ] Ashish
2021-10-26 15:55 ` [poky] " Khem Raj
2021-10-26 16:41   ` Jose Quaresma
2021-10-27  8:42     ` Warning: empty_var_volatile doesn't exist Steve
2021-10-27  8:53       ` Peter Kjellerstedt [this message]
2021-10-27  9:09         ` [poky] " Steve
2021-10-27  9:57           ` Peter Kjellerstedt
     [not found]   ` <16B1A23F29F0BE69.10400@lists.yoctoproject.org>
2021-10-27  8:31     ` [poky] bitbake core-image-minimal struck at [ Initialising tasks: 44% ] Jose Quaresma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=658c10ff38a1404096cd4f689f91dac6@axis.com \
    --to=peter.kjellerstedt@axis.com \
    --cc=poky@lists.yoctoproject.org \
    --cc=star@gmx.li \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.