wendellchao / opkg

Automatically exported from code.google.com/p/opkg
0 stars 0 forks source link

Add ignore-package #147

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Some idea that can enhance opkg as a better one.

Original issue reported on code.google.com by dima@golovin.in on 29 Oct 2014 at 4:08

GoogleCodeExporter commented 9 years ago
Sorry, accidently pressed Enter and posted empty message. Probably, I can not 
edit it anymore.

My idea is to add ignore-package option to config file.

This option is followed by space separated list of package names which are 
prohibited to be installed.
When user asks to install one of the packages from the list or a package that 
depends on a package from the list, opkg should print error and exit.

In my opinion such feature would be good for many users who want to keep their 
routers clean (forbid to install software like python interpreter, xorg 
libraries and all things that are not needed on router, but may be coming as 
dependencies).

Original comment by dima@golovin.in on 29 Oct 2014 at 4:16

GoogleCodeExporter commented 9 years ago
I've already got a patch under review to provide this functionality, based on 
the patch currently in OpenEmbedded 
(http://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/opkg/o
pkg/add-exclude.patch).

Good timing on the request, an improved version of this patch should be merged 
within a week or two.

Original comment by paul.betafive on 29 Oct 2014 at 5:08

GoogleCodeExporter commented 9 years ago
This functionality has been added in master.

Original comment by paul.betafive on 13 Nov 2014 at 12:19