All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rod Whitby <rod@whitby.id.au>
To: angstrom-distro-devel@linuxtogo.org
Cc: openembedded-devel <openembedded-devel@openembedded.org>
Subject: Re: [Angstrom-devel] RFC: Add ipkg to minimal image
Date: Sun, 02 Dec 2007 20:38:38 +1030	[thread overview]
Message-ID: <47528426.1040502@whitby.id.au> (raw)
In-Reply-To: <475269FD.60409@student.utwente.nl>

Koen Kooi wrote:
> Rod Whitby schreef:
>> OK, of course the choice of ipkg as the package manager is
>> distro-specific, and depends on the distro including feed configuration
>> (although just having a package manager on hand even without a feed
>> configuration would be a useful addition to a minimal image).
> 
>> So my revised RFC #2 is to add a DISTRO_PACKAGE_MANAGER variable, which
>> DISTROs define 
> 
> DISTRO_PACKAGE_MANAGER is in package-space, so it should only show up in
> R*, right? Sounds like a pretty good idea. As a side note, distros will
> need to do more than that to switch packageformat or packagemanager, but
> that's outside the scope of this discussion.

My proposed patch follows.  Any objections?

============================================================
--- conf/distro/angstrom-2007.1.conf    c6bbfa10816eda24513e92b21827c75003bb4daa
+++ conf/distro/angstrom-2007.1.conf    508cc6d61d863e169c13b5ff0295b66f3608f6de
@@ -224,7 +224,6 @@ EXTRA_STUFF ?= ""


 # Angstrom want to ship some extra stuff. This should be moved into task-base eventually
-# contains ipkg specific stuff as well :(

 #work around a bitbake bug where mtd-utils-native isn't created so do_rootfs fails
 DISTRO_EXTRA_DEPENDS += " \
@@ -235,7 +234,6 @@ DISTRO_EXTRA_RDEPENDS += "\
     update-modules \
     ${@base_contains("MACHINE_FEATURES", "screen", "psplash", "",d)} \
     angstrom-version \
-    ipkg ipkg-collateral \
     util-linux-mount util-linux-umount \
     ${EXTRA_STUFF} \
     ${DEBUG_APPS} \
============================================================
--- packages/images/minimal-image.bb    c74056146aaed6f3e2cd64879f504ea6920efb59
+++ packages/images/minimal-image.bb    dc0caa8692fe8e856f0e752e6d88fe50851fe435
@@ -1,12 +1,14 @@ DISTRO_SSH_DAEMON ?= "dropbear"
 #Angstrom minimalist image
 #gives you a small images with ssh access

 ANGSTROM_EXTRA_INSTALL ?= ""
 DISTRO_SSH_DAEMON ?= "dropbear"
+DISTRO_PACKAGE_MANAGER ?= "ipkg ipkg-collateral"

 IMAGE_INSTALL = "task-boot \
             util-linux-mount util-linux-umount \
             ${DISTRO_SSH_DAEMON} \
+            ${DISTRO_PACKAGE_MANAGER} \
             angstrom-version \
           "

============================================================
--- packages/tasks/task-base.bb 6f33e4ea8083953d24993dca089ae71114f8a639
+++ packages/tasks/task-base.bb 22635c1ee42f15cae81e8d4a5b07e8dea4b07f49
@@ -64,6 +64,11 @@ DISTRO_SSH_DAEMON ?= "dropbear"
 DISTRO_SSH_DAEMON ?= "dropbear"

 #
+# ipkg, or something else
+#
+DISTRO_PACKAGE_MANAGER ?= "ipkg ipkg-collateral"
+
+#
 # pcmciautils for >= 2.6.13-rc1, pcmcia-cs for others
 #
 PCMCIA_MANAGER ?= "${@base_contains('MACHINE_FEATURES', 'kernel26','pcmciautils','pcmcia-cs',d)} "
@@ -82,6 +87,7 @@ RDEPENDS_task-base = "\
     task-distro-base \
     task-machine-base \
     ${DISTRO_SSH_DAEMON} \
+    ${DISTRO_PACKAGE_MANAGER} \
     ${HOTPLUG} \
     \
     ${@base_contains('MACHINE_FEATURES', 'kernel26','task-base-kernel26','task-base-kernel24',d)} \

-- Rod



  reply	other threads:[~2007-12-02 10:12 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-02  1:18 RFC: Add ipkg to minimal image Rod Whitby
2007-12-02  3:57 ` Rod Whitby
2007-12-02  8:17   ` [Angstrom-devel] " Koen Kooi
2007-12-02 10:08     ` Rod Whitby [this message]
2007-12-02 11:31     ` Richard Purdie
2007-12-02 12:54       ` Holger Freyther
2007-12-02 13:17       ` Koen Kooi
2007-12-02 15:35         ` Koen Kooi
2007-12-02 17:22           ` Richard Purdie
2007-12-02 19:13             ` Koen Kooi
2007-12-02 18:45       ` Marcin Juszkiewicz
2007-12-02 18:17 ` Paul Sokolovsky
2007-12-02 20:52   ` Rod Whitby
2007-12-03 15:21     ` Leon Woestenberg
2007-12-04  0:07       ` Rod Whitby

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47528426.1040502@whitby.id.au \
    --to=rod@whitby.id.au \
    --cc=angstrom-distro-devel@linuxtogo.org \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.