Add centos-debian-compat package to Debian

This package was created to direct
/ect/init.d/functions to lib/lsb/init-functions

This was done to avoid altering files that
are relevant to CentOS.

Test Plan:

PASS: Package installed and ISO built successfully

Story: 2009101
Task: 44380

Signed-off-by: Matheus Machado Guilhermino <Matheus.MachadoGuilhermino@windriver.com>
Change-Id: I6738cee99337aab7c6aa669f60a5a134929ac5cf
This commit is contained in:
Matheus Machado Guilhermino 2022-01-28 16:55:05 -03:00
parent 8dbdc40fe1
commit c311145341
8 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,5 @@
centos-debian-compat (1.0) unstable; urgency=medium
* Initial release.
-- Matheus Guilhermino <matheus.machadoguilhermino@windriver.com> Thu, 27 Jan 2022 16:35:37 -0400

View File

@ -0,0 +1,14 @@
Source: centos-debian-compat
Section: admin
Priority: optional
Maintainer: Starlingx Developers <starlingx-discuss@lists.starlingx.io>
Build-Depends: debhelper-compat (= 13)
Standards-Version: 4.4.1
Homepage: https://www.starlingx.io
Package: centos-debian-compat
Architecture: all
Depends:
${misc:Depends}
Description: General compatibility adjustments
Directs from "/etc/init.d/functions" to "/lib/lsb/init-functions".

View File

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

View File

@ -0,0 +1,6 @@
#!/bin/sh
set -e
echo "source /lib/lsb/init-functions" > /etc/init.d/functions
#DEBHELPER#

View File

@ -0,0 +1,4 @@
#!/usr/bin/make -f
%:
dh $@

View File

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

View File

View File

@ -8,6 +8,7 @@ base/linuxptp
base/pf-bb-config
base/systemd
base/watchdog
centos-debian-compat
config/facter
config/puppet-5.5.22
config/puppet-modules/openstack/puppet-ceph-3.1.1