Skip to content

Commit

Permalink
Update README.md: Fixing typos
Browse files Browse the repository at this point in the history
step 2 section: Include debhelper as a requirement for debian packaging
step 5 section: Blankspace between "-" and "v" in version option (instead of  "-v ")
step 7 section: Extra ")" in all dkms commands.
  • Loading branch information
TheRedTrainer authored Jan 17, 2018
1 parent 0cbcbb2 commit 9dfaf22
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions dkms-packaging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@ The `dkms-packaging` directory includes all the files required by DKMS in order

# How to Build DSC/DEB/RPM Packages Using DKMS

1. Download the official release .ZIP file (from http://jool.mx/en/download.html or https://github.com/NICMx/Jool/) and extract the Jool directories. It is recommended to change to lowercase the name of the Jool directory from "Jool-3.5.3" to "jool-3.5.3".
1. Download the official release .ZIP file (from http://jool.mx/en/download.html or https://github.com/NICMx/Jool/) and extract the Jool directories. It is required to change the name of Jool directory using the following format: jool-VERSION (e.g. jool-3.5.3). The name "jool" should start with lowercase, followed by a hyphen and the version.

2. Install all the requirements for Jool (including DKMS)
2. Install all the requirements for Jool (including DKMS). Debian also requires debhelper in order to build the debian package.

3. If you want to build a RPM package, copy the `rpm/jool-dkms-mkrpm.spec` file into Jool directory. If you want to build a deb/dsc debian package, copy the `jool-dkms-mkdeb/` or `jool-dkms-mkdsc/` directories from `deb/` into Jool.

4. Copy the Jool directory into `/usr/src/`.

5. Add Jool to the DKMS tree:

dkms add -m jool - v <jool_version>
dkms add -m jool -v <jool_version>

6. Build Jool

dkms build -m jool -v <jool_version>

7. Create the package rpm/deb/dsc package:

RPM: dkms mkrpm -m jool -v <jool_version>) --source-only
DEB: dkms mkdeb -m jool -v <jool_version>) --source-only
DSC: dkms mkdsc -m jool -v <jool_version>) --source-only
RPM: dkms mkrpm -m jool -v <jool_version> --source-only
DEB: dkms mkdeb -m jool -v <jool_version> --source-only
DSC: dkms mkdsc -m jool -v <jool_version> --source-only
NOTE: If you want to build the dsc package for a specific Ubuntu release, it is necessary to modify the following line in 'deb/jool-dkms-mkdsc/debian/changelog' file:

Expand Down

0 comments on commit 9dfaf22

Please sign in to comment.