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:
parent
623ae40a31
commit
9b63492468
5
storageconfig/debian/deb_folder/changelog
Normal file
5
storageconfig/debian/deb_folder/changelog
Normal 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
|
14
storageconfig/debian/deb_folder/control
Normal file
14
storageconfig/debian/deb_folder/control
Normal 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
|
22
storageconfig/debian/deb_folder/copyright
Normal file
22
storageconfig/debian/deb_folder/copyright
Normal 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".
|
20
storageconfig/debian/deb_folder/rules
Executable file
20
storageconfig/debian/deb_folder/rules
Executable 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
|
1
storageconfig/debian/deb_folder/source/format
Normal file
1
storageconfig/debian/deb_folder/source/format
Normal file
@ -0,0 +1 @@
|
||||
3.0 (native)
|
3
storageconfig/debian/deb_folder/storageconfig.dirs
Normal file
3
storageconfig/debian/deb_folder/storageconfig.dirs
Normal file
@ -0,0 +1,3 @@
|
||||
etc/init.d
|
||||
etc/goenabled.d
|
||||
lib/systemd/system/config
|
3
storageconfig/debian/deb_folder/storageconfig.install
Normal file
3
storageconfig/debian/deb_folder/storageconfig.install
Normal file
@ -0,0 +1,3 @@
|
||||
etc/init.d/storage_config
|
||||
etc/goenabled.d/config_goenabled_check.sh
|
||||
lib/systemd/system/storageconfig.service
|
7
storageconfig/debian/meta_data.yaml
Normal file
7
storageconfig/debian/meta_data.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
debver: 1.0
|
||||
debname: storageconfig
|
||||
src_path: storageconfig
|
||||
revision:
|
||||
dist: $STX_DIST
|
||||
PKG_GITREVCOUNT:
|
Loading…
Reference in New Issue
Block a user