Membangun Pbuilder Untuk Pengembangan BlankOn #Keyring

Pembangunan paket debian diperlukan sebuah kunci untuk menandatangani paket tersebut, nah maka dari itu dibutuhkan sebuah keyring untuk menandatangani sebuuah paket, langsung saja:

Membuat Keuring:

aftian@mahadev:~$ gpg --gen-key
 
 …

Please select what kind of key you want:
   (1) DSA and Elgamal (default)
   (2) DSA (sign only)
   (5) RSA (sign only)
Your selection? 5
RSA keys may be between 1024 and 4096 bits long.
What keysize do you want? (2048) 4096
Requested keysize is 4096 bits
Please specify how long the key should be valid.
         0 = key does not expire
        = key expires in n days
      w = key expires in n weeks
      m = key expires in n months
      y = key expires in n years
Key is valid for? (0)
Key does not expire at all
Is this correct? (y/N) y

 …

Real name: Rahman Yusri Aftian
Email address: aftian@di.blankon.in
Comment:
You are using the `utf-8′ character set.
You selected this USER-ID:
    “Rahman Yusri Aftian <aftian@di.blankon,in”

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
You need a Passphrase to protect your secret key.

 … 

gpg: key XXXXXXXX marked as ultimately trusted
public and secret key created and signed.

gpg: checking the trustdb

 …

Membangun Pbuilder Untuk Pengembangan BlankOn #Pengantar

Lama tidak berkutat dengan BlankOn, akhirnya kangen juga,karena komputer belum terpasang pbuilder jadi kurang enak dalam membangun sebuah paket debian. Apa sih pbuilder itu?

pbuilder constructs a chroot system, and builds a package inside the chroot. It is an ideal system to use to check that a package has correct build-dependencies. It uses apt extensively, and a local mirror, or a fast connection to a Debian mirror is ideal, but not necessary.

“pbuilder create” uses debootstrap to create a chroot image.

“pbuilder update” updates the image to the current state of testing/unstable/whatever

“pbuilder build” takes a *.dsc file and builds a binary in the chroot image.

pdebuild is a wrapper for Debian Developers, to allow running pbuilder just like “debuild”, as a normal user.

itulah pbuilder yang juga digunakan oleh pabrik paket Irgsh (Ir. Robot Gedek, SH) BlankOn.