summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2022-02-17 17:20:24 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2022-04-03 12:09:08 +0200
commitd35e71596a8d4e055bcdc9e9053db54e3d863ff1 (patch)
tree20893274f7e2ef5763e1841ac8d71857a5dd9524
parentf8f7ad106df2f094ae3859a12d76f88690a50969 (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> (cherry picked from commit ff479c129366b7f67945e661472762ae6cb541f2)
-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 f8ccc1a..0000000
--- a/recipes-devtools/run-postinsts/run-postinsts_1.0.bbappend
+++ /dev/null
@@ -1 +0,0 @@
-FILESEXTRAPATHS:prepend := "${THISDIR}/run-postinsts:"