_ontarget() is basically syntactic sugar for $D test, but yes it's the new
preferred form. If you see $D, that means the recipe hasn't been converted.

Alex

On Wed, 25 Aug 2021 at 23:27, Robert P. J. Day <rpj...@crashcourse.ca>
wrote:

>
> Quoting Phil Blundell <p...@pbcl.net>:
>
> > That's testing for offline installation. If $D is not set, it's
> > running on the target.
> >
> > p.
>
>    right, that's exactly what i suspected in my original posting,
> i just wanted to make sure, which raises a couple issues.
>
>    first, that distinction doesn't seem to be mentioned in the
> docs, so i'll ponder writing something.
>
>    second, is that simply an old form that would be superseded
> by using "pkg_postinst_ontarget()" instead?
>
>    anyway, more questions later as i work on some lengthier docs
> on this.
>
> rday
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#155328): 
https://lists.openembedded.org/g/openembedded-core/message/155328
Mute This Topic: https://lists.openembedded.org/mt/85146007/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to