Re: [PATCH 3/5] don't copy busybox to sh, use link instead

2011-04-08 Thread maximilian attems
On Sat, 19 Mar 2011, Michael Tokarev wrote:

 mkinitramfs uses cpio --dereference, so it copies each symlink
 as its target not as symlink.  In order to compensate for that,
 use hard link instead.
 

this is no longer true (see current master).

-- 
maks


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110408111226.gc32...@stro.at



Re: [PATCH 3/5] don't copy busybox to sh, use link instead

2011-03-19 Thread Ben Hutchings
On Sat, 2011-03-19 at 14:02 +0300, Michael Tokarev wrote:
 mkinitramfs uses cpio --dereference, so it copies each symlink
 as its target not as symlink.  In order to compensate for that,
 use hard link instead.
[...]
 + ln -s busybox ${DESTDIR}/bin/sh
[...]

Really?

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


signature.asc
Description: This is a digitally signed message part


Re: [PATCH 3/5] don't copy busybox to sh, use link instead

2011-03-19 Thread Michael Tokarev
19.03.2011 17:00, Ben Hutchings wrote:
 On Sat, 2011-03-19 at 14:02 +0300, Michael Tokarev wrote:
 mkinitramfs uses cpio --dereference, so it copies each symlink
 as its target not as symlink.  In order to compensate for that,
 use hard link instead.
 [...]
 +ln -s busybox ${DESTDIR}/bin/sh
 [...]
 
 Really?

There are 2 patches numbered 3/5 - one of them leaked
from before I rebased the changes on top of Max's branch
(it was in my temp dir from git format-patch).  This one
should be ignored, and it's not present in the git tree
either.

Thanks,

/mjt


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d84e34b.9060...@msgid.tls.msk.ru