Add debian package for cert-alarm
Add debian packaging infrastructure for cert-alarm to build a debian package. Story: 2009101 Task: 43087 Signed-off-by: Charles Short <charles.short@windriver.com> Change-Id: I665f36f2d3d2b4664f906e4683fc275b4ad1682a
This commit is contained in:
parent
ac3971e337
commit
ac8b4e94d7
5
sysinv/cert-alarm/debian/deb_folder/cert-alarm.dirs
Normal file
5
sysinv/cert-alarm/debian/deb_folder/cert-alarm.dirs
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
usr/lib/ocf/resource.d
|
||||||
|
etc/init.d
|
||||||
|
lib/systemd/system
|
||||||
|
etc/logrotate.d
|
||||||
|
etc/syslog-ng/conf.d
|
4
sysinv/cert-alarm/debian/deb_folder/cert-alarm.install
Normal file
4
sysinv/cert-alarm/debian/deb_folder/cert-alarm.install
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
usr/lib/ocf/resource.d/platform/cert-alarm
|
||||||
|
lib/systemd/system/cert-alarm.service
|
||||||
|
etc/syslog-ng/conf.d/cert-alarm.conf
|
||||||
|
etc/logrotate.d/cert-alarm.conf
|
5
sysinv/cert-alarm/debian/deb_folder/changelog
Normal file
5
sysinv/cert-alarm/debian/deb_folder/changelog
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
cert-alarm (1.0-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Initial release.
|
||||||
|
|
||||||
|
-- Charles Short <charles.short@windriver.com> Tue, 24 Aug 2021 17:20:49 +0000
|
14
sysinv/cert-alarm/debian/deb_folder/control
Normal file
14
sysinv/cert-alarm/debian/deb_folder/control
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Source: cert-alarm
|
||||||
|
Section: admin
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Starlingx Developers <starlingx-discuss@lists.starlingx.io>
|
||||||
|
Build-Depends: debhelper-compat (= 13)
|
||||||
|
Standards-Version: 4.5.1
|
||||||
|
Rules-Requires-Root: no
|
||||||
|
|
||||||
|
Package: cert-alarm
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}, logrotate, rsyslog
|
||||||
|
Description: Starlingx certificate alarm
|
||||||
|
Manages the StarlingX's platform system certificate alarm
|
||||||
|
process as a HA resource.
|
43
sysinv/cert-alarm/debian/deb_folder/copyright
Normal file
43
sysinv/cert-alarm/debian/deb_folder/copyright
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: cert-alarm
|
||||||
|
Source: https://opendev.org/starlingx/config
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright:
|
||||||
|
(c) 2013-2021 Wind River Systems, Inc
|
||||||
|
(c) Others (See individual files for more details)
|
||||||
|
License: Apache-2
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
.
|
||||||
|
https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
.
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
.
|
||||||
|
On Debian-based systems the full text of the Apache version 2.0 license
|
||||||
|
can be found in `/usr/share/common-licenses/Apache-2.0'.
|
||||||
|
|
||||||
|
# If you want to use GPL v2 or later for the /debian/* files use
|
||||||
|
# the following clauses, or change it to suit. Delete these two lines
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: 2021 Wind River Systems, Inc
|
||||||
|
License: Apache-2
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
.
|
||||||
|
https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
.
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
.
|
||||||
|
On Debian-based systems the full text of the Apache version 2.0 license
|
||||||
|
can be found in `/usr/share/common-licenses/Apache-2.0'.
|
1
sysinv/cert-alarm/debian/deb_folder/files
Normal file
1
sysinv/cert-alarm/debian/deb_folder/files
Normal file
@ -0,0 +1 @@
|
|||||||
|
cert-alarm_1.0_source.buildinfo admin optional
|
14
sysinv/cert-alarm/debian/deb_folder/rules
Executable file
14
sysinv/cert-alarm/debian/deb_folder/rules
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
#export DH_VERBOSE = 1
|
||||||
|
|
||||||
|
ROOT := $(CURDIR)/debian/tmp
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
||||||
|
|
||||||
|
override_dh_install:
|
||||||
|
install -m 755 -p -D cert-alarm ${ROOT}/usr/lib/ocf/resource.d/platform/cert-alarm
|
||||||
|
install -m 644 -p -D cert-alarm.service ${ROOT}/lib/systemd/system/cert-alarm.service
|
||||||
|
install -m 644 -p -D cert-alarm.syslog ${ROOT}/etc/syslog-ng/conf.d/cert-alarm.conf
|
||||||
|
install -m 644 -p -D cert-alarm.logrotate ${ROOT}/etc/logrotate.d/cert-alarm.conf
|
||||||
|
dh_install
|
1
sysinv/cert-alarm/debian/deb_folder/source/format
Normal file
1
sysinv/cert-alarm/debian/deb_folder/source/format
Normal file
@ -0,0 +1 @@
|
|||||||
|
3.0 (quilt)
|
7
sysinv/cert-alarm/debian/meta_data.yaml
Normal file
7
sysinv/cert-alarm/debian/meta_data.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
debname: cert-alarm
|
||||||
|
debver: 1.0
|
||||||
|
src_path: files
|
||||||
|
revision:
|
||||||
|
dist: $STX_DIST
|
||||||
|
PKG_GITREVCOUNT: true
|
Loading…
Reference in New Issue
Block a user