~csurbhi/initramfs-tools/event-driven

« back to all changes in this revision

Viewing changes to hooks/busybox

  • Committer: Martin Pitt
  • Date: 2011-07-12 08:30:00 UTC
  • Revision ID: martin.pitt@canonical.com-20110712083000-2eoroo6lwmvkac3v
hooks/busybox: Fix symlinking of /bin/sh to busybox, to work with current
copy_exec() function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
        rm -f ${DESTDIR}/bin/sh
29
29
        rm -f ${DESTDIR}/bin/busybox
30
30
        copy_exec ${BUSYBOXDIR}/busybox /bin/busybox
31
 
        ln -s ${BUSYBOXDIR}/busybox ${DESTDIR}/bin/sh
 
31
        ln -s busybox ${DESTDIR}/bin/sh
32
32
        # klibc's version is just wrong; patch sent upstream by maks
33
33
        rm -f ${DESTDIR}/bin/chroot
34
34
        # klibc's version can't display mounts, which casper needs; fuse