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)
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)
Show a success message only if restart/reboot is required and user
should decide what to do or not.
NOTE: marker file should be generated by opkg package itself
(eg. with preinstall scripts), so it's controlled by the package maintainer!
Origin commit data
------------------
Commit: 10debbbfa0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-19 (Fri, 19 Dec 2014)
prepared for use as callback in shell window class, currently
it is not possible to get line output from shellwindow object, this
should help soon
also added ne locales
Origin commit data
------------------
Commit: 4909844ad6
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-10 (Wed, 10 Dec 2014)
Red button already used for upgrades
Origin commit data
------------------
Commit: f270a623e2
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-05 (Fri, 05 Dec 2014)