Add a script for determining the location of the releng
template
This commit is contained in:
parent
2487f965cb
commit
d879e32a64
2 changed files with 14 additions and 1 deletions
|
@ -1,2 +1,10 @@
|
|||
#!/bin/bash
|
||||
diff -ru --no-dereference -x{.git,.gitignore,README.md,scripts,LICENSE,out,valhalla.patch} "$(dirname "$(which mkarchiso)")/../share/archiso/configs/releng" .
|
||||
# Shows the differences between Arch's original `archiso` template named `releng` and this `archiso` directory.
|
||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||
|
||||
. ./template-path.sh;
|
||||
|
||||
diff -ru --no-dereference -x{.git,.gitignore,README.md,scripts,LICENSE,out,valhalla.patch} .. "$(templatePath)" \
|
||||
| tee "valhalla.patch";
|
||||
|
||||
popd > /dev/null;
|
||||
|
|
5
archiso/scripts/template-path.sh
Executable file
5
archiso/scripts/template-path.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
# Prints the path to Arch's `releng` template.
|
||||
function templatePath() {
|
||||
echo "$(dirname "$(which mkarchiso)")/../share/archiso/configs/releng"
|
||||
}
|
Loading…
Reference in a new issue