checkUpdates() already gets the package list and the list of
upgradables, so it is unnecessary to do this again immediately
afterwards.
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Commit: 45707de09e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-04 (Mon, 04 Jan 2016)
"bad" packages will be ignored later anyway, so to speed things
up and save memory, do not even put them into the package list.
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Commit: 8578218c38
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-04 (Mon, 04 Jan 2016)
In case of many packages, it can take a very long time to output the
matches of badpackage() on a serial console, so only print them if the
verbosity is increased and remove unnecessary information.
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Commit: cb9ec38623
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-04 (Mon, 04 Jan 2016)
Signed-off-by: Thilo Graf <dbt@novatux.de>
You're right but opkg gives not really usable size values and nothing
about dependencies. Solutions are welcome.
Origin commit data
------------------
Commit: dd493eac8a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-04 (Mon, 04 Jan 2016)
checkUpdates() already gets the package list and the list of
upgradables, so it is unnecessary to do this again immediately
afterwards.
Origin commit data
------------------
Commit: 072c411860
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-01 (Fri, 01 Jan 2016)
overwriting the user's configuration with strange stuff is
not nice, so disarm this by renaming the config file :-)
Origin commit data
------------------
Commit: bb8ce41abf
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-01 (Fri, 01 Jan 2016)
"bad" packages will be ignored later anyway, so to speed things
up and save memory, do not even put them into the package list.
Origin commit data
------------------
Commit: 9eeeb08743
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-01 (Fri, 01 Jan 2016)
Just use standard options. If someone wants to change them,
/etc/opkg/opkg.conf is available for that purpose.
Origin commit data
------------------
Commit: 361556a1e3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-01 (Fri, 01 Jan 2016)
In case of many packages, it can take a very long time to output the
matches of badpackage() on a serial console, so only print them if the
verbosity is increased and remove unnecessary information.
Origin commit data
------------------
Commit: 28647d9e3c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-01 (Fri, 01 Jan 2016)
instead of "/var/tuxbox/config" use CONFIGDIR instead.
Origin commit data
------------------
Commit: 910310951e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-01 (Fri, 01 Jan 2016)
This avoids creating of any basic configuration files or directories on
non opkg supported firmware releases.
Origin commit data
------------------
Commit: bea8f5e980
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-29 (Tue, 29 Dec 2015)
To detect bad packages, it must be existing a matching pattern list file.
Path is defined in OPKG_BAD_PATTERN_LIST_FILE.
This gives the option to filter some bad entries in the package listing menue.
NOTE: a sample file you should find here as : "/var/tuxbox/config/bad_package_pattern.list.sample".
If required, remove the ".sample" extension and change the entries for your requirements
Origin commit data
------------------
Commit: 9345f792a7
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-06-11 (Thu, 11 Jun 2015)
It seems some innocent packages could be filtered but without
plausible reason and this should be indicated.
Origin commit data
------------------
Commit: 696c70ae13
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-06-10 (Wed, 10 Jun 2015)
Some deps are currently not really required.
Origin commit data
------------------
Commit: 7aafea5f5d
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-06-08 (Mon, 08 Jun 2015)
Modes were handled with bool values inside manager and this is not really
enough. Now we use the real parameters for more flexibility.
Origin commit data
------------------
Commit: e1e8cb0142
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-28 (Thu, 28 May 2015)
Old files will be remove during installation, so it should
be enough size.
Origin commit data
------------------
Commit: 337cc097c8
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-08 (Sun, 08 Feb 2015)
This fixes unpacking of local and downloaded packages.
Origin commit data
------------------
Commit: 54d3ad261c
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-08 (Sun, 08 Feb 2015)
To calculate the required size for installation here we make a quasi-dry run,
it is a bit awkward, but relatively specific, other solutions are welcome.
We create a temporary test directory and fill it with downloaded or user uploaded package file.
Then we unpack the package and change into temporary testing directory.
The required size results from the size of generated folders and subfolders.
TODO: size of dependencies are not really considered
Origin commit data
------------------
Commit: cceef62661
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-05-23 (Sat, 23 May 2015)
Feeds are saved in opkg config file.
NOTE:Existing config file will be overwrite, so must be reconfigured
via gui.
Source names are strictly numbered src 0...10 (maximmal 10 at the moment)
FIXME: input mask in keyboardinput class is too small for some adresses, large
address names are cutted and makes entries useless
Origin commit data
------------------
Commit: aad5db705f
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-04 (Wed, 04 Feb 2015)
installPackage() has also a new parameter for options,
in this case is --force-reinstall in use.
Origin commit data
------------------
Commit: 14d21fdeec
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-31 (Sat, 31 Jan 2015)