Re: Package postinstall dependencies - Introduction of PACKAGE_WRITE_DEPS

Randy MacLeod

On 2017-01-19 12:14 PM, Otavio Salvador wrote:
On Thu, Jan 19, 2017 at 2:56 PM, Jussi Kukkonen
<jussi.kukkonen@...> wrote:
Regarding the naming discussion: It would be great if it was somehow made
obvious to a recipe writer who adds a postinstall script that they may need
to add PACKAGE_WRITE_DEPS as well... but I don't really have practical
suggestions here.
or PS_DEPENDS with the manual defining PS
and users thinking that it means any of:
Package Script / Populate Sysroot / Post Script

Also, all of Jussi's package changes are of the form:

PS_DEPENDS += "foo-native:do_populate_sysroot \

Is there any chance that we could make 'do_populate_sysroot'
be the default task (with the possibility to over-ride)
so we'd have:

PS_DEPENDS += "foo-native bar-native"

and since we've come this far... only -native dependencies are
sensible since this is running on the builder, so we could just have:

PS_DEPENDS += "foo bar"

or if you want to spell it out:

PS_NATIVE_DEPENDS += "foo bar"

# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, Canada, K2K 2W5

(where NATIVE is pronounced circus ... inside joke )

Join to automatically receive all group messages.