Re: [PATCH 2/2] treewide: remove INITRAMFS check for preinit_main hook

2024-09-05 Thread Elliott Mitchell
Small item, these two patches appear largely independent. Numbering is primarily needed if there are dependencies between patches. As such there seem any need to number these. On Thu, Sep 05, 2024 at 02:42:18PM +0200, Florian Eckert wrote: > The 'preinit' script '/lib/preinit/70_initramfs_test'

Re: [PATCH] gpio-button-hotplug: skip disabled buttons

2024-09-05 Thread Rosen Penev
On Thu, Sep 5, 2024 at 7:33 AM Thomas Richard via openwrt-devel wrote: > > The sender domain has a DMARC Reject/Quarantine policy which disallows > sending mailing list messages using the original "From" header. > > To mitigate this problem, the original message has been wrapped > automatically by

[PATCH] dnsmasq: Make more use of append_addnhosts

2024-09-05 Thread Niklas Söderlund
Instead of duplicating the code around --addn-hosts make use of the existing wrapper function. Signed-off-by: Niklas Söderlund --- package/network/services/dnsmasq/files/dnsmasq.init | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/network/services/dnsmasq/files/

[PATCH] dnsmasq: Add support for hostdir argument

2024-09-05 Thread Niklas Söderlund
Add new UCI list 'hostsdir' allowing the usage of the dnsmasq --hostdir argument while also making sure the path is added to the RO jail for the dnsmasq process. This is useful e.g. in case of manually maintaining a set of host-like files that should be monitored for changes that should be applied

[PATCH] gpio-button-hotplug: skip disabled buttons

2024-09-05 Thread Thomas Richard via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Ignore buttons which are disabled

[PATCH 1/2] base-files: move config_generate to preinit

2024-09-05 Thread Florian Eckert
The mutex file via '/tmp/.config_pending' should prevent the command '/sbin/wifi config' from being called in the ieee80211 hotplug when loading the kernel modules [1]. Since the file '/etc/board.json' does not yet exist and could be incomplete. The '/etc/board.json' file is modified in the '/sbin

[PATCH 2/2] treewide: remove INITRAMFS check for preinit_main hook

2024-09-05 Thread Florian Eckert
The 'preinit' script '/lib/preinit/70_initramfs_test' [1] checks whether the system is running in an 'initramfs'. If this is the case, the loop [2] in which the function is called is exited via a 'break' call. All further 'preinit_main' hooks are no longer processed. Therefore, the check whether we