Add debian packaging directory for workerconfig

Add debian packaging directory to build workerconfig for
Debian.

Story: 2009101
Task: 43021

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I3f6bac8a60f1fe77efb54f2e549df3dd716eb7ce
This commit is contained in:
Charles Short 2021-08-16 11:36:29 -04:00
parent 8c8aa8f717
commit 2b9f8c28c7
8 changed files with 89 additions and 0 deletions

View File

@ -0,0 +1,5 @@
workerconfig (1.0-1) unstable; urgency=medium
* Initial release.
-- Chuck Short <charles.short@windriver.com> Sun, 08 Aug 2021 06:05:31 -0400

View File

@ -0,0 +1,13 @@
Source: workerconfig
Section: admin
Priority: optional
Maintainer: Starlingx Developers <starlingx-discuss@lists.starlingx.io>
Build-Depends: debhelper-compat (= 13)
Standards-Version: 4.4.1
Homepage: https://www.starlingx.io
Package: workerconfig-standalone
Architecture: all
Depends: ${misc:Depends}
Description: Initial worker node configuration
StarlingX daemon to configure worker nodes.

View File

@ -0,0 +1,41 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: workerconfig
Upstream-Contact: starlingx-discuss@lists.openstack.org
Source: https://opendev.org/starlingx/config
Files: *
Copyright: (c) 2013-2019 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
.
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'.
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
.
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,16 @@
#!/usr/bin/make -f
#export DH_VERBOSE = 1
%:
dh $@
override_dh_auto_build:
: # No build required
override_dh_auto_install:
$(MAKE) INITDDIR=`pwd`/debian/tmp/etc/init.d \
GOENABLEDDIR=`pwd`/debian/tmp/etc/goenabled.d \
SYSTEMDDIR=`pwd`/debian/tmp/lib/systemd install
override_dh_installsystemd:
dh_installsystemd -pworkerconfig-standalone

View File

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

View File

@ -0,0 +1,3 @@
etc/init.d
etc/goenabled.d
lib/systemd/system/config

View File

@ -0,0 +1,3 @@
etc/init.d/worker_config
etc/goenabled.d/config_goenabled_check.sh
lib/systemd/config/workerconfig-standalone.service lib/systemd/system/workerconfig.service

View File

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