Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Feature "devicepackages" #863

Merged
merged 11 commits into from
Jul 18, 2021
Merged

add Feature "devicepackages" #863

merged 11 commits into from
Jul 18, 2021

Conversation

SvenRoederer
Copy link
Contributor

This extends the assemble_firmware.sh script in a way to parse a additional file profile-packages.txt which allows to specify packages that should be installed / removed on a per profile / board basis.
The code is based on the changes of @weimarnetz with minor changes for our flavor of the assemble_firmware.sh. Initially it was intended to fix issue #696 around the ath10k-wave1 chips.
Quickly it turns out that this might also fix issue #838 (additional drivers for boards with integrated xDSL-hardware) and also allows adding mass storage support (SATA, SD-Card) in default images.

This ports the enhancements made by @andibraeu for @weimarnetz (weimarnetz/firmware#7 (comment))
to our imagebuild-script.
The relevant changes have been extracted with `git diff 84e11c1b7b357742df57e4c7f166dd6a51325e2e^..f2cad865b2bcfc6fd700883c3316214b61e5e543`

In contrast to WeimarNetz we use a space separated list of profiles as commandline parameter.
Adding device-packages to each profile will make the commandline use inpractical. So use a
global list for device-packages instead, located in teh packagelists-folder.
…finitions

* accept ":" and ";" als separator
… integrated

This is based on Issue #838 to make the WAN-port configurable in LuCI.
This allows automounting on the integrated SD-slot.
* 1st remove the flavor-suffix
* use the normalized profilename to lookup the profile-packagelist
this causes unterminated strings inside OpenWrts Imagebuilder
…ing at begin of line

This allows to comment out lines.
@SvenRoederer SvenRoederer merged commit abd232b into master Jul 18, 2021
@SvenRoederer
Copy link
Contributor Author

@weimarnetz @andibraeu This PR is based on you recent changes. Probably some of the change also apply to you, e.g b80e691, da82f73. I also added some board-definitions that are not in your list.

@SvenRoederer SvenRoederer deleted the feature_devicepackages branch July 18, 2021 23:35
@andibraeu
Copy link
Member

nice, thank you!

SvenRoederer added a commit to SvenRoederer/freifunk-berlin-firmware that referenced this pull request May 13, 2022
4216c90 batman-adv: Fix build with kernel 5.15.38
50e02d4 Merge pull request freifunk-berlin#863 from ecsv/batadv-2022.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Openwrt 19x: ath10k-ct wifi-driver does not support 802.11s in wave1 devices
2 participants