Create a Chakra-LiveMedia
From The Chakra Project - Wiki
This guide shows you how to create your own Chakra-LiveMedia.
Contents |
Notice
THIS GUIDE IS OUTDATED !!! READ THIS
Get the goodies
First step is to prepare your build-computer to be able to create the live-media. Therefore you have to install some pkgs:
pacman -Sy base-devel cdrkit
If you installed a chakra-dvdimage it might be installed already.
Note: Also keep in mind that you'll need around 8 GB of free space in your [b]/home[/b]-dir to build a live-dvd.
Next step is to download our live-scripts.
Create a folder in your home-dir and download the source:
mkdir ~/DEV
cd ~/DEV
git clone git://git.chakra-project.org/chakra/live-scripts.git
mv live-scripts live-scripts-work
cd live-scripts-work
./1-fullclean.sh
Now you have a clean environment to begin with creating the live-media.
Check your profiles
Take a look into the folder profiles and you will find those profiles already:
- chakra-i686
- chakra-x86_64
- chakra-minimal-i686
- chakra-minimal-x86_64
You can edit them as you like.
Edit your profiles
Those files might interest you
profiles/$PROFILENAME/addedpacks #what gets on and off the disc
profiles/$PROFILENAME/rootoverlay/etc/rc.d/functions.d/sysinit-chakra #modifies version display during boot
profiles/$PROFILENAME/rootoverlay/home/live/.kdemod4/share/config/kickoffrc #modifies kickoff favorites
profiles/$PROFILENAME/rootoverlay/home/live/Desktop #all files in that folder are displayed on the desktop in live-mode
profiles/$PROFILENAME/rootoverlay/usr/share/tribe/config/release_notes.txt #release notes displayed in tribe
profiles/$PROFILENAME/rootoverlay/usr/share/tribe/scripts/job-rcconf-network #decides what networkmanagment get used (wicd/nm)
You can play with the rootoverlay to edit some settings for the live-mode. Original settings will get installed with tribe. Sometimes you need to edit tribe-scripts to fit your purpose.
Create your disc
To create your own live-media run these scripts
Note: Remember to change the path to your local repository after you ran script 3!
./2-build-abs.sh
./3-update-overlay-pkgs.sh
sudo ./4-build-iso.sh
If you wanna create a minimal-live-media run:
./2-build-abs.sh
./3-minimal-update-overlay-pkgs.sh
sudo ./4-minimal-build-iso.sh
Tips and tricks
Tip: To get your ISO booted from USB read this.
Tip: Download binary repositories from here: http://chakra-project.org/temp/prerelease/respin-files/