Bug#612633: initramfs-tools: mkinitramfs creates non working initramfs
On Thu, Feb 10, 2011 at 03:14:25PM +0000, Ben Hutchings wrote:
> On Thu, Feb 10, 2011 at 02:30:54PM +0100, Benedikt Spranger wrote:
> [...]
> > +# make sure that library links are correct and up to date
> > +mkdir -p "$DESTDIR"/etc
> > +cp -ar /etc/ld.so.conf* "$DESTDIR"/etc
> > +ldconfig -r "$DESTDIR" || [[ $UID != "0" ]] && \
> > + echo "ldconfig might need uid=0 (root) for chroot()" >2
> [...]
>
> I think you mean >&2 not >2, right?
good catch, fixed in git, but the ldconfig shouldn't be the game changer.
Reply to: