FOSSMeet 2017

FOSSMeet is an annual event at NIT Calicut that brings together the Free and Open Source Community from around the country.

Workshop on Debian Packaging

Submitted by Sruthi Chandran (@srud) on Sunday, 13 November 2016

videocam_off

Technical level

Intermediate

Status

Submitted

Vote on this proposal

Login to vote

Total votes:  +5

Abstract

This will be a hands-on session as a follow-up of “What, how and why of Debian packaging” session

Initially, steps in packaging will be demonstrated by packaging one nodejs-module (server-side js).

In the second stage, tasks will be assigned to the attendees which they have to do individually.

Outline

Demonstration:
Tools used in packaging
Steps in packaging

Actual Packaging

Requirements

  1. You MUST have attended the session “What, how and why of Debian packaging”

  2. You MUST have a debian unstable system (physical, virtual machine or a container) If you already have a GNU/Linux system, lxc would be the easiest to setup sudo apt-get install lxc && lxc-create -n debian-sid -t debian — -r sid

See http://blog.scottlowe.org/2013/11/25/a-brief-introduction-to-linux-containers- with-lxc/ for more info on using lxc. You’ll have to use lxc-attach instead of lxc-console to connect to the container. Create a new user with adduser and switch to that user with su - <username>.

  1. Install packaging tools
    # apt-get install dh-make gem2deb npm2deb

  2. Understand how a basic command line program is created and installed using a simple Makefile
    See https://git.fosscommunity.in/praveen/hello for an example

  3. Get a basic overview of packaging from Debian New Maintainer’s Guide
    https://www.debian.org/doc/manuals/maint-guide/

Speaker bio

I am basically a Librarian who got introduced to Debian just an year back - currently a Debian Maintainer.

I have packaged more than 100 Debian packages which includes node-modules, ruby-gems and fonts.

I have also conducted a couple of packaging workshops including one in Amal Jyothi College of Engineering, in addition to the general mentoring activity.

Comments

Login with Twitter or Google to leave a comment