openwrt/package
Jo-Philipp Wich 6f6406a132 base-files: sysupgrade: fix streaming backup archives to stdout
Due to previous refactoring in sysupgrade, writing backup archives to
stdout became impossible since the hardcoded gzip output redirection
did not account for the `-` special case filename.

Fix this issue by substituting `-` with `/proc/self/fd/1` in the tar
archive output path variable.

Also remove a redundant `rm -f` of the target file path that occurs
before the file could've possibly been written.

Fixes: #14773
Fixes: https://github.com/openwrt/luci/issues/6961
Fixes: e36cc53092 ("base-files: sysupgrade: use tar helper to include installed_packages.txt")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-03-04 14:58:10 +01:00
..
base-files base-files: sysupgrade: fix streaming backup archives to stdout 2024-03-04 14:58:10 +01:00
boot u-boot.mk: override default PATH to avoid pick hostpkg python 2024-03-02 14:17:31 +01:00
devel binutils: update to 2.42 2024-02-12 23:41:03 +01:00
firmware ls-mc: bump to 10.38.0 2024-03-02 14:08:08 +01:00
kernel kernel: lantiq: ltq-vmmc: introduce user group for vmmc 2024-03-03 15:44:52 +00:00
libs libxml2: update to 2.12.5 2024-02-13 12:34:56 +01:00
network umdns: prevent a few 'uci: Entry not found' 2024-02-27 20:10:08 +01:00
system procd: update to git HEAD 2024-02-24 04:00:15 +00:00
utils e2fsprogs: add libe2p and development headers 2024-02-26 21:19:10 +01:00
Makefile build: add $(STAGING_DIR) and $(BIN_DIR) preparation to target and package subdir compile dependencies 2024-03-03 23:13:59 +01:00