Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cypherb opened this issue Dec 18, 2018 · 1 comment

Comments

@cypherb
Copy link

cypherb commented Dec 18, 2018

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.

`
...

  • copy_file_chunk: write: No space left on device.
  • opkg_conf_write_status_files: Couldn't close //opt/lib/ipkg/status: No space left on device.
    =================================================================================
    Removing glibc-locale package to save space: this doesn't remove generated /opt/lib/locale/locale-archive
    No packages removed.
    `
    Any help with this issue would be greatly appreciated.

C

@cypherb cypherb changed the title buildroot-armeabihf-bootstrap.sh failed to complete - uninstall or manually move files buildroot-armeabihf-bootstrap.sh failed to complete - how do I uninstall or manually remove files Dec 18, 2018
@alllexx88
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants