Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion LICENSE → LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
Copyright(c) 2019-2021 Intel Corporation
# BSD 3-Clause License

Copyright(c) 2019-2022 Intel Corporation

Check failure on line 3 in LICENSE.md

View workflow job for this annotation

GitHub Actions / checkpatch review

ERROR: trailing whitespace
Copyright(c) 2013-2025 Huawei Technologies

Check failure on line 4 in LICENSE.md

View workflow job for this annotation

GitHub Actions / checkpatch review

ERROR: trailing whitespace
Copyright(c) 2026 Unvertical

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Open CAS Linux

[![Build Status](https://github.com/Open-CAS/open-cas-linux/actions/workflows/build-master.yml/badge.svg)](https://github.com/Open-CAS/open-cas-linux/actions/workflows/build-master.yml)
[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](LICENSE)
[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](LICENSE.md)
[![Maintained by Unvertical](https://img.shields.io/badge/maintained%20by-Unvertical-0b5fff)](https://unvertical.com/)

Open CAS accelerates Linux applications by caching active (hot) data to
Expand Down Expand Up @@ -116,8 +116,7 @@ All the development activities of this project take place on this GitHub reposit

## License

Open CAS is distributed on BSD-3-Clause license (see
https://opensource.org/licenses/BSD-3-Clause for full license text).
Open CAS is distributed on [BSD-3-Clause license](LICENSE.md).

Open CAS uses Safe string library (safeclib) that is MIT licensed.

Expand Down
2 changes: 1 addition & 1 deletion ocf
Submodule ocf updated 3 files
+1 −1 .checkpatch.conf
+5 −1 LICENSE.md
+1 −1 README.md
2 changes: 1 addition & 1 deletion tools/pckgen.d/deb/debian/CAS_NAME-modules.install
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
./configure.d/* usr/src/<CAS_NAME>-modules-<CAS_VERSION>/configure.d/
./configure usr/src/<CAS_NAME>-modules-<CAS_VERSION>/
./Makefile usr/src/<CAS_NAME>-modules-<CAS_VERSION>/
./LICENSE usr/src/<CAS_NAME>-modules-<CAS_VERSION>/
./LICENSE.md usr/src/<CAS_NAME>-modules-<CAS_VERSION>/
./version usr/src/<CAS_NAME>-modules-<CAS_VERSION>/
4 changes: 2 additions & 2 deletions tools/pckgen.d/rpm/CAS_NAME.spec
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ fi

%files
%defattr(-, root, root, 755)
%license LICENSE
%license LICENSE.md
%doc README.md
%dir /etc/opencas/
%dir /usr/lib/opencas/
Expand Down Expand Up @@ -177,7 +177,7 @@ fi

%files modules_%{kver_filename}
%defattr(644, root, root, 755)
%license LICENSE
%license LICENSE.md
/lib/modules/%{kver}


Expand Down
5 changes: 3 additions & 2 deletions tools/pckgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,8 @@ deb_control_files_prepare() {
rename_templates "$DEB_SOURCES_DIR/debian/"

# Parsing the CAS license file to fit Debian copyright file format
sed '${/^$/d}' "$CAS_LICENSE" > "$TEMP_DIR/LICENSE.deb.tmp"
# (strip the Markdown heading and any blank lines preceding the text)
sed -e '/^# /d' -e '/./,$!d' -e '${/^$/d}' "$CAS_LICENSE" > "$TEMP_DIR/LICENSE.deb.tmp"
sed -i 's/^$/./' "$TEMP_DIR/LICENSE.deb.tmp"
rm -f "$TEMP_DIR/LICENSE.deb"
while read -r line; do
Expand Down Expand Up @@ -704,7 +705,7 @@ create_temp

### Variables that relates on arguments passed to this script:

CAS_LICENSE="$SOURCES_DIR/LICENSE"
CAS_LICENSE="$SOURCES_DIR/LICENSE.md"
# By default all created packages will be put in:
: ${OUTPUT_DIR:="$SOURCES_DIR/packages"}
# RPM building directories:
Expand Down
Loading