* [PATCH][meta-oe 0/1] Postinst trigger improvements for images
@ 2012-03-06 17:42 Otavio Salvador
2012-03-06 17:42 ` [PATCH][meta-oe 1/1] systemd-compat-units: rename service to run postinst scripts Otavio Salvador
0 siblings, 1 reply; 2+ messages in thread
From: Otavio Salvador @ 2012-03-06 17:42 UTC (permalink / raw)
To: openembedded-devel
Please ONLY merge this after the equivalent changes are merged onto OE-Core.
The following changes since commit 13354c9e1993f6196c2c9f714a8c815f4fe27b54:
networkmanager: cleanup (2012-03-06 10:01:14 +0100)
are available in the git repository at:
git://github.com/OSSystems/meta-oe master
https://github.com/OSSystems/meta-oe/tree/master
Otavio Salvador (1):
systemd-compat-units: rename service to run postinst scripts
.../recipes-core/systemd/systemd-compat-units.bb | 8 ++++----
.../{opkg.service => run-postinsts.service} | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
rename meta-oe/recipes-core/systemd/systemd-compat-units/{opkg.service => run-postinsts.service} (64%)
--
1.7.2.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH][meta-oe 1/1] systemd-compat-units: rename service to run postinst scripts
2012-03-06 17:42 [PATCH][meta-oe 0/1] Postinst trigger improvements for images Otavio Salvador
@ 2012-03-06 17:42 ` Otavio Salvador
0 siblings, 0 replies; 2+ messages in thread
From: Otavio Salvador @ 2012-03-06 17:42 UTC (permalink / raw)
To: openembedded-devel
OE-Core uses run-postinsts script to trigger package configuration on
first boot so the service ought to be named the same, for consistency.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
.../recipes-core/systemd/systemd-compat-units.bb | 8 ++++----
.../{opkg.service => run-postinsts.service} | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
rename meta-oe/recipes-core/systemd/systemd-compat-units/{opkg.service => run-postinsts.service} (64%)
diff --git a/meta-oe/recipes-core/systemd/systemd-compat-units.bb b/meta-oe/recipes-core/systemd/systemd-compat-units.bb
index 9b60bbc..2cbce67 100644
--- a/meta-oe/recipes-core/systemd/systemd-compat-units.bb
+++ b/meta-oe/recipes-core/systemd/systemd-compat-units.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Units to make systemd work better with existing sysvinit scripts"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
-PR = "r14"
+PR = "r15"
inherit allarch
@@ -12,9 +12,9 @@ SRC_URI = "file://*.service"
do_install() {
install -d ${D}${base_libdir}/systemd/system/basic.target.wants
install -d ${D}${base_libdir}/systemd/system/sysinit.target.wants/
- install -m 0644 ${WORKDIR}/opkg.service ${D}${base_libdir}/systemd/system
- ln -sf ../opkg.service ${D}${base_libdir}/systemd/system/basic.target.wants/
- ln -sf ../opkg.service ${D}${base_libdir}/systemd/system/sysinit.target.wants/
+ install -m 0644 ${WORKDIR}/run-postinsts.service ${D}${base_libdir}/systemd/system
+ ln -sf ../run-postinsts.service ${D}${base_libdir}/systemd/system/basic.target.wants/
+ ln -sf ../run-postinsts.service ${D}${base_libdir}/systemd/system/sysinit.target.wants/
install -m 0644 ${WORKDIR}/machineid.service ${D}${base_libdir}/systemd/system
ln -sf ../machineid.service ${D}${base_libdir}/systemd/system/sysinit.target.wants/
diff --git a/meta-oe/recipes-core/systemd/systemd-compat-units/opkg.service b/meta-oe/recipes-core/systemd/systemd-compat-units/run-postinsts.service
similarity index 64%
rename from meta-oe/recipes-core/systemd/systemd-compat-units/opkg.service
rename to meta-oe/recipes-core/systemd/systemd-compat-units/run-postinsts.service
index 36cedf2..879a251 100644
--- a/meta-oe/recipes-core/systemd/systemd-compat-units/opkg.service
+++ b/meta-oe/recipes-core/systemd/systemd-compat-units/run-postinsts.service
@@ -1,12 +1,12 @@
[Unit]
-Description=Opkg first boot configure
+Description=Run pending postinsts
DefaultDependencies=no
-ConditionPathExists=|/etc/rcS.d/S98configure
+ConditionPathExists=|/etc/rcS.d/S98run-postinsts
After=remount-rootfs.service
Before=sysinit.target
[Service]
-ExecStart=/etc/rcS.d/S98configure
+ExecStart=/etc/rcS.d/S98run-postinsts
RemainAfterExit=No
Type=oneshot
StandardOutput=syslog
--
1.7.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-06 17:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-06 17:42 [PATCH][meta-oe 0/1] Postinst trigger improvements for images Otavio Salvador
2012-03-06 17:42 ` [PATCH][meta-oe 1/1] systemd-compat-units: rename service to run postinst scripts Otavio Salvador
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox