mirror of
https://github.com/truenas/scale-build.git
synced 2026-02-15 07:29:12 +00:00
Fix manifest version in incremental build
This commit is contained in:
@@ -730,7 +730,7 @@ sign_manifest() {
|
||||
}
|
||||
|
||||
build_manifest() {
|
||||
python3 scripts/build_manifest.py "$UPDATE_DIR" "$CHROOT_BASEDIR" "$VERSION"
|
||||
python3 scripts/build_manifest.py "$UPDATE_DIR" "$CHROOT_BASEDIR"
|
||||
}
|
||||
|
||||
build_update_image() {
|
||||
|
||||
@@ -8,7 +8,10 @@ import subprocess
|
||||
import sys
|
||||
|
||||
if __name__ == "__main__":
|
||||
output, rootfs, version = sys.argv[1:]
|
||||
output, rootfs = sys.argv[1:]
|
||||
|
||||
with open(os.path.join(rootfs, "etc/version")) as f:
|
||||
version = f.read().strip()
|
||||
|
||||
size = int(int(subprocess.run(
|
||||
["du", "--block-size", "1", "-d", "0", "-x", rootfs],
|
||||
|
||||
Reference in New Issue
Block a user