Update automatic package generator
- add DEB package creation functionality - update RPM spec file to work with SLES Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
This commit is contained in:
1
utils/pckgen.d/deb/debian/CAS_NAME-modules.install
Normal file
1
utils/pckgen.d/deb/debian/CAS_NAME-modules.install
Normal file
@@ -0,0 +1 @@
|
||||
lib/modules/
|
1
utils/pckgen.d/deb/debian/CAS_NAME.docs
Normal file
1
utils/pckgen.d/deb/debian/CAS_NAME.docs
Normal file
@@ -0,0 +1 @@
|
||||
README.md
|
8
utils/pckgen.d/deb/debian/CAS_NAME.install
Normal file
8
utils/pckgen.d/deb/debian/CAS_NAME.install
Normal file
@@ -0,0 +1,8 @@
|
||||
etc/
|
||||
lib/opencas/
|
||||
lib/udev/
|
||||
sbin/
|
||||
var/
|
||||
utils/open-cas.shutdown lib/systemd/system-shutdown/
|
||||
utils/open-cas.service lib/systemd/system/
|
||||
utils/open-cas-shutdown.service lib/systemd/system/
|
3
utils/pckgen.d/deb/debian/CAS_NAME.manpages
Normal file
3
utils/pckgen.d/deb/debian/CAS_NAME.manpages
Normal file
@@ -0,0 +1,3 @@
|
||||
utils/opencas.conf.5
|
||||
utils/casadm.8
|
||||
utils/casctl.8
|
11
utils/pckgen.d/deb/debian/changelog
Normal file
11
utils/pckgen.d/deb/debian/changelog
Normal file
@@ -0,0 +1,11 @@
|
||||
<CAS_NAME> (<CAS_VERSION>-1) trusty; urgency=medium
|
||||
|
||||
* pckgen: automated package generation
|
||||
|
||||
-- <PACKAGE_MAINTAINER> <PACKAGE_DATE>
|
||||
|
||||
open-cas-linux (20.03.2.0295-1) trusty; urgency=medium
|
||||
|
||||
* Initial OpenCAS DEB package release
|
||||
|
||||
-- Rafal Stefanowski <rafal.stefanowski@intel.com> Mon, 07 Sep 2020 14:17:04 +0200
|
1
utils/pckgen.d/deb/debian/compat
Normal file
1
utils/pckgen.d/deb/debian/compat
Normal file
@@ -0,0 +1 @@
|
||||
12
|
30
utils/pckgen.d/deb/debian/control
Normal file
30
utils/pckgen.d/deb/debian/control
Normal file
@@ -0,0 +1,30 @@
|
||||
Source: <CAS_NAME>
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Maintainer: <PACKAGE_MAINTAINER>
|
||||
Build-Depends: debhelper (>= 11), gawk, libelf-dev, linux-headers-generic
|
||||
Standards-Version: 4.1.2
|
||||
Homepage: <CAS_HOMEPAGE>
|
||||
Vcs-Git: <CAS_GIT>
|
||||
|
||||
Package: <CAS_NAME>
|
||||
Architecture: amd64
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, python3,
|
||||
<CAS_NAME>-modules (= <CAS_VERSION>-1)
|
||||
Description: Open Cache Acceleration Software
|
||||
Open Cache Acceleration Software (Open CAS) is an open source project
|
||||
encompassing block caching software libraries, adapters, tools and more.
|
||||
The main goal of this cache acceleration software is to accelerate a
|
||||
backend block device(s) by utilizing a higher performance device(s).
|
||||
This package contains tools and utilities for managing CAS and monitor
|
||||
running cache instances (no kernel modules).
|
||||
|
||||
Package: <CAS_NAME>-modules
|
||||
Architecture: amd64
|
||||
Depends: ${misc:Depends}
|
||||
Description: Open Cache Acceleration Software kernel modules (${kver})
|
||||
Open Cache Acceleration Software (Open CAS) is an open source project
|
||||
encompassing block caching software libraries, adapters, tools and more.
|
||||
The main goal of this cache acceleration software is to accelerate a
|
||||
backend block device(s) by utilizing a higher performance device(s).
|
||||
This package contains only CAS kernel modules.
|
7
utils/pckgen.d/deb/debian/copyright
Normal file
7
utils/pckgen.d/deb/debian/copyright
Normal file
@@ -0,0 +1,7 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: Intel Corporation
|
||||
Source: <CAS_GIT>
|
||||
|
||||
Files: *
|
||||
Copyright: 2019-2020 Intel Corporation
|
||||
License: <CAS_LICENSE_NAME>
|
21
utils/pckgen.d/deb/debian/rules
Executable file
21
utils/pckgen.d/deb/debian/rules
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# output every command that modifies files on the build system
|
||||
#export DH_VERBOSE = 1
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_configure :
|
||||
./configure
|
||||
|
||||
override_dh_auto_install :
|
||||
make install_files DESTDIR="$(shell pwd)/debian/tmp"
|
||||
|
||||
override_dh_installsystemd :
|
||||
dh_installsystemd --no-start
|
||||
|
||||
override_dh_missing :
|
||||
|
||||
override_dh_gencontrol :
|
||||
dh_gencontrol -- -Vkver="$(shell uname -r)"
|
1
utils/pckgen.d/deb/debian/source/format
Normal file
1
utils/pckgen.d/deb/debian/source/format
Normal file
@@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
Reference in New Issue
Block a user