SDK 2.0: The TMPDIR ... can't be located on nfs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SDK 2.0: The TMPDIR ... can't be located on nfs

3,074 Views
z_v
Contributor I

Hello,

After running bitbake fsl-image-minimal I'm getting the following error:

ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    The TMPDIR: /6113_sw/module/MY_CARD/linux/toolchain/QorIQ-SDK-V2.0-20160527-yocto/build_ls1021atwr/tmp can't be located on nfs.

Can you help ?

I do not need the folder to be NFS accessible.

Thank you,

Z.V

0 Kudos
1 Reply

1,562 Views
Pavel
NXP Employee
NXP Employee

Check SDK installing sequence.

We usually use the following command sequence for SDK installing under Ubuntu 14.04 and Ubuntu 16.04:

 

  1. sudo apt-get install ubuntu-minimal ubuntu-standard patch vim-common sed wget subversion git-core coreutils libbonobo2-common unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk python-pysqlite2 diffstat make gcc build-essential xz-utils g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev autoconf automake groff libtool xterm libncurses5-dev cvs tofrodos

 

  1. a) command: ls -l /bin/sh

                Message:  /bin/sh -> dash

  1. b) command: sudo dpkg-reconfigure dash

                Answer after password – No

                Message:

                Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'

                Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'

                Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'

                Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'

  1. c) command for checking: ls -l /bin/sh

                Message: /bin/sh -> bash

 

  1. install SDK cache:
  2. install SDK source
  3. cd <sdk-install-dir>.
  4. ./sources/meta-freescale/scripts/host-prepare.sh

Usually Linux recommends also run the following command: sudo usr/sbin/visudo

  1. bitbake fsl-image-minimal

Have a great day,
Pavel Chubakov

0 Kudos