Differences between revisions 2 and 31 (spanning 29 versions)
Revision 2 as of 2007-03-27 01:19:40
Size: 1509
Editor: wookey
Comment:
Revision 31 as of 2010-05-31 13:48:29
Size: 1919
Editor: NeilWilliams
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Emdebian Quick Start = = Emdebian Crush Quick Start =
Line 3: Line 3:
This is intended to be a quick guide on Emdebian. This is intended to be a quick start guide to Emdebian and ([[DebPkg:emdebian-crush|emdebian-crush]]).
Line 5: Line 5:
== Emdebian-tools == Crush is the cross-built flavour of Emdebian with functional differences to standard Debian. Only ARM (OABI) packages exist for Crush 1.0 and there are significant problems adding any other architectures. Crush development is on hold until after squeeze release.
Line 7: Line 7:
You will need to download a package called emdebian-tools, either from Debian repositories or Emdebian repository. See [[http://www.emdebian.org/grip|the Emdebian website]] for more on Emdebian Grip - the flavour of Emdebian that is binary-compatible with standard Debian and available for seven architectures, arm, armel, mips, mipsel, powerpc, i386 and amd64.

<<TableOfContents>>

emdebian-tools is only available now in Debian stable. In Debian unstable (and soon in testing), Crush is built using normal Debian build tools and then post-processed using the scripts in [[DebPkg:emdebian-grip|emdebian-grip]] and configuration files from [[DebPkg:emdebian-crush|emdebian-crush]].

See also EmdebianRootfs and [[Multistrap|Multistrap]].

== Install pdebuild-cross ==
Line 10: Line 18:
$ sudo apt-get install emdebian-tools apt-cross dpkg-cross $ sudo apt-get install pdebuild-cross
$
sudo pdebuild-cross-create
Line 13: Line 22:
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. == Customised Emdebian sources ==
Line 15: Line 24:
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. Emdebian keeps a few packages in customised versions, where such customisations will provide suitable functional differences and dependency changes. Alternatively, you can use your own modified packages.

These steps are still experimental. In time, source packages will be available to download. For now, [[http://www.emdebian.org/svn/browser/current/target|some packages are available from SVN]].

Once you have the sources, {{{cd}}} into the package directory and cross-build.
Line 18: Line 31:
$ emsetup --verbose --simulate
# check that the output is acceptable, nothing changed yet.
$ emsetup
$ cd /path/to/foo-0.1.23.4
$ pdebuild-cross
Line 23: Line 35:
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:
The next stage is the [[EmdebianGuide| Emdebian Developer Guide]].
Line 27: Line 37:
{{{
$ emsetup -v -s --arch m68k
# check that the output is acceptable, nothing changed yet.
$ emsetup -a m68k
}}}
----
Line 33: Line 39:
## This page is referenced from http://www.emdebian.org/docs.html
CategoryPermalink
Line 34: Line 42:
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]
----

Emdebian Crush Quick Start

This is intended to be a quick start guide to Emdebian and (emdebian-crush).

Crush is the cross-built flavour of Emdebian with functional differences to standard Debian. Only ARM (OABI) packages exist for Crush 1.0 and there are significant problems adding any other architectures. Crush development is on hold until after squeeze release.

See the Emdebian website for more on Emdebian Grip - the flavour of Emdebian that is binary-compatible with standard Debian and available for seven architectures, arm, armel, mips, mipsel, powerpc, i386 and amd64.

emdebian-tools is only available now in Debian stable. In Debian unstable (and soon in testing), Crush is built using normal Debian build tools and then post-processed using the scripts in emdebian-grip and configuration files from emdebian-crush.

See also EmdebianRootfs and Multistrap.

Install pdebuild-cross

$ sudo apt-get install pdebuild-cross
$ sudo pdebuild-cross-create

Customised Emdebian sources

Emdebian keeps a few packages in customised versions, where such customisations will provide suitable functional differences and dependency changes. Alternatively, you can use your own modified packages.

These steps are still experimental. In time, source packages will be available to download. For now, some packages are available from SVN.

Once you have the sources, cd into the package directory and cross-build.

$ cd /path/to/foo-0.1.23.4
$ pdebuild-cross

The next stage is the Emdebian Developer Guide.


CategoryPermalink

CategoryEmdebian