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

From FOG Project
Jump to: navigation, search
(build FOG file system)
m (Tom-elliott.7271 moved page Build FOG file system with BuildRoot - init.gz to Build FOG file system with BuildRoot: Init is not known simply as init.gz, it's also now (1.x.x) known as init.xz and init_32.xz. Page with init.gz in name is not co...)
(No difference)

Revision as of 22:45, 18 November 2014

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
gzip -9 < output/images/rootfs.ext2 > init.gz
copy init.gz to your FOG server /tftpboot/fog/images/init.gz