diff options
| author | Matei Valeanu <Matei.Valeanu@enea.com> | 2019-05-16 12:44:38 +0200 |
|---|---|---|
| committer | Martin Borg <martin.borg@enea.com> | 2019-05-24 11:44:29 +0200 |
| commit | e82b1458f63dc8bd5f00f122c2bbe9b2974d2210 (patch) | |
| tree | 837cdbaf431723284363a48ba4e7642d38e1a189 | |
| parent | 6f4d06897bb746f64e6ec6c2d6d67aba5ff93416 (diff) | |
| download | meta-el-nfv-access-e82b1458f63dc8bd5f00f122c2bbe9b2974d2210.tar.gz | |
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 <Matei.Valeanu@enea.com>
| -rw-r--r-- | images/enea-nfv-access-host-common.inc | 4 |
1 files 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 () { | |||
| 63 | # OSTree does not preserve the contents of /var | 63 | # OSTree does not preserve the contents of /var |
| 64 | IMAGE_CMD_ostree_prepend () { | 64 | IMAGE_CMD_ostree_prepend () { |
| 65 | 65 | ||
| 66 | install -d ${IMAGE_ROOTFS}/usr/dpkg/ | 66 | install -d ${IMAGE_ROOTFS}/usr/dpkg/lib/dpkg |
| 67 | if [ "$(ls -A ${IMAGE_ROOTFS}/var/lib/dpkg)" ]; then | 67 | if [ "$(ls -A ${IMAGE_ROOTFS}/var/lib/dpkg)" ]; then |
| 68 | mv ${IMAGE_ROOTFS}/var/lib/dpkg/* ${IMAGE_ROOTFS}/usr/dpkg/ | 68 | mv ${IMAGE_ROOTFS}/var/lib/dpkg/* ${IMAGE_ROOTFS}/usr/dpkg/lib/dpkg/ |
| 69 | fi | 69 | fi |
| 70 | } | 70 | } |
