Commit Graph

19 Commits

Author SHA1 Message Date
Rafal Stefanowski
6c8c3205ec copyright/license: Generate current year in copyright file during DEB package creation
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-09-07 15:23:11 +02:00
Rafal Stefanowski
91f5d497ef copyright/license: Add missing file extensions
Proper file extensions help 'copyright header checker' find files
that should contain copyright info. Extensions also clearly indicate
file type, and help to fit in with the file naming convention.

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-09-07 15:23:11 +02:00
Robert Baldyga
8be913462f
Merge pull request #1208 from rafalste/debug_packages
packaging: Fix debug package build
2022-09-06 11:45:23 +02:00
Rafal Stefanowski
8cadcb5c0e Remove python3-packaging from dependencies
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-08-30 16:14:40 +02:00
Rafal Stefanowski
63f1c162b6 packaging: Fix debug package build
For debug symbols packages to build properly, we need to
instruct the compiler to produce debugging information
during the compilation process by adding a proper flag.
Additionally there is no point to create packages with
debug info in normal build, because it may crash the
package creation process if no debug info is found.

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-08-16 01:29:22 +02:00
Rafal Stefanowski
8938310b61 packaging: modules paths and names fixup
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-08-16 01:29:22 +02:00
Rafal Stefanowski
d19fc94d14 Improve package creation
- ddiskit related modifications
- fix for resolving weak-modules symlinks

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-03-28 12:05:59 +02:00
Rafal Stefanowski
b14bf05ff8 Add missing license info
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2022-03-28 11:31:15 +02:00
Rafal Stefanowski
f67f5c8aea Add multi-arch package build support
- do not restrain package build to just one architecture
  and allow user to create packages outside of x86_64
- add pckgen option to specify different architecture
  to build packages for, instead of the current one

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-11-24 16:58:38 +01:00
Michal Mielewczyk
9a22c61ac2 rpm&deb: update dependencies
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-11-22 14:40:13 +01:00
Rafal Stefanowski
acec05060d Fix license
Change license to BSD-3-Clause

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-10-28 12:46:42 +02:00
Jan Musial
fa371cd061 Remove test-framework checks in cas_version_gen and pckgen
Signed-off-by: Jan Musial <jan.musial@intel.com>
2021-10-22 09:04:01 +02:00
Rafal Stefanowski
88d89d2136 Force creating debug symbols RPMs on SLES
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-09-08 13:54:54 +02:00
Jan Musial
1bc3b66535 On SLES run depmod for every kernel version for which the modules installed
Signed-off-by: Jan Musial <jan.musial@intel.com>
2021-08-18 11:41:56 +02:00
Robert Baldyga
03d46f9b24 tools: Introduce version2sha helper tool
This tool translates Open CAS version tag into SHA in git repository.
Example:

$ ./tools/version2sha 21.06.0.0520.master
eaa2f54

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-07-21 12:28:08 +02:00
Robert Baldyga
8c2025f307 deb: Add tools required during modules compilation
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-05-11 16:36:01 +02:00
Robert Baldyga
f085081a67 Fix building DEB packages
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-04-30 13:13:29 +02:00
Robert Baldyga
880cfadde9 Makefile: improve uninstall error handling
Introduce helper functions to handle uninstall errors gracefully.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-03-19 15:37:55 +01:00
Robert Baldyga
e58dae02ac Move build system tools to separate directory
Separate tools used internally by build system from utilities that are
part of Open CAS installation package.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-03-19 15:37:55 +01:00