From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id DF8C361EB2 for ; Tue, 28 May 2013 06:32:28 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id r4S6WTTH017205 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 27 May 2013 23:32:29 -0700 (PDT) Received: from [128.224.162.233] (128.224.162.233) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.2.342.3; Mon, 27 May 2013 23:32:29 -0700 Message-ID: <51A44F8D.90002@windriver.com> Date: Tue, 28 May 2013 14:32:45 +0800 From: ChenQi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Jonathan Liu References: In-Reply-To: X-Originating-IP: [128.224.162.233] Cc: qingtao.cao@windriver.com, "openembedded-core@lists.openembedded.org" Subject: Re: [PATCH 0/2] switch to using busybox instead of tinylogin X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 06:32:29 -0000 Content-Type: multipart/alternative; boundary="------------070100090900060902000706" --------------070100090900060902000706 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit On 05/28/2013 02:25 PM, Jonathan Liu wrote: > On 28 May 2013 15:39, > wrote: > > From: Chen Qi > > > The following changes since commit > 21089515bd18ba18e86ec8f72ff8141b9fb1dea8: > > ref-manual: Added xmlto and dblatex packages for docs > (2013-05-22 17:23:41 +0100) > > are available in the git repository at: > > git://git.pokylinux.org/poky-contrib > ChenQi/tinylogin-busybox > http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/tinylogin-busybox > > Chen Qi (2): > packagegroup-core-boot: use busybox as the default login manager > busybox: enable login/password commands by default > > meta/recipes-core/busybox/busybox-1.20.2/defconfig | 26 > ++++++++++---------- > .../packagegroups/packagegroup-core-boot.bb > | 2 +- > 2 files changed, 14 insertions(+), 14 deletions(-) > > > After switching from tinylogin to busybox, the following commands that > used to be provided by tinylogin are provided by other packages > instead of busybox: > -/bin/login [shadow] > -/sbin/getty [util-linux-agetty] > -/usr/bin/passwd [shadow] > -/usr/bin/su [shadow] > > Perhaps util-linux-agetty and shadow packages have higher alternatives > priority? > The answer seems to be 'yes'. meta/recipes-core/busybox/busybox.inc:ALTERNATIVE_PRIORITY = "50" meta/recipes-extended/shadow/shadow_4.1.4.3.bb:ALTERNATIVE_PRIORITY = "200" meta/recipes-core/util-linux/util-linux.inc:ALTERNATIVE_PRIORITY = "100" //Chen Qi > Regards, > Jonathan --------------070100090900060902000706 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: 8bit
On 05/28/2013 02:25 PM, Jonathan Liu wrote:
On 28 May 2013 15:39, <Qi.Chen@windriver.com> wrote:
From: Chen Qi <Qi.Chen@windriver.com>

The following changes since commit 21089515bd18ba18e86ec8f72ff8141b9fb1dea8:

  ref-manual: Added xmlto and dblatex packages for docs (2013-05-22 17:23:41 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib ChenQi/tinylogin-busybox
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/tinylogin-busybox

Chen Qi (2):
  packagegroup-core-boot: use busybox as the default login manager
  busybox: enable login/password commands by default

 meta/recipes-core/busybox/busybox-1.20.2/defconfig |   26 ++++++++++----------
 .../packagegroups/packagegroup-core-boot.bb        |    2 +-
 2 files changed, 14 insertions(+), 14 deletions(-)

After switching from tinylogin to busybox, the following commands that used to be provided by tinylogin are provided by other packages instead of busybox:
-/bin/login [shadow]
-/sbin/getty [util-linux-agetty]
-/usr/bin/passwd  [shadow]
-/usr/bin/su [shadow]

Perhaps util-linux-agetty and shadow packages have higher alternatives priority?

The answer seems to be 'yes'.

meta/recipes-core/busybox/busybox.inc:ALTERNATIVE_PRIORITY = "50"
meta/recipes-extended/shadow/shadow_4.1.4.3.bb:ALTERNATIVE_PRIORITY = "200"
meta/recipes-core/util-linux/util-linux.inc:ALTERNATIVE_PRIORITY = "100"

//Chen Qi

Regards,
Jonathan

--------------070100090900060902000706--