Merge "debian: Add Debian packaging for platform-kickstarts"

This commit is contained in:
Zuul 2022-03-25 12:45:46 +00:00 committed by Gerrit Code Review
commit 5432df6b6e
8 changed files with 2079 additions and 0 deletions

View File

@ -1,4 +1,5 @@
installer/pxe-network-installer
kickstart
mtce
mtce-common
mtce-compute

View File

@ -0,0 +1,5 @@
platform-kickstarts (2.0-1) unstable; urgency=medium
* Initial release.
-- Eric MacDonald <eric.macdonald@windriver.com> Wed, 02 Mar 2022 21:26:55 +0000

View File

@ -0,0 +1,15 @@
Source: platform-kickstarts
Section: admin
Priority: optional
Maintainer: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
Homepage: https://www.starlingx.io
Standards-Version: 4.5.1
Build-Depends: debhelper-compat (= 13),
build-info-dev
Package: platform-kickstarts
Architecture: all
Depends: ${misc:Depends}
Description: Platform kickstarts
Platform kickstart files used to configure nodes
based on install arguement personality traits.

View File

@ -0,0 +1,43 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Contact: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
Upstream-Name: platform-kickstarts
Source: https://opendev.org/starlingx/metal
Files: *
Copyright: (c) 2013-2022 Wind River Systems, Inc
(c) Others (See individual files for more details)
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
.
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-based systems the full text of the Apache version 2.0 license
can be found in `/usr/share/common-licenses/Apache-2.0'.
# If you want to use GPL v2 or later for the /debian/* files use
# the following clauses, or change it to suit. Delete these two lines
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
.
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-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 @@
var/www/pages/feed/*

View File

@ -0,0 +1,17 @@
#!/usr/bin/make -f
# export DH_VERBOSE = 1
export ROOT=$(CURDIR)/debian/tmp
export platform_release="$(shell grep SW_VERSION /usr/include/build_info.h | cut -d ' ' -f 3)"
%:
dh $@
override_dh_auto_configure:
sed -i s/xxxPLATFORM_RELEASExxx/$(platform_release)/g kickstart.cfg
dh_auto_configure
override_dh_install:
install -d -m 755 $(ROOT)/var/www/pages/feed/rel-${platform_release}
install -p -D -m 700 kickstart.cfg $(ROOT)/var/www/pages/feed/rel-${platform_release}
dh_install

View File

@ -0,0 +1,7 @@
---
debname: platform-kickstarts
debver: 2.0-1
src_path: files
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true

File diff suppressed because it is too large Load Diff