Add debian package for config-gate

Add debian directory to build config-gate for Debian.

Story: 2009101
Task: 43020

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: If34ac97e66cf1ba07c9cd6cdf9811d48b9700950
This commit is contained in:
Charles Short 2021-08-16 11:27:52 -04:00
parent 4fe21e8845
commit 4d2ba548dc
9 changed files with 78 additions and 0 deletions

View File

@ -0,0 +1,5 @@
config-gate (1.0-1) unstable; urgency=medium
* Initial release.
-- Chuck Short <charles.short@windriver.com> Sun, 08 Aug 2021 00:50:09 +0000

View File

@ -0,0 +1,2 @@
usr/bin
lib/systemd/system

View File

@ -0,0 +1,2 @@
lib/systemd/system/worker-config-gate.service
usr/sbin/wait_for_worker_config_init.sh

View File

@ -0,0 +1,2 @@
usr/sbin/wait_for_config_init.sh
lib/systemd/system/config.service

View File

@ -0,0 +1,20 @@
Source: config-gate
Section: admin
Priority: optional
Maintainer: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
Build-Depends: debhelper-compat (= 13)
Standards-Version: 4.5.1
Homepage: https://www.starlingx.io
Rules-Requires-Root: no
Package: config-gate
Architecture: all
Depends: ${misc:Depends}
Description: Startup worker configuration gate
StarlingX platform general configuration for the initialization gate.
Package: config-gate-worker
Architecture: all
Depends: ${misc:Depends}
Description: Startup worker configuration gate
StarlingX platform general configuration for the initialization gate.

View File

@ -0,0 +1,24 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: config-gate
Source: http://opendev.org/starlingx/config
Files: *
Copyright:
Copyright (c) 2016 Wind River Systems, Inc
Copyright (c) 2019 Intel Corporation
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
.
http://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'.

View File

@ -0,0 +1,15 @@
#!/usr/bin/make -f
#export DH_VERBOSE = 1
%:
dh $@
override_dh_auto_build:
: # Nothing to build
override_dh_auto_install:
$(MAKE) SBINDIR=`pwd`/debian/tmp/usr/sbin \
SYSTEMDDIR=`pwd`/debian/tmp/lib/systemd/system install
override_dh_installsystemd:
dh_installsystemd -pconfig-gate-worker worker-config-gate.service

View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -0,0 +1,7 @@
---
debname: config-gate
debver: 1.0
src_path: files
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true