Distro Make

  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Distro Make as PDF for free.

More details

  • Words: 384
  • Pages: 17
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 GNU

 

 

Distribution

Kernel

App. Software

Distribution/Distro App Software

An operating system 

which serves specific purpose. Few examples : Debian Ubuntu Fedora Gentoo

 

Distro a  

Distro b

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 USB­stick 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 debian­live image.  

 

Creating a distro Install live­helper # apt­get install live­helper

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 non­free 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 general­purpose full virtualizer for x86  hardware. Runs on Linux, Macintosh, OpenSolaris and Windows  

 

References

http://debian­live.alioth.debian.org/ http://wiki.debian.org/DebianLive/

 

 

 

 

 

 

Related Documents

Distro Make
May 2020 8
Kiat Memilih Distro Linux
November 2019 16
Top 10 For Distro
October 2019 27
2. Distro Ubuntu
April 2020 21
Que Es Una Distro
November 2019 48