2133
Comment: deleted old (and out commented) lines
|
2190
explained that getting the prompt back without output is good.
|
Deletions are marked like this. | Additions are marked like this. |
Line 32: | Line 32: |
}}} | }}} which means all the build dependencies are full-filed. |
Debian-Installer: Build yourself
HOWTO
Here are the steps to build debian-installer and download required ["udeb"]s:
check out the ["d-i"] sources from ["Subversion"]:
svn co svn://svn.debian.org/svn/d-i/trunk \ debian-installer
- read debian-installer/installer/build/README
Install the build-dependencies on the host system:
apt-get install cdebconf dpkg-dev \ libdebconfclient0-dev \ libdebian-installer4-dev
verify with
dpkg-checkbuilddeps
from the debian-installer/installer/ directory. You will see something like:
you@host:/usr/src/debian-installer/installer $ dpkg-checkbuilddeps dpkg-checkbuilddeps: Unmet build dependencies: grep-dctrl debiandoc-sgml glibc-pic libparted1.6-13 libslang2-pic libnewt-pic libdiscover1-pic libbogl-dev genext2fs (>= 1.3-7.1) mklibs (>= 0.1.15) mkisofs dosfstools syslinux (>= 2.11-0.1) tofrodos bf-utf-source upx-ucl-beta (>= 1:1.91+0.20030910cvs-2)
which means you have to install more build dependency packages. E.g. do
apt-get install grep-dctrl debiandoc-sgml \ syslinux mklibs genext2fs
repeat the builddeps check until you get
you@host:/usr/src/debian-installer/installer $ dpkg-checkbuilddeps you@host:/usr/src/debian-installer/installer
which means all the build dependencies are full-filed.
Create your own sources.list.udeb.local. If you don't have a local Debian mirror:
deb http://ftp.debian.org/debian testing main/debian-installer
You may want to use unstable instead of testing, depending on the version of d-i you are building:
deb http://ftp.debian.org/debian unstable main/debian-installer
- Run "make" to get a list of available targets (in the installer/build directory).
Build an image using one of the build_ targets (build_netboot, all_build, etc).
fakeroot make build_netboot
- Look in dest/ for the completed images.
- Look in apt.udeb for the udebs associated with this d-i
Questions
- how does one build an image which contains a repository, also, like the netinst images contain?
- A: ["DebianInstaller/Modify"]