openwrt/scripts
Baptiste Jonglez 6d94a6eca4 scripts: getver.sh: fix version based on stable branch
When building from a local branch based off the "openwrt-18.06" branch,
version computation is wrong, for instance:

    r6907+1154-7e15e21766

The number of local commits (1154 in this case) is wrong because it is
computed against master.  As a result, it wrongly counts *all* commits
since the beginning of the openwrt-18.06 branch as local commits.

The fix is to compare to the openwrt-18.06 branch instead, which gives the
expected result such as:

    r8060+1-1238a22316

Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
[shorten commit title]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-10-07 23:15:10 +02:00
..
config build: cleanup leftover qconf files 2018-02-13 11:35:35 +01:00
flashing scripts: add EVA ramboot script 2018-03-18 22:22:38 +01:00
arm-magic.sh
brcmImage.pl
bundle-libraries.sh scripts: bundle-libraries: fix logic flaw 2018-08-30 11:32:16 +02:00
checkpatch.pl
clang-gcc-wrapper
clean-package.sh build: fix STAGING_DIR cleaning for packages 2019-01-30 12:40:16 +01:00
cleanfile
cleanpatch
combined-ext-image.sh
combined-image.sh
config.guess scripts: update config.guess and config.sub 2018-12-18 17:22:07 +01:00
config.rpath
config.sub scripts: update config.guess and config.sub 2018-12-18 17:22:07 +01:00
deptest.sh
diffconfig.sh
dl_cleanup.py
download.pl scripts/dowload.pl: add archive.apache.org to apache mirror list 2019-12-23 01:07:33 +01:00
env env: only use color diffs on terminals 2018-05-05 09:44:43 +02:00
ext-toolchain.sh
feeds include/feeds.mk: rework generation of opkg distfeeds.conf 2018-07-12 21:26:42 +02:00
fixup-makefile.pl fixup-makefile.pl: fixup when PKG_SOURCE is defined elsewhere 2018-12-18 09:44:04 +01:00
gen_image_generic.sh
gen-dependencies.sh
get_source_date_epoch.sh
getver.sh scripts: getver.sh: fix version based on stable branch 2020-10-07 23:15:10 +02:00
ipkg-build scripts/ipkg-build: quash error messages when conffiles.resolved is empty 2018-12-18 11:28:12 +01:00
ipkg-make-index.sh scripts: ipkg-make-index.sh: dereference symbolic links 2019-07-22 09:46:49 +02:00
kconfig.pl
make-ipkg-dir.sh
md5sum
metadata.pm scripts/metadata.pm: avoid adding dup names in provides list 2018-12-18 11:28:12 +01:00
mkhash.c
mkits.sh build: Allow to change the FIT config section name 2018-03-17 08:09:04 +01:00
om-fwupgradecfg-gen.sh ipq40xx: add support for OpenMesh A62 2018-04-23 22:07:22 +02:00
package-metadata.pl metadata: do not emit broken kconfig dependency statements 2018-01-14 19:00:06 +01:00
pad_image
patch-kernel.sh
patch-specs.sh
portable_date.sh
qemustart scripts/qemustart: more portable array operation 2018-01-31 16:54:57 +08:00
redboot-script.pl
relink-lib.sh
remote-gdb
rstrip.sh
slugimage.pl scripts: Replace obsolete POSIX tmpnam in slugimage.pl with File::Temp function 2018-12-18 09:43:57 +01:00
srecimage.pl
strip-kmod.sh
symlink-tree.sh
sysupgrade-tar.sh
target-metadata.pl build: add support for enabling the rootfs/boot partition size option via target feature 2018-12-18 11:28:12 +01:00
time.pl scripts: time.pl: avoid hard Time::HiRes dependency 2018-12-18 11:01:55 +01:00
timestamp.pl
ubinize-image.sh scripts/ubinize-image.sh: fix buildbot breakage 2019-10-31 09:00:13 +01:00