[LEDE-DEV] Suggested resolution to problem: OpenWRT box gets overfilled with a package, no space left on device
Ludwig Jaffe
ludwig.jaffe at gmail.com
Sun Apr 22 22:30:00 PDT 2018
Problem: OpenWRT box gets overfilled with a package, no space left on device
and no good clean up.
Suggestion:
opkg installes to /tmp/staging which is ramdisk
then it says du -c /tmp/staging
and df /overlay
then compare if the last line of df has a bigger number
then du -c /tmp/staging.
If yes, then mv /tmp/staging/* /
in no, write "staging failed, package to big. Free $df - $du-c bytes and
try again"
Do you like the algorithm above?
Should it be implemented as a wrapper script?
Cheers,
Ludwig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0xF8804DAF.asc
Type: application/pgp-keys
Size: 3152 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20180423/c6ce9f23/attachment.bin>
More information about the Lede-dev
mailing list