mirror of
https://github.com/ptitSeb/box64.git
synced 2026-11-07 09:26:11 -10:00
[BUNDLE] Generate checksums (#4151)
for both files and symlinks. This will eventually be used to see if an update of the bundle is required or not. Related #3564
This commit is contained in:
1 parent
23f8db631d
commit
b7ed2c57f5
2 files changed
+8
-2
No files matched your search
+3
-2
@@ -51,7 +51,7 @@ Module.symvers
|
||||
Mkfile.old
|
||||
dkms.conf
|
||||
|
||||
# from box86
|
||||
# Box64
|
||||
build/
|
||||
build*/
|
||||
.vscode
|
||||
@@ -60,6 +60,7 @@ build*/
|
||||
src/git_head.h
|
||||
src/dynacache_hashes.h
|
||||
backup/
|
||||
box64-bundle-x86-libs.sha256
|
||||
|
||||
# Wrapper helper
|
||||
/wrapperhelper/bin
|
||||
@@ -92,4 +93,4 @@ backup/
|
||||
*.zstd
|
||||
|
||||
# Python
|
||||
__pycache__/
|
||||
__pycache__/
|
||||
@@ -130,5 +130,10 @@ for dir_lib in "${dir_tmp}"/bundle-libs/usr/lib/box64-*-linux-gnu; do
|
||||
done
|
||||
done
|
||||
|
||||
# generate a SHA256 checksum of every file and symlink in the bundle
|
||||
cd "${dir_tmp}"/bundle-libs
|
||||
find usr \( -type f -o -type l \) -exec "${sha256sum}" {} + \
|
||||
| LC_ALL=C sort --key 2 > "${current_dir}"/box64-bundle-x86-libs.sha256
|
||||
|
||||
# generate the bundle libraries archive
|
||||
tar -C "${dir_tmp}"/bundle-libs -czvf "${current_dir}"/box64-bundle-x86-libs.tar.gz .
|
||||
Reference in new issue
Block a user