[OE-core] want to verify proper use of run-postinsts, if i may
Robert P. J. Day
rpjday at crashcourse.ca
Fri Jul 29 11:34:11 UTC 2016
looks pretty straightforward, just want to make sure i'm not missing
anything. on a systemd-based image, rpm packaging, AFAICT, i need to
do only the following:
1) add run-postinsts recipe to the image
2) create a run-postinsts bbappend recipe that adds /etc/rpm-postinsts
directory with all my post-install scripts to be run
3) optionally, add a /etc/default/postinst file with settings to be
sourced before running the scripts (i can see "POSTINST_LOGGING"
as a useful environment setting
am i missing anything? i'm assuming i'd use a .bbappend recipe to add
the script names to SRC_URI, then define "do_install_append()" to
manually copy them over, or is there a proper way to do that i'm not
seeing?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the Openembedded-core
mailing list