Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
prepare release 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
waynz0r committed Dec 13, 2023
1 parent 5c25fbe commit 0134a74
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ jobs:
- name: Build with DKMS
working-directory: nasp-kernel-module
run: |
sudo cp -r . /usr/src/nasp-0.1.0/
sudo dkms add -m nasp -v 0.1.0
if sudo dkms build -m nasp -v 0.1.0; then
sudo cp -r . /usr/src/nasp-0.3.0/
sudo dkms add -m nasp -v 0.3.0
if sudo dkms build -m nasp -v 0.3.0; then
echo "DKMS build succeeded"
else
echo "DKMS build failed"
cat /var/lib/dkms/nasp/0.1.0/build/make.log
cat /var/lib/dkms/nasp/0.3.0/build/make.log
exit 1
fi
sudo dkms install -m nasp -v 0.1.0
sudo dkms install -m nasp -v 0.3.0
- name: Build Nasp CLI
working-directory: nasp
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,13 @@ sudo dnf install --enablerepo epel dkms
The NASP can be installed with DKMS in the following way currently:

```bash
sudo git clone --recurse-submodule https://github.com/cisco-open/nasp-kernel-module.git /usr/src/nasp-0.1.0/
sudo git clone --recurse-submodule https://github.com/cisco-open/nasp-kernel-module.git /usr/src/nasp-0.3.0/

# Add the kernel module to the DKMS source control
sudo dkms add -m nasp -v 0.1.0
sudo dkms add -m nasp -v 0.3.0

# Build and install the kernel module against the current kernel version
sudo dkms install -m nasp -v 0.1.0
sudo dkms install -m nasp -v 0.3.0

# Load the kernel module
sudo modprobe tls # required for kTLS
Expand All @@ -212,8 +212,8 @@ Un-installation is very simple as well:
sudo modprobe -r nasp

# Remove the kernel module from DKMS source control
sudo dkms uninstall -m nasp -v 0.1.0
sudo dkms remove -m nasp -v 0.1.0
sudo dkms uninstall -m nasp -v 0.3.0
sudo dkms remove -m nasp -v 0.3.0
```

### Debian package
Expand All @@ -237,5 +237,5 @@ make deb
The package can be installed with the following command:

```bash
sudo apt install ../nasp-kernel-module_0.1.0-1_all.deb
sudo apt install ../nasp-kernel-module_0.3.0-1_all.deb
```
11 changes: 11 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
nasp-kernel-module (0.3.0) unstable; urgency=medium

* remove the module on package removal
* add tls as module dependency
* fix MODULE_AUTHOR
* vscode template fixes
* change module description
* fix C Flexible array members (FAM) declaration

-- Nasp maintainers <[email protected]> Wed, 13 Dec 2023 18:19:36 +0000

nasp-kernel-module (0.2.0) unstable; urgency=medium

* Second release.
Expand Down
2 changes: 1 addition & 1 deletion dkms.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACKAGE_NAME="nasp"
PACKAGE_VERSION="0.1.0"
PACKAGE_VERSION="0.3.0"
MAKE[0]="make"
BUILT_MODULE_NAME[0]="nasp"
BUILT_MODULE_NAME[1]="bearssl"
Expand Down

0 comments on commit 0134a74

Please sign in to comment.