Differences between revisions 1 and 2
Revision 1 as of 2007-03-24 14:42:58
Size: 891
Editor: HectorOron
Comment: Initial import
Revision 2 as of 2007-03-27 01:19:40
Size: 1509
Editor: wookey
Comment:
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
After you got the tools, you have to setup an emdebian environment. This will ask you where you want to build packages, and your username for emdebain svn access if you have one. It will also ask if you want to use apt-get or aptitude for package downloading.

After you got the tools, you have to setup an emdebian environment. This sets up the ~/.dpkg-cross dir which contains apt caches and config.
Line 31: Line 33:

now you can run
{{{emsource <package>}}} to get a debian package, unpack it and apply any emdebian patches. This is roughly equivalent to {{{dpkg-source -x}}} in mainstream debian.

Now you can cd into the package dir and do
{{{emdebuild}}} to actually build the package, installing build dependencies as needed with apt-get or aptitude.

Emdebian Quick Start

This is intended to be a quick guide on Emdebian.

Emdebian-tools

You will need to download a package called emdebian-tools, either from Debian repositories or Emdebian repository.

$ sudo apt-get install emdebian-tools apt-cross dpkg-cross

This will ask you where you want to build packages, and your username for emdebain svn access if you have one. It will also ask if you want to use apt-get or aptitude for package downloading.

After you got the tools, you have to setup an emdebian environment. This sets up the ~/.dpkg-cross dir which contains apt caches and config.

$ emsetup --verbose --simulate
# check that the output is acceptable, nothing changed yet.
$ emsetup

If ~/.dpkg_cross/cross_compile isn't fully configured yet, (hint in the manpage), then emsetup requests the use of --arch to determine the target architecture:

$ emsetup -v -s --arch m68k
# check that the output is acceptable, nothing changed yet.
$ emsetup -a m68k

now you can run emsource <package> to get a debian package, unpack it and apply any emdebian patches. This is roughly equivalent to dpkg-source -x in mainstream debian.

Now you can cd into the package dir and do emdebuild to actually build the package, installing build dependencies as needed with apt-get or aptitude.

You could check some documentation at [http://linux.codehelp.co.uk/emdebian/man/ Emdebian Manual]


CategoryEmdebian