Professional Documents
Culture Documents
Distro Make
Distro Make
Kernel, GNU, Distribution ???
providing secure access to the machine's hardware and to various computer process
m softwares and application softwares.
m comprising the Linux kernel, the GNU operating system (or most of it), other ass
Kernel
GNU
Distribution App. Software
Distribution/Distro
App Software
An operating system
which serves specific
purpose.
Few examples :
Debian
Ubuntu
Fedora
Distro a Distro b
Gentoo
Debian Releases
Stable ( Etch )
current release that has stable and well tested software.
Testing ( Lenny )
is what the next major release will be and is currently
being tested.
Unstable ( Sid )
contains packages currently under development; it is
updated continuously.
Live helper(lh)
A utility to build CD,DVD,netboot and USBstick live
images of Debian.
Allows interested parties to create their own system
completely specific to their needs.
Supports
multiple architectures
Custom package lists
scripts
Each helper script is given simple and specific
task.
Main scripts
lh_config
lh_bootstrap
lh_chroot
lh_binary
lh_source
lh_build
(cont.)
lh_config
Is to make sure that the configuration files exist for the
other lh_scripts to source.
lh_build
Responsible for calling all of the lh_* scripts that are
responsible for creating and building a debianlive image.
Creating a distro
Install livehelper
# aptget install livehelper
Involves calling two scripts,
lh_config and lh_build.
Creating a distro
Prepare your working directory & become root
Run lh_config script
Make appropriate changes in the following files
present in config folder
bootstrap file
chroot file
common file
Variables in bootstrap file
lh_mirror_bootstrap “ [ specify the mirror ] “
lh_mirror_chroot “ [ specify the mirror ] “
lh_mirror_binary “ [ specify the mirror ] “
lh_ sections “main nonfree contrib”
Variables in chroot file
lh_interactive=”enabled”
lh_linux_flavours=”486 686”
Variables in common file
lh_debconf_front=”interactive”
(cont.)
# cd ..
Run lh_build
Interactive shell is invoked.
Install third party packages if needed.
Type exit to come out of the interactive shell.
Build process continues.
Iso image will be created.
Test it with virtual box or qemu.
Virtualization
allows an unmodified operating system with all of its
installed software to run in a special environment, on
top of your existing operating system.
Host Physical computer
Guest – Virtual machine(Thinks running on real m/c)
Virtual Box
It is a generalpurpose full virtualizer for x86
hardware.
Runs on
Linux,
Macintosh,
OpenSolaris and
Windows
References
http://debianlive.alioth.debian.org/
http://wiki.debian.org/DebianLive/