Migrate rsync-config to Debian
Modified rsync-config to add support for Debian packaging. Test Plan: PASS: Package installed and ISO built successfully Story: 2009256 Task: 43805 Signed-off-by: Matheus Machado Guilhermino <Matheus.MachadoGuilhermino@windriver.com> Change-Id: I6b419ae029b4dced11eca020b57862dd783ca423
This commit is contained in:
parent
886f1c68a3
commit
5a15601ae0
|
@ -1 +1,2 @@
|
|||
sudo-config
|
||||
rsync-config
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
rsync-config (1.0-1) unstable; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Matheus Guilhermino <matheus.machadoguilhermino@windriver.com> Thu, 28 Oct 2021 10:43:29 -0400
|
|
@ -0,0 +1,13 @@
|
|||
Source: rsync-config
|
||||
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: rsync-config
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, rsync
|
||||
Description: Package StarlingX configuration files of rsync to system folder
|
||||
Installs rsyncd.conf to /etc folder in order to enable local rsync server.
|
|
@ -0,0 +1,27 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: rsync-config
|
||||
Source: https://opendev.org/starlingx/config-files/
|
||||
|
||||
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'.
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
cp /usr/share/starlingx/rsyncd.conf /etc/rsyncd.conf
|
||||
|
||||
chmod 644 /usr/share/starlingx/rsyncd.conf
|
||||
chmod 644 /etc/rsyncd.conf
|
||||
|
||||
#DEBHELPER#
|
|
@ -0,0 +1 @@
|
|||
rsyncd.conf usr/share/starlingx
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/make -f
|
||||
#export DH_VERBOSE = 1
|
||||
|
||||
%:
|
||||
dh $@
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
debname: rsync-config
|
||||
debver: 1.0-1
|
||||
src_path: source-debian
|
||||
revision:
|
||||
dist: $STX_DIST
|
||||
PKG_GITREVCOUNT: true
|
|
@ -0,0 +1,57 @@
|
|||
# /etc/rsyncd.conf
|
||||
|
||||
# Configuration file for rsync daemon
|
||||
# See rsync(1) and rsyncd.conf(5) man pages for help
|
||||
|
||||
# This file is required by rsync --daemon
|
||||
pid file = /var/run/rsyncd.pid
|
||||
use chroot = yes
|
||||
read only = yes
|
||||
|
||||
# Simple example for enabling your own local rsync server
|
||||
#[everything]
|
||||
# path = /
|
||||
# comment = Everything except /etc exposed
|
||||
# exclude = /etc
|
||||
|
||||
[patching]
|
||||
path = /opt/patching
|
||||
comment = Patching filesystem
|
||||
uid = root
|
||||
read only = no
|
||||
|
||||
[repo]
|
||||
path = /www/pages/updates
|
||||
comment = Patching repo
|
||||
uid = root
|
||||
read only = no
|
||||
|
||||
[platform]
|
||||
path = /etc/platform
|
||||
comment = Platform configuration
|
||||
uid = root
|
||||
read only = no
|
||||
|
||||
[certificate]
|
||||
path = /etc/ssl/private
|
||||
comment = SSL certificate
|
||||
uid = root
|
||||
read only = no
|
||||
|
||||
[instances]
|
||||
path = /etc/nova/instances
|
||||
comment = Nova instances data
|
||||
uid = root
|
||||
read only = no
|
||||
|
||||
[cacert]
|
||||
path = /etc/ssl/certs
|
||||
comment = SSL ca certificate
|
||||
uid = root
|
||||
read only = no
|
||||
|
||||
[helm_charts]
|
||||
path = /www/pages/helm_charts
|
||||
comment = Helm chart repo
|
||||
uid = root
|
||||
read only = no
|
Loading…
Reference in New Issue