From 8e759842280857d0b7fd2f18e246608fd56435e3 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Wed, 22 Mar 2017 11:16:00 +0100 Subject: opkg-configure: do not reload daemon configuration Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- recipes-devtools/opkg/opkg/opkg-configure.service | 17 +++++++++++++++++ recipes-devtools/opkg/opkg_0.3.3.bbappend | 1 + 2 files changed, 18 insertions(+) create mode 100644 recipes-devtools/opkg/opkg/opkg-configure.service create mode 100644 recipes-devtools/opkg/opkg_0.3.3.bbappend (limited to 'recipes-devtools') diff --git a/recipes-devtools/opkg/opkg/opkg-configure.service b/recipes-devtools/opkg/opkg/opkg-configure.service new file mode 100644 index 0000000..432c3dd --- /dev/null +++ b/recipes-devtools/opkg/opkg/opkg-configure.service @@ -0,0 +1,17 @@ +[Unit] +Description=Opkg first boot configure +DefaultDependencies=no +After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount +Before=sysinit.target + +[Service] +Type=oneshot +EnvironmentFile=-@SYSCONFDIR@/default/postinst +ExecStart=-@BASE_BINDIR@/sh -c " if [ $POSTINST_LOGGING = '1' ]; then @BINDIR@/opkg configure > $LOGFILE 2>&1; else @BINDIR@/opkg configure; fi" +ExecStartPost=@BASE_BINDIR@/systemctl --no-reload disable opkg-configure.service +StandardOutput=syslog +RemainAfterExit=No + +[Install] +WantedBy=basic.target +WantedBy=sysinit.target diff --git a/recipes-devtools/opkg/opkg_0.3.3.bbappend b/recipes-devtools/opkg/opkg_0.3.3.bbappend new file mode 100644 index 0000000..49e7305 --- /dev/null +++ b/recipes-devtools/opkg/opkg_0.3.3.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/opkg:" -- cgit v1.2.3