From 7c6c1a85e968fe1bf8be0f0628ac0de8c00a6ff6 Mon Sep 17 00:00:00 2001 From: Semun Lee Date: Mon, 6 Nov 2017 22:10:27 +0900 Subject: [PATCH] Add dependency to capi-system-info system-info db should be initialized before pkgmgr runs backend installers during image creation. To run %posttrans of capi-system-info first, we need to add explicit dependency to capi-system-info. Change-Id: Id59ba33d401893836e172a0be6f70e7c8487f1f7 Signed-off-by: Semun Lee --- packaging/pkgmgr.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/pkgmgr.spec b/packaging/pkgmgr.spec index 3395742..b561ee9 100644 --- a/packaging/pkgmgr.spec +++ b/packaging/pkgmgr.spec @@ -15,6 +15,7 @@ Source1007: %{name}.conf Source1008: %{name}-installer-signal-agent.service Source1009: %{name}-installer-signal-agent.socket Requires(post): /usr/sbin/useradd +Requires(post): capi-system-info BuildRequires: cmake BuildRequires: unzip -- 2.34.1