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:
parent
8dbdc40fe1
commit
c311145341
5
centos-debian-compat/debian/deb_folder/changelog
Normal file
5
centos-debian-compat/debian/deb_folder/changelog
Normal 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
|
14
centos-debian-compat/debian/deb_folder/control
Normal file
14
centos-debian-compat/debian/deb_folder/control
Normal 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".
|
27
centos-debian-compat/debian/deb_folder/copyright
Normal file
27
centos-debian-compat/debian/deb_folder/copyright
Normal 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'.
|
6
centos-debian-compat/debian/deb_folder/postinst
Normal file
6
centos-debian-compat/debian/deb_folder/postinst
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
echo "source /lib/lsb/init-functions" > /etc/init.d/functions
|
||||||
|
|
||||||
|
#DEBHELPER#
|
4
centos-debian-compat/debian/deb_folder/rules
Normal file
4
centos-debian-compat/debian/deb_folder/rules
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
7
centos-debian-compat/debian/meta_data.yaml
Normal file
7
centos-debian-compat/debian/meta_data.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
debname: centos-debian-compat
|
||||||
|
debver: 1.0
|
||||||
|
src_path: source
|
||||||
|
revision:
|
||||||
|
dist: $STX_DIST
|
||||||
|
PKG_GITREVCOUNT: true
|
0
centos-debian-compat/source/.gitignore
vendored
Normal file
0
centos-debian-compat/source/.gitignore
vendored
Normal file
@ -8,6 +8,7 @@ base/linuxptp
|
|||||||
base/pf-bb-config
|
base/pf-bb-config
|
||||||
base/systemd
|
base/systemd
|
||||||
base/watchdog
|
base/watchdog
|
||||||
|
centos-debian-compat
|
||||||
config/facter
|
config/facter
|
||||||
config/puppet-5.5.22
|
config/puppet-5.5.22
|
||||||
config/puppet-modules/openstack/puppet-ceph-3.1.1
|
config/puppet-modules/openstack/puppet-ceph-3.1.1
|
||||||
|
Loading…
Reference in New Issue
Block a user