Difference between revisions of "Building LinuxMCE 0810"

From LinuxMCE
Jump to: navigation, search
m
Line 44: Line 44:
 
Or, you could do them all in one go with:
 
Or, you could do them all in one go with:
 
  ./prepare.sh
 
  ./prepare.sh
 +
 +
[[User:Posde|posde]] Doing the prepare.sh script produced a hash error. apt-get update and restarting the prepare.sh solved this.
  
 
===Building from source===
 
===Building from source===

Revision as of 22:51, 13 January 2009

For a more in detail description of all the steps involved see Building LinuxMCE 0804

Currently the focus is on getting the following to work completely.

Obtaining, installing and configuring the build scripts

Obtaining.

sudo su -
apt-get install subversion
svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-0810/src/Ubuntu_Helpers_NoHardcode

Installing.

cd Ubuntu_Helpers_NoHardcode
./install.sh
cd /usr/local/lmce-build

Configuring.

cat >/etc/lmce-build/builder.custom.conf <<EOF

# Uncomment to avoid DVD build step[s]
do_not_build_sl_dvd="yes"
do_not_build_dl_dvd="yes"


# Uncomment to create fake win32 binaries
win32_create_fake="yes"

EOF

Preparing for build

cd /usr/local/lmce-build

The preparation steps one at a time:

prepare-scripts/install-build-pkgs.sh
prepare-scripts/cd1-prepare.sh
prepare-scripts/cd2-prepare.sh
prepare-scripts/create-diskless-debootstrap.sh
prepare-scripts/import-external-files.sh
prepare-scripts/preseed-build-pkgs.sh

Or, you could do them all in one go with:

./prepare.sh

posde Doing the prepare.sh script produced a hash error. apt-get update and restarting the prepare.sh solved this.

Building from source

cd /usr/local/lmce-build

All the build steps can be executed seperately:

build-scripts/checkout-svn.sh
build-scripts/import-win32bins.sh
build-scripts/build-replacements.sh
build-scripts/build-makerelease.sh
build-scripts/import-databases.sh
build-scripts/build-maindebs.sh
build-scripts/get-closed-source-debs.sh
build-scripts/create-repo.sh
build-scripts/cd1-build.sh
build-scripts/cd2-build.sh

Or the following script will run them all:

./build.sh