openwrt/package/base-files/files
Rafał Miłecki 4efbfcd996 base-files: sysupgrade: handle errors when generating backup
1. Return error if any step of generating tar file fails
2. Use pipefail to avoid calling "gzip" if tar failed

Fixes: e36cc53092 ("base-files: sysupgrade: use tar helper to include installed_packages.txt")
Reported-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Cc: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Cc: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2024-03-05 11:54:55 +01:00
..
bin base-files: ipcalc.sh: Add netmask2prefix function 2023-12-12 12:30:35 -07:00
etc base-files/leds: add setting the LED color via uci 2024-02-07 15:34:43 +01:00
lib base-files: sysupgrade: add tar.sh with helpers for building archives 2024-02-29 16:11:47 +01:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: sysupgrade: handle errors when generating backup 2024-03-05 11:54:55 +01:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00