Comments (6)
The scripts generates 3 images in total:
First, it uses ImageBuilder to generate the sysupgrade
That's where OPENWRT_UPG_PACKAGES
is being used as a parameter passed to the ImageBuilder as PACKAGES
.
Next, the installer re-packs the initramfs image, removes packages in OPENWRT_REMOVE_PACKAGES
and adds packages on OPENWRT_ADD_REC_PACKAGES
. This is the recovery
image.
Then the installer re-packs the initramfs image, removes packages in OPENWRT_REMOVE_PACKAGES
and adds packages on OPENWRT_ADD_PACKAGES
, and adds files for the installer itself (script, bootloader files, recovery image). This is the installer image
from owrt-ubi-installer.
thx for the answer dangowrt
So if I want to add packages to the image that is installed for the first time (installer image?), I have to add them to OPENWRT_ADD_PACKAGES var.
And what about the package list? Do I have to write both the luci-app and the CLI one? or is the luci-app package enough? I have doubts about what to do with packages like banIP or adblock, if I should indicate "luci-app-banip" alone, or "banip luci-app-banip"
from owrt-ubi-installer.
First run (invisisble, writes bootloader and recovery and reboots): OPENWRT_ADD_PACKAGES
Recovery stage (first time you see web-interface): OPENWRT_ADD_REC_PACKAGES
Final production system (sysupgrade): OPENWRT_UPD_PACKAGES
Regarding how to list packages: In your example, tt's enough to list luci-app-banip
as it depends on banip
and will make sure it's installed. Same for adblock
.
from owrt-ubi-installer.
So, where should I indicate new packages to be included in the final producion system? I understand that i should do it in OPENWRT_UPD_PACKAGES, right?
from owrt-ubi-installer.
Yes it's that variable.
If you just want to generate a sysugprade
image which can be loaded using this installer or an existing OpenWrt installation, you do not need to modify the installer for that. You can just use https://chef.libremesh.org/ or the OpenWrt ImageBuilder directly.
from owrt-ubi-installer.
oks, thank you very much for your help dango :)
from owrt-ubi-installer.
Related Issues (20)
- About upgrade and future maintenance HOT 2
- RT3200 (E8450) looses settings after reboot (initial install) HOT 2
- Emphasis needed to distinguish recovery image and recovery-installer image HOT 1
- Stuck in recovery mode HOT 10
- WiFi 5G is missing HOT 14
- Linksys v1.1.01.272918 can't downgrade HOT 3
- Github CI warns out deprecated `set-output` command HOT 2
- Is it normal? Everything seems to work fine though
- E7350 Support HOT 4
- The image file is incorrect - when trying to downgrade firmware on Belkin RT3200 HOT 1
- updates to instruction
- Solid white power and internet lights
- Connection establishment takes long time HOT 5
- RT new firmware ver.: Ver. 1.2.00.360516 HOT 11
- [question] What's the current flash procedure HOT 1
- Update Pre-Built Files HOT 2
- OpenWRT UBI Installer for more routers HOT 2
- Attended sysupgrade doesn't upgrade to latest OpenWrt version HOT 14
- Flashed *-ubi-squashfs-sysupgrade.itb, router is non-responsive, power light blinking white HOT 2
- no lights when powering on,am i bricked HOT 16
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 owrt-ubi-installer.