summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2022-02-17 17:20:24 +0100
committerFrancesco Dolcini <francesco.dolcini@toradex.com>2022-02-25 10:45:25 +0000
commitff479c129366b7f67945e661472762ae6cb541f2 (patch)
treedbed13449106e661ad1377f70aaf8604c67f6e25
parent7df50f3ff17aa4ce839dee8a38f14844460ac819 (diff)
run-postinsts: rely on properly working upstream
Unfortunately, our bbappend broke execution of the ontarget postinst scripts as the following openembedded-core commit changed the way this works upstream. 1af421fcf054 ("run-postinsts: for dpkg/opkg, do not rely on /etc/*-postinsts") Just get rid of our bbappend and rely on properly working upstream. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r--recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service16
-rw-r--r--recipes-devtools/run-postinsts/run-postinsts_1.0.bbappend1
2 files changed, 0 insertions, 17 deletions
diff --git a/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service b/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service
deleted file mode 100644
index 1b71a1f..0000000
--- a/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=Run pending postinsts
-DefaultDependencies=no
-After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount
-Before=sysinit.target
-ConditionPathExistsGlob=#SYSCONFDIR#/*-postinsts
-
-[Service]
-Type=oneshot
-ExecStart=#SBINDIR#/run-postinsts
-ExecStartPost=#BASE_BINDIR#/systemctl --no-reload disable run-postinsts.service
-RemainAfterExit=No
-TimeoutSec=0
-
-[Install]
-WantedBy=sysinit.target
diff --git a/recipes-devtools/run-postinsts/run-postinsts_1.0.bbappend b/recipes-devtools/run-postinsts/run-postinsts_1.0.bbappend
deleted file mode 100644
index ef0f837..0000000
--- a/recipes-devtools/run-postinsts/run-postinsts_1.0.bbappend
+++ /dev/null
@@ -1 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/run-postinsts:"