Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Where do I can find the source code of the screens of the installation process of Debian?

I've tried: apt-get source debian-installer

But in this package I do not see the source code.

To be more specific I'm looking for the source code of this screen:

enter image description here

share|improve this question
    
If you want to know how it's done, almost certainly via ncurses, which has bindings for most high level languages. –  goldilocks Mar 12 at 14:59
    
But, where is the source code? –  Alfredo Pons Menargues Mar 12 at 15:21

1 Answer 1

Debian Installer is actually a bunch of different packages, in several repositories. The Debian Wiki has a page on how to get the Debian Installer source: Make sure mr is installed, and:

svn co svn://anonscm.debian.org/svn/d-i/trunk debian-installer
cd debian-installer
scripts/git-setup
mr -p checkout

Beware it'll take a while, as its ~480MB.

The particular dialog you're interested in comes from:

  • packages/partman-base/debian/partman-base.templates
  • packages/partman-base/choose_partition/*
  • packages/partman-base/display.d/manual_partitioning
  • a bunch of .po files with translations to many, many languages

(The easiest way to find that is with ack-grep...)

Note that it's asked via Debconf, like the rest of the installer. So the same source drives the similar dialog in the graphical installer.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.