[PATCH] fastboot: openmoko distro: Customize more.

Chia-I Wu olv at openmoko.com
Tue Nov 18 09:50:36 CET 2008


Remove avahi.  Use hardcoded packages for bluetooth and usbgadget
support.  Prefer initscripts-openmoko over initscripts.
---
 conf/distro/include/angstrom-2007-for-openmoko.inc |    2 --
 conf/distro/openmoko.conf                          |   13 +++++++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/conf/distro/include/angstrom-2007-for-openmoko.inc b/conf/distro/include/angstrom-2007-for-openmoko.inc
index 0c7fe5b..d56b4be 100644
--- a/conf/distro/include/angstrom-2007-for-openmoko.inc
+++ b/conf/distro/include/angstrom-2007-for-openmoko.inc
@@ -230,8 +230,6 @@ DISTRO_EXTRA_RRECOMMENDS += " \
     kernel-module-vfat \
     kernel-module-ext2 \
     kernel-module-af-packet \
-    avahi-daemon \
-    avahi-autoipd \
     openssh-sftp-server \
     "
 
diff --git a/conf/distro/openmoko.conf b/conf/distro/openmoko.conf
index 7be251e..c8a95df 100644
--- a/conf/distro/openmoko.conf
+++ b/conf/distro/openmoko.conf
@@ -34,6 +34,19 @@ DISTRO_FEED_URI ?= "http://downloads.openmoko.org/repository/testing"
 AB_DEPLOY_EXTRA ?= ""
 DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE_ARCH}/${AB_DEPLOY_EXTRA}"
 
+DISTRO_INITSCRIPTS ?= "initscripts-openmoko"
+
+# We try to minimize the distro features in the default image.
+DISTRO_FEATURES = "wifi ppp alsa ext2 vfat usbhost"
+
+# Some features (bluetooth, usbgadget) include packages we do not like.
+# Pick some of the packages manually.
+DISTRO_EXTRA_RDEPENDS += " \
+    bluez-utils \
+    bluez-utils-compat \
+    kernel-module-g-ether \
+    "
+
 # 2.18 seems to break badly on 64-bit systems
 PREFERRED_VERSION_binutils ?= "2.17.50.0.12"
 PREFERRED_VERSION_binutils-cross ?= "2.17.50.0.12"
-- 
1.5.6.5


--zYM0uCDKw75PZbzx
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: inline; filename="0004-fastboot-om-gta02.conf-Set-USE_VT-to-0.patch"



More information about the devel mailing list