On Fri, 2020-04-10 at 13:52 -0400, Robert P. J. Day wrote:
> was looking to expand on the whole "rm_work" documentation, only to
> discover i was profoundly ignorant of some of its features (don't say
> it :-).
>
> so, first, there's the basic stuff (which is already in the YP
> documentation):
>
> INHERIT += "rm_work"
> RM_WORK_EXCLUDE += "pkg1 pkg2 ..."
>
> then in rm_work.bbclass, i see this:
>
> # Recipes can also configure which entries in their ${WORKDIR}
> # are preserved besides temp, which already gets excluded by
> default
> # because it contains logs:
> # do_install_append () {
> # echo "bar" >${WORKDIR}/foo
> # }
> # RM_WORK_EXCLUDE_ITEMS += "foo"
> RM_WORK_EXCLUDE_ITEMS = "temp"
>
> of which i was totally unaware, so let's start there. the above
> suggests that recipes can configure, selectively, what in their
> WORKDIR gets preserved, but it makes little sense to set that sort of
> thing in an actual recipe file; it's clearly the sort of thing a
> developer would put in a local.conf.
I'd suggest this is more of a class internal and not really aimed at
the general user. There are things which someone might set here but its
not common usage.
Cheers,
Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#137202):
https://lists.openembedded.org/g/openembedded-core/message/137202
Mute This Topic: https://lists.openembedded.org/mt/72927184/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-