Add debian packaging directory for storageconfig

Add debian packaging directory to build storageconfig for Debian OS.

Story: 2009101
Task: 43024

Signed-off-by: Fabricio Henrique Ramos <fabriciohenrique.ramos@windriver.com>
Change-Id: Ifc6e03cd631d346aef210a4d0a2bcd283989dca8
This commit is contained in:
Fabricio Henrique Ramos 2021-09-07 15:45:37 -03:00
parent 623ae40a31
commit 9b63492468
8 changed files with 75 additions and 0 deletions

View File

@ -0,0 +1,5 @@
storageconfig (1.0) unstable; urgency=medium
* Initial Release.
-- Fabricio Henrique Ramos <fabriciohenrique.ramos@windriver.com> Fri, 03 Sep 2021 20:41:12 +0000

View File

@ -0,0 +1,14 @@
Source: storageconfig
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: storageconfig
Architecture: any
Depends: ${misc:Depends}
Description: Storage node configuration
Storage node configuration scripts

View File

@ -0,0 +1,22 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: storageconfig
Upstream-Contact: starlingx-discuss@lists.openstack.org
Source: https://opendev.org/starlingx/config
Files: *
Copyright: 2013-2019 Wind River Systems, Inc.
License: Apache-2.0
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 systems, the complete text of the Apache version 2.0 license
can be found in "/usr/share/common-licenses/Apache-2.0".

View File

@ -0,0 +1,20 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
PKGDIR=$(CURDIR)/debian/tmp
export INITDDIR=$(PKGDIR)/etc/init.d
export GOENABLEDDIR=$(PKGDIR)/etc/goenabled.d
export SYSTEMDDIR=$(PKGDIR)/lib/systemd/system
%:
dh $@
override_dh_auto_build:
: # nothing to be built, just skip
override_dh_fixperms:
dh_fixperms -Xstorage_config
override_dh_installsystemd:
dh_installsystemd --name storageconfig

View File

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

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/storage_config
etc/goenabled.d/config_goenabled_check.sh
lib/systemd/system/storageconfig.service

View File

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