[PATCH V2 1/3] base-files: sysupgrade: add tar.sh with helpers for building archives

2024-02-28 Thread Rafał Miłecki
From: Jo-Philipp Wich This allows building uncompressed tar archives from shell scripts (and compressing them later if needed) Signed-off-by: Rafał Miłecki --- V2: Simplify dd in __tar_print_padding (I still think helper is useful) Hardcode 0/0/ root/root for now as most likely it'll be eno

[PATCH V2 3/3] base-files: sysupgrade: add uci-defaults script disabling services #2

2024-02-28 Thread Rafał Miłecki
From: Rafał Miłecki Disabled services should be kept disabled after sysupgrade. This can be easily handled using a proper uci-defaults script. Extend sysupgrade to check for disabled services, generate uci-defaults script disabling them and include it in backup. Cc: Christian Marangi Cc: Jo-Ph

[PATCH V2 2/3] base-files: sysupgrade: use tar helper to include installed_packages.txt

2024-02-28 Thread Rafał Miłecki
From: Rafał Miłecki Replace mount + overlay with manually built tar archive that gets prepended to the actual config files backup. This allows more flexibility with including extra backup files. They can be included at any paths and don't require writing to flash or mounting an overlay which has

Re: [PATCH V2 1/3] base-files: sysupgrade: add tar.sh with helpers for building archives

2024-02-28 Thread Jo-Philipp Wich
Hi Rafał, comments inline. Sorry for the bikeshedding ahead. ~ Jo [...] + +__tar_print_padding() { + dd if=/dev/zero bs=$1 count=1 2>/dev/null $1 may be 0 which is an invalid value for `bs=`: root@OpenWrt:~# dd bs=0 dd: number 0 is not in 1..2147483647 range A value of "0" is val

[PATCH V3 2/3] base-files: sysupgrade: use tar helper to include installed_packages.txt

2024-02-28 Thread Rafał Miłecki
From: Rafał Miłecki Replace mount + overlay with manually built tar archive that gets prepended to the actual config files backup. This allows more flexibility with including extra backup files. They can be included at any paths and don't require writing to flash or mounting an overlay which has

[PATCH V3 3/3] base-files: sysupgrade: add uci-defaults script disabling services #2

2024-02-28 Thread Rafał Miłecki
From: Rafał Miłecki Disabled services should be kept disabled after sysupgrade. This can be easily handled using a proper uci-defaults script. Extend sysupgrade to check for disabled services, generate uci-defaults script disabling them and include it in backup. Cc: Christian Marangi Cc: Jo-Ph

[PATCH V3 1/3] base-files: sysupgrade: add tar.sh with helpers for building archives

2024-02-28 Thread Rafał Miłecki
From: Jo-Philipp Wich This allows building uncompressed tar archives from shell scripts (and compressing them later if needed) Signed-off-by: Rafał Miłecki --- V2: Simplify dd in __tar_print_padding (I still think helper is useful) Hardcode 0/0/ root/root for now as most likely it'll be eno

I would like to donate a router

2024-02-28 Thread Frank Flores
I recently received a new in box LinkSys EA9500 v1.1 US version router. I opened it and tried to use it in my home network but found the native firmware to be undesirable and its performance less than stellar. I would like to donate it to OpenWRT if you would like to have it. Anyone interested? Th