Closed GoogleCodeExporter closed 9 years ago
This is definitely still the case in the master branch of opkg.
This should be addressed as part of the caching improvements for the v0.3.0
release.
Original comment by paul.betafive
on 7 Aug 2014 at 12:14
I think that by default local files should not be copied into the cache.
However, a new option should be added named "cache_local_files" to change this
behaviour. So if the line "option cache_local_files 1" is added to the config
file, local files will be copied into the cache before use. How does that sound?
Original comment by paul.betafive
on 16 Sep 2014 at 2:53
I think that option would work. Since this option would be an easy one to
forget about, I'd suggest adding it commented out to the default opkg.conf.
Possible example:
# Enable downloading of local files to cache. Without this option, local files
# will not be downloaded to cache even with "--download-only" option.
# option cache_local_files 1
Original comment by evensonb...@gmail.com
on 29 Sep 2014 at 1:12
A default conf file is not shipped with opkg. If you're using OpenEmbedded, I
think the default conf file includes the contents of
'meta/recipes-devtools/opkg/opkg-collateral/opkg.conf.comments' within
openembedded-core. It may be a good idea to submit a patch against this file
once opkg v0.3.0 is released and is in use by OpenEmbedded.
Original comment by paul.betafive
on 11 Oct 2014 at 1:50
This feature is now implemented on the master branch (commit ID f9022a8) as
described in comment #2. If cache_local_files is not set, symlinks are created
in the cache directory to keep the code paths within opkg clean.
Original comment by paul.betafive
on 12 Oct 2014 at 10:29
Original issue reported on code.google.com by
evensonb...@gmail.com
on 25 Jul 2014 at 2:30