Jan-Tarek Butt
dd76e0898d
treewide: solve shellcheck warnings
2019-12-14 18:35:11 +01:00
Petr Štetiar
9dc1ac7f58
build: replace hardcoded paths with overridable variables
...
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-04-22 22:00:45 +02:00
Matthias Schiffer
78b2775eec
Use LEDE as base for Gluon
2017-01-18 17:21:43 +01:00
Jan-Tarek Butt
0f3e660842
scripts: improve variable escaping
2016-10-10 05:57:35 +02:00
Matthias Schiffer
bb3db1795b
update/patch: avoid applying patches directly in build repos
...
Switching branches and applying patches in the build repos will
unnecessarily touch many files, causing rebuilds of packages that didn't
really change; furthermore, it is filling the reflog with many entries.
Don't ever switch to base branch in the build repos and apply patches in
a temporary clone to avoid these issues.
In addition, GPG signing is generally disabled in the build repos to
override potential global configuration (as signing doesn't make sense and
will slow down rebases).
2016-08-09 03:41:52 +02:00
Matthias Schiffer
efc004abf2
scripts/patch: never GPG-sign automated commits, regardless of the default configuration
2016-05-28 16:04:40 +02:00
Matthias Schiffer
d5f5ce74e8
build: add module separators/headings to patch/update/update-patches scripts
...
Suggested-by: Steffen Möller <steffen_moeller@gmx.de>
2016-03-26 00:03:04 +01:00
Matthias Schiffer
ec1c82566a
scripts/patch.sh: add --committer-date-is-author-date to git am
...
This option will make the generated commit IDs deterministic, greatly
reducing the number of repository objects created when calling `make
update` repeatedly.
2016-02-28 03:30:14 +01:00
Matthias Schiffer
0f91fa6fa8
scripts/patch.sh: apply patches in a loop instead of a single git am
command
...
Using a loop makes the script a bit nicer, and it works around a git bug
corrupting patch dates when multiple patches are applied at once.
2015-10-08 23:11:44 +02:00
Matthias Schiffer
1c6e52c9b6
Allow running make update
without git identity configuration
2015-01-21 17:37:41 +01:00
Matthias Schiffer
8cfd64d2db
Make module scripts use GLUONDIR and GLUON_SITEDIR
...
This fixes `make update` not working correctly when GLUON_SITEDIR is set
manually.
2015-01-11 09:48:31 +01:00
Matthias Schiffer
cacf010f4a
Don't warn about whitespace when patching
2014-01-11 13:42:09 +01:00
Matthias Schiffer
cfe3b79ca8
Fix `make patch' for more than one patch file
2014-01-09 20:20:34 +01:00
Matthias Schiffer
7537464262
Nicer feed specification
2014-01-02 15:16:32 +01:00
Matthias Schiffer
9274724486
Add support for old git version without -C
2013-12-31 17:03:39 +01:00
Matthias Schiffer
76167579cd
Fix branch name for modules without patches
2013-12-28 22:43:16 +01:00
Matthias Schiffer
1b33134353
Make patch and update scripts a bit nicer
2013-12-28 21:35:16 +01:00
Matthias Schiffer
1cc0948597
Add update-patches target
2013-12-28 15:31:11 +01:00
Matthias Schiffer
1117cc39de
Add patch and unpatch targets
2013-12-28 15:11:59 +01:00