Pages

Friday 20 April 2007

debianPackaging (for dummies) part two

So now that you built your package you want to put some nice message during its installation...

shell script in the postinstall? Naaahh... it's highly deprecated... debconf is what you're looking for.

debconf is not that complicated thing as debuild is. Clicking the link you get most of the stuff explained.

Just a couple of things:

* remember to declare every variable you use in your templates file
* remember to put dh_installdebconf in your rules file
* if you really want to display that info message that you really want to display put Type: note

1 comment:

  1. Sei veramente diventato un expert !!! Modellato dalle mie mani..... nato dalla mia costola.....

    A proposito: non ti vantare troppo nel curriculum di Linkedin dell'ACE server nè del radius (Radiator ti ricordi???)

    Il tuo blog è affascinante: esiste un modo per crearne uno simile...già mi hai irretito con il pyton (comunque non sono più quello di una volta, non riesco più a fare le due di notte davanti ad un listato)

    ....voglio scappare dall'italia....posso venire in Finlandia con una moglie e due figli ????

    Con affetto

    ReplyDelete