diff options
Diffstat (limited to 'packages/all-poky-linux/run-postinsts')
10 files changed, 97 insertions, 0 deletions
diff --git a/packages/all-poky-linux/run-postinsts/latest b/packages/all-poky-linux/run-postinsts/latest new file mode 100644 index 0000000000000..48172574f06ae --- /dev/null +++ b/packages/all-poky-linux/run-postinsts/latest @@ -0,0 +1,8 @@ +PV = 1.0 +PR = r10 +DEPENDS = systemd-systemctl-native +PACKAGES = run-postinsts-src run-postinsts-dbg run-postinsts-staticdev run-postinsts-dev run-postinsts-doc run-postinsts-locale run-postinsts +LAYER = core +LICENSE = MIT +CONFIG = +SRC_URI = file://run-postinsts file://run-postinsts.init file://run-postinsts.service diff --git a/packages/all-poky-linux/run-postinsts/run-postinsts-dbg/latest b/packages/all-poky-linux/run-postinsts/run-postinsts-dbg/latest new file mode 100644 index 0000000000000..2f7fa70a53b0d --- /dev/null +++ b/packages/all-poky-linux/run-postinsts/run-postinsts-dbg/latest @@ -0,0 +1,8 @@ +PV = 1.0 +PR = r10 +RPROVIDES = +RDEPENDS = +RRECOMMENDS = +PKGSIZE = 0 +FILES = /usr/lib/debug /usr/lib/debug-static /usr/src/debug +FILELIST = diff --git a/packages/all-poky-linux/run-postinsts/run-postinsts-dev/latest b/packages/all-poky-linux/run-postinsts/run-postinsts-dev/latest new file mode 100644 index 0000000000000..0b720e69639cd --- /dev/null +++ b/packages/all-poky-linux/run-postinsts/run-postinsts-dev/latest @@ -0,0 +1,8 @@ +PV = 1.0 +PR = r10 +RPROVIDES = +RDEPENDS = +RRECOMMENDS = run-postinsts (= 1.0-r10) +PKGSIZE = 0 +FILES = /usr/include /lib/lib*.so /usr/lib/lib*.so /usr/lib/*.la /usr/lib/*.o /usr/lib/pkgconfig /usr/share/pkgconfig /usr/share/aclocal /lib/*.o /usr/lib/run-postinsts/*.la /lib/*.la /usr/lib/cmake /usr/share/cmake +FILELIST = diff --git a/packages/all-poky-linux/run-postinsts/run-postinsts-doc/latest b/packages/all-poky-linux/run-postinsts/run-postinsts-doc/latest new file mode 100644 index 0000000000000..36679bd67e61c --- /dev/null +++ b/packages/all-poky-linux/run-postinsts/run-postinsts-doc/latest @@ -0,0 +1,8 @@ +PV = 1.0 +PR = r10 +RPROVIDES = +RDEPENDS = +RRECOMMENDS = +PKGSIZE = 0 +FILES = /usr/share/doc /usr/share/man /usr/share/info /usr/share/gtk-doc /usr/share/gnome/help +FILELIST = diff --git a/packages/all-poky-linux/run-postinsts/run-postinsts-locale/latest b/packages/all-poky-linux/run-postinsts/run-postinsts-locale/latest new file mode 100644 index 0000000000000..37987ef1c9e81 --- /dev/null +++ b/packages/all-poky-linux/run-postinsts/run-postinsts-locale/latest @@ -0,0 +1,8 @@ +PV = 1.0 +PR = r10 +RPROVIDES = +RDEPENDS = +RRECOMMENDS = +PKGSIZE = 0 +FILES = /usr/share/locale +FILELIST = diff --git a/packages/all-poky-linux/run-postinsts/run-postinsts-src/latest b/packages/all-poky-linux/run-postinsts/run-postinsts-src/latest new file mode 100644 index 0000000000000..65480d5575151 --- /dev/null +++ b/packages/all-poky-linux/run-postinsts/run-postinsts-src/latest @@ -0,0 +1,8 @@ +PV = 1.0 +PR = r10 +RPROVIDES = +RDEPENDS = +RRECOMMENDS = +PKGSIZE = 0 +FILES = /usr/src/debug +FILELIST = diff --git a/packages/all-poky-linux/run-postinsts/run-postinsts-staticdev/latest b/packages/all-poky-linux/run-postinsts/run-postinsts-staticdev/latest new file mode 100644 index 0000000000000..8bf07353dcfec --- /dev/null +++ b/packages/all-poky-linux/run-postinsts/run-postinsts-staticdev/latest @@ -0,0 +1,8 @@ +PV = 1.0 +PR = r10 +RPROVIDES = +RDEPENDS = run-postinsts-dev (= 1.0-r10) +RRECOMMENDS = +PKGSIZE = 0 +FILES = /usr/lib/*.a /lib/*.a /usr/lib/run-postinsts/*.a +FILELIST = diff --git a/packages/all-poky-linux/run-postinsts/run-postinsts/latest b/packages/all-poky-linux/run-postinsts/run-postinsts/latest new file mode 100644 index 0000000000000..c97ffaae2538b --- /dev/null +++ b/packages/all-poky-linux/run-postinsts/run-postinsts/latest @@ -0,0 +1,8 @@ +PV = 1.0 +PR = r10 +RPROVIDES = +RDEPENDS = +RRECOMMENDS = +PKGSIZE = 2349 +FILES = /usr/bin/* /usr/sbin/* /usr/libexec/* /usr/lib/lib*.so.* /etc /com /var /bin/* /sbin/* /lib/*.so.* /lib/udev /usr/lib/udev /lib/udev /usr/lib/udev /usr/share/run-postinsts /usr/lib/run-postinsts/* /usr/share/pixmaps /usr/share/applications /usr/share/idl /usr/share/omf /usr/share/sounds /usr/lib/bonobo/servers /lib/systemd/system-preset/98-run-postinsts.preset /lib/systemd/system/run-postinsts.service +FILELIST = /lib/systemd/system-preset/98-run-postinsts.preset /lib/systemd/system/run-postinsts.service /usr/sbin/run-postinsts diff --git a/packages/all-poky-linux/run-postinsts/run-postinsts/latest.pkg_postinst b/packages/all-poky-linux/run-postinsts/run-postinsts/latest.pkg_postinst new file mode 100644 index 0000000000000..7db0f819ca5fe --- /dev/null +++ b/packages/all-poky-linux/run-postinsts/run-postinsts/latest.pkg_postinst @@ -0,0 +1,24 @@ +#!/bin/sh +set -e +if systemctl >/dev/null 2>/dev/null; then + OPTS="" + + if [ -n "$D" ]; then + OPTS="--root=$D" + fi + + if [ "enable" = "enable" ]; then + for service in run-postinsts.service; do + systemctl ${OPTS} enable "$service" + done + fi + + if [ -z "$D" ]; then + systemctl daemon-reload + systemctl preset run-postinsts.service + + if [ "enable" = "enable" ]; then + systemctl --no-block restart run-postinsts.service + fi + fi +fi diff --git a/packages/all-poky-linux/run-postinsts/run-postinsts/latest.pkg_prerm b/packages/all-poky-linux/run-postinsts/run-postinsts/latest.pkg_prerm new file mode 100644 index 0000000000000..794648af9d585 --- /dev/null +++ b/packages/all-poky-linux/run-postinsts/run-postinsts/latest.pkg_prerm @@ -0,0 +1,9 @@ +#!/bin/sh +set -e +if systemctl >/dev/null 2>/dev/null; then + if [ -z "$D" ]; then + systemctl stop run-postinsts.service + + systemctl disable run-postinsts.service + fi +fi |