Comment 4 for bug 1983580

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tools (master)

Reviewed: https://review.opendev.org/c/starlingx/tools/+/858754
Committed: https://opendev.org/starlingx/tools/commit/73eead68fd11dba5e5cbeb63ee0c7f29f6a3fd4c
Submitter: "Zuul (22348)"
Branch: master

commit 73eead68fd11dba5e5cbeb63ee0c7f29f6a3fd4c
Author: Charles Short <email address hidden>
Date: Wed Sep 21 10:30:01 2022 -0400

    debian: Move dpkg database to /usr

    Move the dpkg database /var/lib/dpkg to /usr/share/dpkg/database.
    This is being done so ostree does not corrupt the package database
    if its in a read-only mode.

    A symlink the database on /usr to where dpkg expects to find it
    so packages operations dont break.

    Test Plan:
    Pass: build ISO image
    Pass: In runtime system, run dpkg -l | grep base-files succesfully.

    Story: 2008862
    Task: 45966
    Related-Bug: #1983580

    Signed-off-by: Charles Short <email address hidden>
    Change-Id: I2e679d038299ed731033b51751152457c78d9618