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
Reviewed: https:/ /review. opendev. org/c/starlingx /tools/ +/858754 /opendev. org/starlingx/ tools/commit/ 73eead68fd11dba 5e5cbeb63ee0c7f 29f6a3fd4c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 73eead68fd11dba 5e5cbeb63ee0c7f 29f6a3fd4c
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> 731033b51751152 457c78d9618
Change-Id: I2e679d038299ed