• Franco Fichtner's avatar
    rc: persistent firmware cache dirs on MFS; closes #924 · 612e039b
    Franco Fichtner authored
    This adds the following directories to avoid problems with
    smaller embedded systems that do not have enough RAM:
    
    	/var/cache/opnsense-update
    	/var/cache/pkg
    
    This is particularly bad for Nano systems with enough RAM
    as it may grind the flash storage, but since this is a
    "luxury" problem with Nano the scope is limited to that.
    It's either being able to upgrade the firmware for all or
    not at all.
    
    FWIW, firmware upgrades will have to move to persistent
    storage as soon as we hit FreeBSD 11 for the simple fact
    that we'll have to do partial upgrade stages for the ABI
    jumps of the kernel / base system anyway and cannot expect
    to fetch more packages after reboot.
    
    Proper garbage collection exists in both tools that shall
    avoid overloading the persistant storage.
    612e039b
Name
Last commit
Last update
Mk Loading commit data...
contrib Loading commit data...
scripts Loading commit data...
src Loading commit data...
work Loading commit data...
+POST_INSTALL Loading commit data...
+PRE_DEINSTALL Loading commit data...
.gitignore Loading commit data...
CONTRIBUTING.md Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...