diff options
| author | maximilian attems <maks@debian.org> | 2007-06-21 11:51:08 +0200 |
|---|---|---|
| committer | maximilian attems <maks@debian.org> | 2007-06-21 11:51:08 +0200 |
| commit | 879602b218973fc7a5f92874bbaf41ea818fae31 (patch) | |
| tree | c0143e88824508251ac1c61af69db9c1fd931e69 /mkinitramfs | |
| parent | ea411290cf026aa07d8cf4c2a0f8154e0dbde977 (diff) | |
| download | initramfs-tools-879602b218973fc7a5f92874bbaf41ea818fae31.tar.gz initramfs-tools-879602b218973fc7a5f92874bbaf41ea818fae31.zip | |
mkinitramfs: add patch from joeyh fixing arm boot
acked by aurel32:
11:07 <aurel32> maks: I ack the fact to always add libgcc to arm,
init needs libgcc1 for _Unwind_* functions
Diffstat (limited to 'mkinitramfs')
| -rwxr-xr-x | mkinitramfs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mkinitramfs b/mkinitramfs index d8a24fe..e1cf857 100755 --- a/mkinitramfs +++ b/mkinitramfs @@ -261,6 +261,11 @@ copy_exec /sbin/rmmod /sbin mkdir -p "${DESTDIR}/etc/modprobe.d" cp -a /etc/modprobe.d/* "${DESTDIR}/etc/modprobe.d" +# workaround: libgcc always needed on old-abi arm +if [ "$DPKG_ARCH" = arm ] || [ "$DPKG_ARCH" = armeb ]; then + cp -a /lib/libgcc_s.so.1 "${DESTDIR}/lib" +fi + run_scripts /usr/share/initramfs-tools/hooks run_scripts "${CONFDIR}"/hooks |
