diff --git a/storageconfig/debian/deb_folder/changelog b/storageconfig/debian/deb_folder/changelog new file mode 100644 index 0000000000..79c4a5c58e --- /dev/null +++ b/storageconfig/debian/deb_folder/changelog @@ -0,0 +1,5 @@ +storageconfig (1.0) unstable; urgency=medium + + * Initial Release. + + -- Fabricio Henrique Ramos Fri, 03 Sep 2021 20:41:12 +0000 diff --git a/storageconfig/debian/deb_folder/control b/storageconfig/debian/deb_folder/control new file mode 100644 index 0000000000..9cab8a4606 --- /dev/null +++ b/storageconfig/debian/deb_folder/control @@ -0,0 +1,14 @@ +Source: storageconfig +Section: admin +Priority: optional +Maintainer: StarlingX Developers +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 diff --git a/storageconfig/debian/deb_folder/copyright b/storageconfig/debian/deb_folder/copyright new file mode 100644 index 0000000000..61c25b6f4e --- /dev/null +++ b/storageconfig/debian/deb_folder/copyright @@ -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". diff --git a/storageconfig/debian/deb_folder/rules b/storageconfig/debian/deb_folder/rules new file mode 100755 index 0000000000..d7693720f5 --- /dev/null +++ b/storageconfig/debian/deb_folder/rules @@ -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 diff --git a/storageconfig/debian/deb_folder/source/format b/storageconfig/debian/deb_folder/source/format new file mode 100644 index 0000000000..89ae9db8f8 --- /dev/null +++ b/storageconfig/debian/deb_folder/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/storageconfig/debian/deb_folder/storageconfig.dirs b/storageconfig/debian/deb_folder/storageconfig.dirs new file mode 100644 index 0000000000..1ef23fd167 --- /dev/null +++ b/storageconfig/debian/deb_folder/storageconfig.dirs @@ -0,0 +1,3 @@ +etc/init.d +etc/goenabled.d +lib/systemd/system/config diff --git a/storageconfig/debian/deb_folder/storageconfig.install b/storageconfig/debian/deb_folder/storageconfig.install new file mode 100644 index 0000000000..331a44d3a5 --- /dev/null +++ b/storageconfig/debian/deb_folder/storageconfig.install @@ -0,0 +1,3 @@ +etc/init.d/storage_config +etc/goenabled.d/config_goenabled_check.sh +lib/systemd/system/storageconfig.service diff --git a/storageconfig/debian/meta_data.yaml b/storageconfig/debian/meta_data.yaml new file mode 100644 index 0000000000..74ddbceaa1 --- /dev/null +++ b/storageconfig/debian/meta_data.yaml @@ -0,0 +1,7 @@ +--- +debver: 1.0 +debname: storageconfig +src_path: storageconfig +revision: + dist: $STX_DIST + PKG_GITREVCOUNT: