Git Product home page Git Product logo

kvaser-deb's Introduction

Debian Package Generation Scripts for Kvaser Linux Drivers and SDK

Usage

The scripts in this repo are meant to be used inside a docker container. Before releasing new versions of anything, update the following changelogs:

  • canlib/debian-canlib/changelog
  • linlib/debian-linlib/changelog
  • drivers/kvaser-drivers-dkms-mkdsc

The information for the changelog updates can be found in the kvaser-linuxcan source under doc/ReleaseNotes.

Once the changelogs are updated, you are ready to perform the release:

  1. After starting a container of your choosing, first install all required dependencies:

     bash install_dependencies.bash
    
  2. Release kvaser-canlib-dev:

     bash package-canlib.bash [optional version tag/commit] [optional version suffix] [optional 'upload' flag]
     example:
     bash package-canlib.bash 5.35.477 0 upload
    
  3. Release kvaser-linlib-dev:

     bash package-linlib.bash [optional version tag/commit] [optional version suffix] [optional 'upload' flag]
     example:
     bash package-linlib.bash 5.35.477 0 upload
    
  4. Release kvaser-drivers-dkms:

     bash package-drivers.bash [optional version tag/commit] [optional version suffix] [optional 'upload' flag]
     example:
     bash package-drivers.bash 5.35.477 0 upload
    

The order of the above commands does matter as linlib depends on canlib.

NOTE: dput seems flakey with ftp uploads. If the dput upload seems to stall, you may want to try running dput outside of the docker container from the kvaser-deb/BUILD directory. You may also consider configuring dput to use sftp instead of ftp.

Installation of the generated packages

  • astuff/kvaser-linux:
    • $ sudo apt-add-repository ppa:astuff/kvaser-linux
    • $ sudo apt install kvaser-canlib-dev kvaser-linlib-dev kvaser-drivers-dkms

Related Documentation

Debian package files: https://www.debian.org/doc/manuals/maint-guide/dreq.en.html https://www.debian.org/doc/manuals/maint-guide/dother.en.html

Ubuntu Launchpad packaging details: https://help.launchpad.net/Packaging/PPA/BuildingASourcePackage

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.