Files
ha/service-mgmt/sm-common/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

39 lines
1.1 KiB
Plaintext

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