From cdfd904b3fa120510992bd598a2ed9966f0dc25e Mon Sep 17 00:00:00 2001 From: Wookey Date: Tue, 28 Jul 2009 03:01:51 +0100 Subject: Updated slides for debconf9 BOF Signed-off-by: Wookey --- deps.dot | 1 + emdebian.mdwn | 74 ++++++++++++++++++++++++++++++++++++++++------------------- pkgdeps.dot | 9 +++++--- 3 files changed, 58 insertions(+), 26 deletions(-) diff --git a/deps.dot b/deps.dot index be89fc4..2f0c53f 100644 --- a/deps.dot +++ b/deps.dot @@ -1,4 +1,5 @@ digraph G { + size="8,10" rank=same {linker kernel_headers libc_src cc_src} linker [color="blue", label="$TRIPLET $LINKER\n(binutils-mips-linux-gnu)"] kernel_headers [color="blue", label="$ARCH $KERNEL headers\n(linux-libc-dev-mips-cross)"] diff --git a/emdebian.mdwn b/emdebian.mdwn index ba3f020..b7b9cb0 100644 --- a/emdebian.mdwn +++ b/emdebian.mdwn @@ -1,51 +1,79 @@ -% Emdebian BoF - quick review and discussion +% Emdebian BoF - review and discussion % Wookey & Héctor Orón % DebConf9, July 2009 +# BOF purpose + +Cover emdebian current issues, decide 'roadmap', try to leave detailed +cross-compiling stuff to Cross-compiling talk tomorrow, 11am. + # Progress this year * grip and crush(for arm) released along with lenny * grip being used commercially - * toolchains now building gcc-4.4 + * toolchains building gcc-4.4 + * dpkg-vendor support has been added + +And progress this week -# Debian changes + * auto-building toolchain(s) in debian itself + * start with x86/amd64 -> arm + * sh is now dash + * multiarch changes agreed, including cross-deps. - * dpkg-vendor support has been added - * Default shell changed to dash +# Subjects + + * Cross-tools + * Crush Code audit + * Crush vs. Grip + * Debian-variation management # Crush Code Audit -Everyone get involved. +Examine what we changed for crush and how to avoid changing it there. +Everyone can get involved. Install emdebian tools, pick a package, emsource it and see if it works. Look if patches can be incorporated into main package -and/or re-implemented using deb_vendor. +and/or re-implemented using deb_vendor/dpkg-vendor. + +http://wiki.debian.org/EmdebianAuditHowTo +http://wiki.debian.org/EmdebianCodeAudit + # dpkg-cross - * cmake support in dpkg-cross - can we move it? - * autoconf support in dpkg-cross - * transition to multiarch - dpkg going away, but need it for a while. + * cmake support working - needs refining + * autoconf support - where should it go? + * transition to multiarch - dpkg-cross going away, but need it during +transition # cross-tools - * Uninstalability is a problem - * new plan for autobuilt toolchains -![](images/cross.pdf + * Uninstalability is a problem - what to do + * There is now a plan to build them in Debian proper + +# Cross-tools dependencies + +![](pkgdeps.gif) + +# Build plan + +![](deps.gif) # multiarch changes things * cross-building - OK for debian, not for variants - needs sysroot/chroot - * dependencies stuff all changes - now install foregn arch stuff + * dependencies stuff all changes - now install foreign arch stuff directly, not convert it to build arch. +# roadmap -# cross-building - * hapening in Debian/ubuntu for toolchains - * we need eqivalent of pbuilder-satisfy-depends - * apt-cross does not work well enough - how do we fix? - -please dive in - plenty to do :-) + How to order these things? + * Crush Code audit + * multiarch toolchain changes + * using dpkg-vendor + * fixing apt-cross + + please dive in - plenty to do :-) -;# Multi-Arch: -; -;![](images/multiarch.jpg) +http://www.emdebian.org/ diff --git a/pkgdeps.dot b/pkgdeps.dot index 81b6587..9380b2f 100644 --- a/pkgdeps.dot +++ b/pkgdeps.dot @@ -1,4 +1,5 @@ digraph G { + size="8,10" rank=same {linker_src kernel_src libc_src cc_src cc_x_src} linker_src [color="blue", label="$LINKER source\n(binutils-source)"] kernel_src [color="blue", label="$KERNEL source\n(linux-source-2.6.30)"] @@ -12,8 +13,9 @@ digraph G { kernel_headers_build [color="red", label="$ARCH $KERNEL headers\n(linux-libc-dev-mips-cross)"] kernel_headers [color="blue", label="$ARCH $KERNEL headers\n(linux-libc-dev-mips-cross)"] - cc_build [color="red", label="$TRIPLET $CC\n(gcc-4.4-mips-linux-gnu)"] - cc [color="blue", label="$TRIPLET $CC\n(gcc-4.4-mips-linux-gnu)"] + cc_build [color="red", label="1st stage $TRIPLET $CC\n(gcc-4.4-mips-linux-gnu)"] + /*cc [color="blue", label="1st stage $TRIPLET +$CC\n(gcc-4.4-mips-linux-gnu)"]*/ cc_lib [color="blue", label="$TRIPLET $CC library\n(libgcc1-mips-linux-gnu)"] libc [color="blue", label="$TRIPLET $LIBC\n(libc6-mips-linux-gnu)"] @@ -31,7 +33,7 @@ digraph G { kernel_headers -> cc_build [color="blue"] libc_src -> cc_build [color="blue"] - cc_build -> cc [color="red"] +/* cc_build -> cc [color="red"] */ cc_build -> cc_lib [color="red"] cc_build -> libc [color="red"] @@ -39,6 +41,7 @@ digraph G { linker -> cc_x_build [color="blue"] kernel_headers -> cc_x_build [color="blue"] cc_lib -> cc_x_build [color="blue"] + libc -> cc_x_build [color="blue"] cc_x_build -> cc_x [color="red"] -- cgit v1.2.3 From 39908a0c760f683d8beeeb4b22fd2b03156e7d6a Mon Sep 17 00:00:00 2001 From: Wookey Date: Tue, 28 Jul 2009 03:08:06 +0100 Subject: and some more Signed-off-by: Wookey --- emdebian.mdwn | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/emdebian.mdwn b/emdebian.mdwn index b7b9cb0..d338698 100644 --- a/emdebian.mdwn +++ b/emdebian.mdwn @@ -68,10 +68,11 @@ transition # roadmap How to order these things? + * Crush Code audit - * multiarch toolchain changes - * using dpkg-vendor - * fixing apt-cross + * Multiarch toolchain changes + * Using dpkg-vendor + * Fixing apt-cross please dive in - plenty to do :-) -- cgit v1.2.3