Comments (5)
I'd make it simple and create a config file with a simple list of packages to be ignored. i.e all core packages should be in the default config file, as you don't want to mess with mlwifi for example in between versions
from opkg-upgrade.
My preferred solution would be to have a single bash var inside a config file that could be sourced by the main program. Seems easy enough, could be an array or a string with package names separated by spaces.
Then we would still need to decide some stuff:
- Where to put this config file
- How to add / remove entries to it (manually editing config files could break the whole script)
- Config files should probably have a default PATH, but having a parameter to set a custom config PATH would be nice
- This enhancement should probably come together with the ability of selecting packages to install (wishlist - #3). Then we could just select the packages to be blacklisted from the list as well. Should have both interactive and non-interactive options if possible.
from opkg-upgrade.
Also, we need to create a default list
of those problematic packages, but that can be tricky as well.
Different versions and archs may have different lists, which will add a lot complexity.
But then other people could contribute with their black lists as well.
from opkg-upgrade.
I guess we should just use uci
for the config.
Makes more sense and is a lot more powerful.
https://openwrt.org/docs/guide-user/base-system/uci
This way we just use uci
to add/read/etc the config file on /etc/config/opkg-upgrade
.
This could also make it easier to create a web interface in the future.
from opkg-upgrade.
i just started play with this feature. Problem arises, when excluded packet is listed in dependencies of other package. My idea is to make "blacklist" as hard suggestion, but not strict reject(or you think it is better to exclude some important updates). But choice can be done with some start parameter
from opkg-upgrade.
Related Issues (13)
- Love this script - cron+email HOT 17
- Just thought I would let you know your script still works OpenWRT 19.07.0 first release candidate HOT 1
- [Contribution] How to run from Luci HOT 2
- Integrating opkg-upgrade in .profile - how to use background checking for new packages HOT 2
- ssmtp is not available on OpenWrt 21.02 and later
- Script ends with cancelled by user HOT 10
- Wish List - 2019/2020/2021/2022/2023 HOT 13
- Package for openwrt HOT 4
- Incorrect statement when no packages need updates HOT 8
- Optional removal of *-opkg from /etc/config after upgrade HOT 2
- Automatically check for new versions of opkg-upgrade HOT 3
- Does opkg: bump to version 2019-06-14 affect us? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opkg-upgrade.