summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-02-16 11:07:42 +0100
committerWynn Wolf Arbor2020-02-29 18:50:52 +0100
commitf997966f023c65750b763a87bcc73ced332caef6 (patch)
tree50c68c7049d9b32bad7419d288977ed29ac62ebe
parent117c4bf79cf671a6221d016fc779bad86a8775fe (diff)
downloadkernfrag-f997966f023c65750b763a87bcc73ced332caef6.tar.gz
Remove merge.sh
This functionality has been moved to another tool.
Diffstat (limited to '')
-rwxr-xr-xmerge.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/merge.sh b/merge.sh
deleted file mode 100755
index 69e3c37..0000000
--- a/merge.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-errx() {
- printf "$@" >&2
- exit 1
-}
-
-set -e
-
-host=${1:-$(hostname)}
-
-if ! test -r "kernfrag/templates/base"; then
- errx "config: Could not find base template\n"
-fi
-
-if ! test -r "kernfrag/templates/$host"; then
- errx "config: Could not find template for '%s'\n" "$host"
-fi
-
-printf "Starting merge for %s...\n\n" "$host"
-
-awk 'NF { printf "%s%s\0", "kernfrag/fragments/", $1 }' \
- "kernfrag/templates/base" "kernfrag/templates/$host" | xargs -0 scripts/kconfig/merge_config.sh