Difference between revisions of "Build FOG file system with BuildRoot"

From FOG Project
Jump to: navigation, search
(build FOG file system)
(No difference)

Revision as of 18:56, 20 October 2011

Ubuntu Desktop 11.10

Ubuntu update

sudo apt-get update
sudo apt-get upgrade

install all essential package

sudo apt-get install build-essential subversion libqt4-dev bison flex gettext texinfo zlib1g-dev uuid-dev


Download the FOG source

cd ~/Desktop
mkdir svn 
cd svn 
svn checkout https://freeghost.svn.sourceforge.net/svnroot/freeghost/trunk 


Download Buildroot

cd ..
wget http://buildroot.uclibc.org/downloads/buildroot-2011.08.tar.gz
tar xvfz buildroot-2011.08.tar.gz

Copy source to Buildroot

cp -rf svn/trunk/src/buildroot/* buildroot-2011.08/
cd buildroot-2011.08
mv fog.buildroot.config .config

build FOG file system

make xconfig
make source
make
gzip -9 < output/images/rootfs.ext2 > init.gz
copy init.gz to your FOG server /tftpboot/fog/images/init.gz