Optware / Optware-ng

279 stars 52 forks source link

buildroot-armeabihf-bootstrap.sh failed to complete - how do I uninstall or manually remove files #312

Open cypherb opened 5 years ago

cypherb commented 5 years ago

Hello,

Today I tried running buildroot-armeabihf-bootstrap.sh on my QNAP TS-431 and quickly realized that my root partition did not have enough space. This caused the bootstrap script to fail with these errors and fill my 60MB / partition.

` ...

C

alllexx88 commented 5 years ago

The easiest way to overcome this is by symlinking /opt to your HDD(s):

drive="/share/MD0_DATA" # Since your QNAP is a multi-drives one; otherwise it would have been "/share/HDA_DATA"

mkdir -p "${drive}/optware/opt"

# make sure you don't have anything important under /opt before proceeding
rm -rf /opt

# create the symlink
ln -s "${drive}/optware/opt" /opt

Now you can re-run the bootstrap.