All of lore.kernel.org
 help / color / mirror / Atom feed
* want to verify proper use of run-postinsts, if i may
@ 2016-07-29 11:34 Robert P. J. Day
  2016-07-29 11:43 ` Robert P. J. Day
  0 siblings, 1 reply; 7+ messages in thread
From: Robert P. J. Day @ 2016-07-29 11:34 UTC (permalink / raw)
  To: OE Core mailing list


  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
========================================================================



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-08-01 16:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-29 11:34 want to verify proper use of run-postinsts, if i may Robert P. J. Day
2016-07-29 11:43 ` Robert P. J. Day
2016-07-29 11:48   ` Richard Purdie
2016-07-29 11:54     ` Robert P. J. Day
2016-07-29 11:58       ` Richard Purdie
2016-07-29 12:03         ` Robert P. J. Day
2016-08-01 16:14       ` Burton, Ross

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.