Skip to content

Conversation

@rpavlik
Copy link

@rpavlik rpavlik commented Jan 9, 2026

Signed-off-by: Rylie Pavlik rylie@ryliepavlik.com

📦 Package Details

Maintainer: @s-hamann, @hnyman, @tofurky, @neheb

Description:
There is an unclear reference to handling unknown config fields for driver config files in the wiki. This adjusts the service script so that they actually work.

  • For each value "x" in the per-driver list "other", get the per-driver config variable "other_x", and if it is not empty, write "x = {value of other_x}" to the config file.
  • For each value "x" in the per-driver list "otherflag", get the per-driver config variable "otherflag_x", and if it is true, write "x " to the config file.

I think this should be safe to backport, if desired. I tested it on a stable release device.


🧪 Run Testing Details

  • OpenWrt Version: 24.10.5
  • OpenWrt Target/Subtarget: mediatek/filogic
  • OpenWrt Device: OpenWrt One

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

@rpavlik rpavlik force-pushed the nut-fix-driver-other branch 2 times, most recently from 3a9c385 to 28b0dc9 Compare January 9, 2026 18:50
@rpavlik
Copy link
Author

rpavlik commented Jan 9, 2026

Not sure if the second commit is the right way to document that or if there's a better way that's less likely to become desynced.

I backported these commits along with all the others touching this package from master to 24.10 and rebuilt, and the resulting nut packages work well, I don't know the process or policy for backporting changes, but I would recommend it. See https://github.com/rpavlik/openwrt-packages-fork/tree/nut-backport

@danielfdickinson
Copy link
Contributor

danielfdickinson commented Jan 12, 2026

@rpavlik This repo's policy is to only make changes on master and and then to cherry-pick applicable changes to stable branches. Therefore, could you rebase on master and force-push this PR?

If the changes are already in master, then, could you go the the head of the the openwrt-24.10 branch and git cherry-pick -x <the-commit> ?

Also, I recommend doing openwrt-25.12 before openwrt-24.10.

Finally, please check the 'formalities' error log. There are a few things that need to be addressed.

Otherwise, LGTM.

@rpavlik
Copy link
Author

rpavlik commented Jan 12, 2026

This branch has always been based on master. I updated, rebased, and pushed again, fixing the commit messages.

@danielfdickinson
Copy link
Contributor

Sorry, I misunderstood because of the run testing on 24.10.

@BKPepe @systemcrash This one looks good to me.

@BKPepe
Copy link
Member

BKPepe commented Jan 13, 2026

Please bump PKG_RELEASE in the Makefile.

@danielfdickinson
Copy link
Contributor

Both commits fail these checks:

[fail] Commit subject must start with a lower-case word after the prefix
[fail] Commit message must exist

@systemcrash
Copy link
Contributor

Yeah, get those commit messages fixed.

Also, while you're there, I suppose you could add support for shutdown_delay and usd and upstype. I think something in build_driver_config should do it.

@rpavlik rpavlik force-pushed the nut-fix-driver-other branch from e81131d to 9bebc11 Compare January 20, 2026 19:33
Bump PKG_RELEASE too.

Signed-off-by: Rylie Pavlik <rylie@ryliepavlik.com>
Signed-off-by: Rylie Pavlik <rylie@ryliepavlik.com>
@rpavlik rpavlik force-pushed the nut-fix-driver-other branch from 9bebc11 to f40dc33 Compare January 20, 2026 19:34
@rpavlik
Copy link
Author

rpavlik commented Jan 20, 2026

OK, I bumped PKG_RELEASE and adjusted commit messages. I did not make other changes, to avoid excess conflict with other in-progress nut-related PRs.

@danielfdickinson
Copy link
Contributor

@rpavlik I noticed you still don't have any commit message in one of the commits, and only a notice about PKG_RELEASE bump in the other. This will not pass formalities test.

Since the PR text in the original PR description does not get added to the git history and lives only on GitHub, perhaps you could use the PR description in the appropriate parts of your commits?

Commits should be able to stand alone and for a reasonably competent reader to understand what is going on from only the git log and diff (and full files).

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.

4 participants