Openembedded Core Discussions
 help / color / mirror / Atom feed
From: ChenQi <Qi.Chen@windriver.com>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>,
	openembedded-commits@lists.openembedded.org
Subject: Re: [oe-commits] Chen Qi : busybox: add the ability to split the busybox binary
Date: Mon, 1 Jul 2013 20:34:15 +0800	[thread overview]
Message-ID: <51D17747.6050903@windriver.com> (raw)
In-Reply-To: <CA+chaQcMRE9HZ_pv4YLKEjvYfa2HBFTYL+Tvg6CAWSWnULtRMQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]

On 07/01/2013 03:33 PM, Martin Jansa wrote:
> Hi Chen,
>
> 1) install image created before this change on target device (which 
> doesn't include coreutils, wget and is depending on usable busybox)
> 2) build feeds which include this change
> 3) run  "opkg update && opkg upgrade" on target device (or equivalent 
> in your favorite package manager)
> 4) you'll get unusable (and probably unbootable) system at this point, 
> because /bin/busybox binary from old busybox version was already 
> removed, but u-a symlinks to new /bin/busybox.(no)suid weren't created 
> because "sed" used in u-a doesn't work anymore.
>
> As work around I've used
> ln -s /bin/busybox.nosuid /bin/busybox
> to make old u-a links happy and able to finish postinst in new busybox 
> version.
>
> FWIW: having /bin/busybox -> busybox.nosuid sounds like good idea to 
> have "default" busybox in path for people who're running it directly.
>
> Regards,
>
Hi Martin,

I forgot the on device upgrade issue when I made the patchset.
Thank you for pointing it out.

I did some tests. The on device upgrade did broke with opkg as the 
package manager. RPM does not have this problem.

I'll make a follow-up patch to fix this problem tomorrow.

Thanks a lot,
Chen Qi




[-- Attachment #2: Type: text/html, Size: 2282 bytes --]

      reply	other threads:[~2013-07-01 12:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20130625163758.7F04650176@opal>
2013-06-28 11:56 ` [oe-commits] Chen Qi : busybox: add the ability to split the busybox binary Martin Jansa
2013-07-01  2:14   ` ChenQi
2013-07-01  7:33     ` Martin Jansa
2013-07-01 12:34       ` ChenQi [this message]

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=51D17747.6050903@windriver.com \
    --to=qi.chen@windriver.com \
    --cc=martin.jansa@gmail.com \
    --cc=openembedded-commits@lists.openembedded.org \
    --cc=openembedded-core@lists.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox