Migrate multus-config package to Debian

Modified multus-config package to add support to Debian packaging.

PASS: built image successfully
PASS: Installed image successfully (with multus-config)
PASS: build updated latest image (fresh env)
PASS: bootstrap and unlock test

Story: 2009256
Task: 45259

Signed-off-by: Lucas Pellizzaro <lucas.soarespellizzaro@windriver.com>
Change-Id: I694239ea961a5d7447edc8f31eeba3b1668394d3
changes/59/840759/7
Lucas Pellizzaro 11 months ago committed by Lucas Soares Pellizzaro
parent 692ad48040
commit 4dd4f4fa88

@ -13,6 +13,7 @@ lighttpd-config
logrotate-config
lvm2-config
memcached-custom
multus-config
nfs-utils-config
ntp-config
openldap-config

@ -0,0 +1,5 @@
multus-config (1.0-1) unstable; urgency=medium
* Initial release
-- Lucas Soares Pellizzaro <lucas.soarespellizzaro@windriver.com> Thu, 28 Apr 2022 08:52:58 -0300

@ -0,0 +1,13 @@
Source: multus-config
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
Package: multus-config
Architecture: any
Depends: ${misc:Depends}
Description: StarlingX configuration files - multus-config
Package of multus-config to system folder.

@ -0,0 +1,27 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: multus-config
Source: https://opendev.org/starlingx/metal
Files: *
Copyright: (c) 2013-2022 Wind River Systems, Inc
License: Apache-2
Files: debian/*
Copyright: 2022 Wind River Systems, Inc
License: Apache-2
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'.

@ -0,0 +1 @@
etc/logrotate.d/multus.logrotate

@ -0,0 +1,11 @@
#!/usr/bin/make -f
#export DH_VERBOSE = 1
ROOT := $(CURDIR)/debian/tmp
%:
dh $@
override_dh_install:
install -p -D -m 644 multus.logrotate ${ROOT}/etc/logrotate.d/multus.logrotate
dh_install

@ -0,0 +1,7 @@
---
debname: multus-config
debver: 1.0-1
src_path: source-debian
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true

@ -0,0 +1,17 @@
#
# Copyright (c) 2020 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
/var/log/multus.log
{
nodateext
size 100M
start 1
missingok
rotate 20
compress
sharedscripts
copytruncate
}
Loading…
Cancel
Save