mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 0/3] Using second offline update service beside rc-once in PTXDIST
@ 2017-06-06 15:28 Gavin Schenk
  2017-06-06 15:28 ` [ptxdist] [PATCH 1/3] rc-once: Use /etc/rc.once.d as link target in all rc-once scripts Gavin Schenk
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Gavin Schenk @ 2017-06-06 15:28 UTC (permalink / raw)
  To: ptxdist; +Cc: Gavin Schenk

Make it possible to have multible update-services beside rc-once using 
systemd offline update mechanism as described here:
https://www.freedesktop.org/software/systemd/man/systemd.offline-updates

The basic idea is, that rc-once checks where /system-update points to
and only runs, if it points to /etc/rc-once.d or etc/rc-once.d.
In all other cases it just exits without error.

Gavin Schenk (3):
  rc-once: Use /etc/rc.once.d as link target in all rc-once scripts
  rc-once: Use readlink to check where /system-update points to.
  rc-once: Moved deletion of /system-update into function run_rc_once()

 projectroot/usr/lib/init/rc-once.sh         | 6 ++++++
 projectroot/usr/lib/systemd/systemd-rc-once | 4 +---
 projectroot/usr/sbin/enable-rc-once         | 2 +-
 rules/rc-once.in                            | 3 +++
 4 files changed, 11 insertions(+), 4 deletions(-)

-- 
2.13.0


Eckelmann AG
Vorstand: Dipl.-Ing. Peter Frankenbach (Sprecher) Dipl.-Wi.-Ing. Philipp Eckelmann
Dr.-Ing. Marco Münchhof Dr.-Ing. Frank Uhlemann
Vorsitzender des Aufsichtsrats: Hubertus G. Krossa
Stv. Vorsitzender des Aufsichtsrats: Dr.-Ing. Gerd Eckelmann
Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wiesbaden HRB 12636
http://www.eckelmann.de 


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2017-06-07  6:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-06 15:28 [ptxdist] [PATCH 0/3] Using second offline update service beside rc-once in PTXDIST Gavin Schenk
2017-06-06 15:28 ` [ptxdist] [PATCH 1/3] rc-once: Use /etc/rc.once.d as link target in all rc-once scripts Gavin Schenk
2017-06-06 15:58   ` Michael Olbrich
2017-06-06 15:28 ` [ptxdist] [PATCH 2/3] rc-once: Use readlink to check where /system-update points to Gavin Schenk
2017-06-06 16:00   ` Michael Olbrich
2017-06-06 16:25     ` Uwe Kleine-König
2017-06-06 16:49       ` Michael Olbrich
2017-06-06 21:54         ` Uwe Kleine-König
2017-06-06 15:28 ` [ptxdist] [PATCH 3/3] rc-once: Moved deletion of /system-update into function run_rc_once() Gavin Schenk
2017-06-06 16:02   ` Michael Olbrich
2017-06-07  6:29     ` Schenk, Gavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox