Files
ha/service-mgmt/sm-db/debian/deb_folder/control
Kyale, Eliud 7e15abae2d Move sm database files for ostree compatibility
Move the following sm database files to /etc/sm/<release>
- sm.db
- sm.hb.db

update the paths in source code to point to the new database location
added a static_assert to fail if SW_VERSION macro is not defined

Test plan:

PASS - AIO-SX: iso install
               verify database files are in the correct location
                - /var/lib/sm/...
                - /etc/sm/<rel>/...
                - /var/run/sm/...
               ensure sm is running smoothly after controller-0 unlock

PASS - AIO-DX: iso install upto controller-1 unlock
               user host-swact
               uncontrolled swact by powering off active controller

Story: 2010676
Task: 50649

Change-Id: I2195c420438135c9b109060de13765b0897d7dc9
Signed-off-by: Kyale, Eliud <Eliud.Kyale@windriver.com>
2024-07-25 16:27:42 -04:00

27 lines
716 B
Plaintext

Source: sm-db
Section: admin
Priority: optional
Maintainer: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
Build-Depends: debhelper (>= 13),
build-info-dev,
sm-common-dev,
libglib2.0-dev,
libsqlite3-dev,
uuid-dev,
sqlite3
Standards-Version: 4.1.2
Homepage: https://www.starlingx.io
Package: sm-db
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Service Management Databases
This package handles the Service Management Databases
Package: sm-db-dev
Architecture: any
Depends: ${misc:Depends}, sm-db
Description: Service Management Databases - Development files
This package contains symbolic links, header files,
and related items necessary for software development.