Browse Source

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
changes/64/804764/9
Charles Short 6 months ago
parent
commit
4d2ba548dc
  1. 5
      config-gate/debian/deb_folder/changelog
  2. 2
      config-gate/debian/deb_folder/config-gate-worker.dirs
  3. 2
      config-gate/debian/deb_folder/config-gate-worker.install
  4. 2
      config-gate/debian/deb_folder/config-gate.install
  5. 20
      config-gate/debian/deb_folder/control
  6. 24
      config-gate/debian/deb_folder/copyright
  7. 15
      config-gate/debian/deb_folder/rules
  8. 1
      config-gate/debian/deb_folder/source/format
  9. 7
      config-gate/debian/meta_data.yaml

5
config-gate/debian/deb_folder/changelog

@ -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

2
config-gate/debian/deb_folder/config-gate-worker.dirs

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

2
config-gate/debian/deb_folder/config-gate-worker.install

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

2
config-gate/debian/deb_folder/config-gate.install

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

20
config-gate/debian/deb_folder/control

@ -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.

24
config-gate/debian/deb_folder/copyright

@ -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'.

15
config-gate/debian/deb_folder/rules

@ -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

1
config-gate/debian/deb_folder/source/format

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

7
config-gate/debian/meta_data.yaml

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