mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
init.sh: only update version files on parent
don't update them on child instances, since it's a waste of time; the lock file prevents further execution, so we are just wasting time writing to disk. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+7
-3
@@ -15,13 +15,17 @@ remkdir()
|
||||
|
||||
mkrom_tarball()
|
||||
{
|
||||
printf "%s\n" "$version" > "$1/.version" || err "$1 !version"
|
||||
printf "%s\n" "$versiondate" > "$1/.versiondate" || err "$1 !vdate"
|
||||
|
||||
update_xbmkver "$1"
|
||||
mktarball "$1" "${1%/*}/${relname}_${1##*/}.tar.xz"
|
||||
x_ rm -Rf "$1"
|
||||
}
|
||||
|
||||
update_xbmkver()
|
||||
{
|
||||
printf "%s\n" "$version" > "$1/.version" || err "$1 !version"; :
|
||||
printf "%s\n" "$versiondate" > "$1/.versiondate" || err "$1 !vdate"; :
|
||||
}
|
||||
|
||||
mktarball()
|
||||
{
|
||||
printf "Creating tar archive '%s' from directory '%s'\n" "$2" "$1"
|
||||
|
||||
Reference in New Issue
Block a user