prplos/scripts
George Tsiamasiotis 6dbfa15327 scripts/patch-kernel.sh: do not try to check files after patch
Since we are not using patch -b, *.orig files are only created when
there are conflicts, or never according to posix patch.

As such, it doesn't really make sense to always delete *.orig files
presuming they are patch backups, even if they are patch backups.
Doing so is both deleting potentially useful information for failed
patch applications and creating hard to diagnose bugs [1].

In a similar vein, checking for *.rej files does not add any value
since we're already checking the patch command's return code.

[1]: https://github.com/openwrt/packages/issues/27485

Signed-off-by: George Tsiamasiotis <george@tsiamasiotis.gr>
Link: https://github.com/openwrt/openwrt/pull/20141
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 75ca6bafd614efd1427a979d28d551af775b8e5d)
Link: https://github.com/openwrt/openwrt/pull/20742
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 58cde9ec226918812473c77e562b059316b5989a)
2026-07-09 10:57:33 +01:00
..
config
flashing
belkin-header.py realtek: scripts: fix error in belkin-header 2024-10-11 23:37:09 +02:00
brcmImage.pl
bundle-libraries.sh
cameo-imghdr.py
cameo-tag.py
cfe-bin-header.py
cfe-partition-tag.py
cfe-wfi-tag.py
check-toolchain-clean.sh
checkpatch.pl
checksec-format-output.py build: add support for checksec.sh based mitigation reports 2025-07-31 15:20:37 +00:00
checksec-mitigation-report.py build: add support for checksec.sh based mitigation reports 2025-07-31 15:20:37 +00:00
clean-package.sh
cleanfile
cleanpatch
combined-ext-image.sh
combined-image.sh
command_all.sh
config.guess scripts: config.guess: update to 2024-07-27 2024-09-28 22:48:47 +02:00
config.rpath
config.sub scripts: config.guess: update to 2024-07-27 2024-09-28 22:48:47 +02:00
const_structs.checkpatch
deptest.sh
diffconfig.sh
dl_cleanup.py
dl_github_archive.py scripts/dl_github_archive: use tar -I for ZSTD 2024-04-09 18:39:36 +02:00
download-check-artifact.sh scripts: download-check-artifact.sh: fix shellcheck and improve 2024-11-28 18:47:07 +00:00
download.pl Revert "scripts/download.pl: read file natively" 2024-10-27 15:58:16 +01:00
dump-target-info.pl
env
ext-toolchain.sh scripts/ext-toolchain: add missing libc library specs 2024-06-17 13:24:03 +02:00
ext-tools.sh
feeds scripts: feeds: Don’t hardcode IS_TTY 2026-07-09 10:57:33 +01:00
fixup-makefile.pl
functions.sh
gen_config.py scripts: gen_config: allow to use branch without commit ID 2026-06-22 18:20:31 +02:00
gen_image_generic.sh
gen-dependencies.sh
gen-secure-initramfs.sh scripts: gen-secure-initramfs: convert absolute symlinks into relative ones 2026-06-23 10:04:24 +02:00
get_source_date_epoch.sh
getver.sh scripts: fix revision calculation using new "main" branch 2024-05-21 17:53:33 +02:00
ipkg-build
ipkg-make-index.sh
ipkg-remove build: ipkg-remove: fix source name / package confusion, optimize 2025-07-17 10:46:39 +02:00
json_add_image_info.py
json_overview_image_info.py build: profiles.json: add kernel version information 2024-11-26 22:48:38 +00:00
kconfig-reorder.sh scripts: Add script to reorder kernel config-* files 2024-10-22 21:13:26 +02:00
kconfig.pl
kernel_bump.sh Note inspiration for this script to give credit where it's due 2026-07-09 10:57:24 +01:00
linksys-image.sh scripts: linksys-image: add NAND devices 2024-10-22 10:10:17 +02:00
make-index-json.py package: rework contents of package index.json 2025-06-11 19:12:09 +02:00
make-ipkg-dir.sh
md5sum
metadata.pm
mkhash.c
mkits-qsdk-ipq-image.sh
mkits-zyxel-fit-filogic.sh
mkits-zyxel-fit.sh
mkits.sh scripts/mkits.sh: improve error handling for required parameters 2025-08-01 05:49:44 +00:00
moxa-encode-fw.py
netgear-encrypted-factory.py
noop.sh
om-fwupgradecfg-gen.sh
package-metadata.pl build: add explicit timezone in CycloneDX SBOM 2024-06-07 12:05:49 +02:00
pad_image
patch-kernel.sh scripts/patch-kernel.sh: do not try to check files after patch 2026-07-09 10:57:33 +01:00
patch-specs.sh
portable_date.sh
projectsmirrors.json scripts/download.pl: detach mirror URLs from script file 2024-06-18 19:51:45 +02:00
prplos_version.sh scripts: prplos_version.sh: mark development version as 5.2.0 2026-07-06 16:53:19 +02:00
qemustart
redboot-script.pl
relink-lib.sh
remote-gdb
rstrip.sh
sercomm-crypto.py
sercomm-kernel-header.py
sercomm-partition-tag.py
sercomm-payload.py
sercomm-pid.py
sign_images.sh
size_compare.sh
slugimage.pl
spelling.txt
srecimage.pl
strip-kmod.sh
symlink-tree.sh
sysupgrade-tar.sh
target-metadata.pl imagebuilder: exclude metadata for profiles that have no kernel 2025-05-10 12:12:26 +02:00
time.pl
timestamp.pl
ubinize-image.sh scripts: ubinize-image.sh: fix support for static volume 2024-04-24 02:32:22 +01:00
xxdi.pl