hi;

        would it be possible to apply patch in attachment. The problem it
        fixes is related to 64-bit systems, where /lib32 and /lib64 dirs
        are present.

        Otherwise compilation of e.g. standalone kernel modules is not
        possible.

--
Aliaksei

>    Hi
>    We'll be having a brainstorming meeting to get ideas on how to improve
>    the platfrom SDK and it's usability. If you cannot attend the meeting
>    and have some input, please send your thoughts by replying to this
>    mail.
>    Meeting will be held Tuesday 18 September from 9:00 to 10:00 UTC in
>    #mer-meeting @freenode
>    ps. in addtion to sharing thoughts we welcome helping hands to
>    implement and test the improvements :)
>    BR,
>    Timo
--- /srv/mer/sdks/sdk/mer-sdk-chroot.orig       2012-09-10 18:30:46.000000000 
+0300
+++ /srv/mer/sdks/sdk/mer-sdk-chroot    2012-09-10 18:32:50.000000000 +0300
@@ -181,6 +181,16 @@ prepare_mountpoints() {
     mount --bind /var/lib/dbus ${sdkroot}/var/lib/dbus
     mount --bind /var/run/dbus ${sdkroot}/var/run/dbus
 
+    if [ -d /lib32 ]; then
+       mkdir -p ${sdkroot}/lib32
+       mount --bind /lib32 ${sdkroot}/lib32
+    fi
+
+    if [ -d /lib64 ]; then
+       mkdir -p ${sdkroot}/lib64
+       mount --bind /lib64 ${sdkroot}/lib64
+    fi
+
     if [[ $bind_mount_root == "yes" ]] ; then
        echo "Mounting / as /parentroot"
        mkdir -p ${sdkroot}/parentroot

Reply via email to