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 09:57:34 +0000 [thread overview]
Message-ID: <6aa79beeb0934898a95b43f5e1b1db07@axis.com> (raw)
In-Reply-To: <e8f04e2d-e1fb-7186-c2ef-a684da92a609@gmx.li>
> -----Original Message-----
> From: poky@lists.yoctoproject.org <poky@lists.yoctoproject.org> On Behalf
> Of Steve
> Sent: den 27 oktober 2021 11:10
> To: poky@lists.yoctoproject.org
> Subject: Re: [poky] Warning: empty_var_volatile doesn't exist
>
> Thanks Peter,
> >> -----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.
>
>
> It isn't as easy as in original is like (watch the blanks)
> " ... ; rootfs_update_timestamp ; >next..."
>
> So if I do:
> ROOTFS_POSTPROCESS_COMMAND_remove = "rootfs_update_timestamp;"
> it is not removed
> and if I do
> ROOTFS_POSTPROCESS_COMMAND_remove = "rootfs_update_timestamp"
> I got errors because of "; ;"
>
> So my guess is, the original recipe with this blanks is not correct.
It was corrected in 3.2.
> But how to workaround?
I believe it should work to do:
ROOTFS_POSTPROCESS_COMMAND_remove = "rootfs_update_timestamp"
That will leave "... ; ; ..." in ROOTFS_POSTPROCESS_COMMAND, but I think
that should be ok.
> >> 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
>
> Best regards, Arno
//Peter
next prev parent reply other threads:[~2021-10-27 9:57 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 ` [poky] " Peter Kjellerstedt
2021-10-27 9:09 ` Steve
2021-10-27 9:57 ` Peter Kjellerstedt [this message]
[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=6aa79beeb0934898a95b43f5e1b1db07@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.