Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
initramfs-with-mca
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
initramfs-with-mca
Commits
aab86429
Commit
aab86429
authored
Mar 16, 2023
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change shacache identifier ("key in URL").
parent
8d155e56
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
generation/40upload-image.sh
generation/40upload-image.sh
+1
-1
installation/00env.sh
installation/00env.sh
+8
-0
installation/30install-image.sh
installation/30install-image.sh
+1
-1
No files found.
generation/40upload-image.sh
View file @
aab86429
...
@@ -33,7 +33,7 @@ json_metadata="{ \
...
@@ -33,7 +33,7 @@ json_metadata="{ \
\"
comment
\"
:
\"
$hash_comment
\"
\
\"
comment
\"
:
\"
$hash_comment
\"
\
}"
}"
echo
"
$json_metadata
"
>
"
$metadata_file
"
echo
"
$json_metadata
"
>
"
$metadata_file
"
networkcache-upload
--conf
../tls-access-to-shacache/test.cfg
--key
river
--file
"
$UEFI_IMAGE_NAME
"
--metadata
"
$metadata_file
"
networkcache-upload
--conf
../tls-access-to-shacache/test.cfg
--key
ocean.nexedi.com:river:debian:
"
$KERNEL_VERSION
"
--file
"
$UEFI_IMAGE_NAME
"
--metadata
"
$metadata_file
"
echo
$(
sha512sum
"
$UEFI_IMAGE_NAME
"
|
cut
-d
' '
-f1
)
"
$hash_comment
"
>>
"
$sha_list
"
echo
$(
sha512sum
"
$UEFI_IMAGE_NAME
"
|
cut
-d
' '
-f1
)
"
$hash_comment
"
>>
"
$sha_list
"
echo
"
$UEFI_IMAGE_NAME
"
echo
"
$UEFI_IMAGE_NAME
"
...
...
installation/00env.sh
0 → 100644
View file @
aab86429
# This file is sourced by some other scripts in this directory
# get the root of the git repository
GIT_ROOT
=
$(
git rev-parse
--show-toplevel
)
PROJECT_DIR
=
"
$GIT_ROOT
"
### TO BE MODIFIED BY USERS ###
KERNEL_VERSION
=
5.10.0-21
installation/30install-image.sh
View file @
aab86429
...
@@ -48,7 +48,7 @@ RELATIVE_EFI_IMAGE_DIR=EFI/Linux
...
@@ -48,7 +48,7 @@ RELATIVE_EFI_IMAGE_DIR=EFI/Linux
# NETWORKCACHE DOWNLOADING METHOD
# NETWORKCACHE DOWNLOADING METHOD
tmp_image_name
=
image_tmp.efi
tmp_image_name
=
image_tmp.efi
networkcache-download
--config
../tls-access-to-shacache/test.cfg
--key
river
"timestamp<<Infinity"
>
"
$tmp_image_name
"
networkcache-download
--config
../tls-access-to-shacache/test.cfg
--key
ocean.nexedi.com:river:debian:
"
$KERNEL_VERSION
"
"timestamp<<Infinity"
>
"
$tmp_image_name
"
image_hash
=
$(
sha512sum
"
$tmp_image_name
"
|
cut
-d
' '
-f1
)
image_hash
=
$(
sha512sum
"
$tmp_image_name
"
|
cut
-d
' '
-f1
)
mv
"
$tmp_image_name
"
"
$image_hash
"
mv
"
$tmp_image_name
"
"
$image_hash
"
echo
image_hash
=
"
$image_hash
"
echo
image_hash
=
"
$image_hash
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment