From e82b1458f63dc8bd5f00f122c2bbe9b2974d2210 Mon Sep 17 00:00:00 2001 From: Matei Valeanu Date: Thu, 16 May 2019 12:44:38 +0200 Subject: dpkg: move status files to /usr/dpkg/lib/dpkg This is where ostree dpkg is now expecting the files to be Change-Id: Ifdb7d86f9a72b3a5bb59814439643fecc1aa78c1 Signed-off-by: Matei Valeanu --- images/enea-nfv-access-host-common.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images/enea-nfv-access-host-common.inc b/images/enea-nfv-access-host-common.inc index 77b873a..ef6d3de 100644 --- a/images/enea-nfv-access-host-common.inc +++ b/images/enea-nfv-access-host-common.inc @@ -63,8 +63,8 @@ python __anonymous () { # OSTree does not preserve the contents of /var IMAGE_CMD_ostree_prepend () { - install -d ${IMAGE_ROOTFS}/usr/dpkg/ + install -d ${IMAGE_ROOTFS}/usr/dpkg/lib/dpkg if [ "$(ls -A ${IMAGE_ROOTFS}/var/lib/dpkg)" ]; then - mv ${IMAGE_ROOTFS}/var/lib/dpkg/* ${IMAGE_ROOTFS}/usr/dpkg/ + mv ${IMAGE_ROOTFS}/var/lib/dpkg/* ${IMAGE_ROOTFS}/usr/dpkg/lib/dpkg/ fi } -- cgit v1.2.3-54-g00ecf