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
ca2bb73c
Commit
ca2bb73c
authored
Nov 17, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
generation: Add parameters for SHADIR.
parent
326994f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
generation/30upload-image.sh
generation/30upload-image.sh
+3
-3
No files found.
generation/30upload-image.sh
View file @
ca2bb73c
...
@@ -10,11 +10,11 @@ cd $GIT_ROOT
...
@@ -10,11 +10,11 @@ cd $GIT_ROOT
source
generation/00env.sh
source
generation/00env.sh
uefi_image_name
=
"
$(
uname
-s
|
tr
'[:upper:]'
'[:lower:]'
)
-
$(
uname
-r
)
_
${
MCA_NAME_AND_VERSION
}
_
${
FLB_NAME_AND_VERSION
}
_
${
SERVER_GROUP
}
"
.efi
uefi_image_name
=
"
$(
uname
-s
|
tr
'[:upper:]'
'[:lower:]'
)
-
$(
uname
-r
)
_
${
MCA_NAME_AND_VERSION
}
_
${
FLB_NAME_AND_VERSION
}
_
${
SERVER_GROUP
}
"
.efi
networkcache-upload
--conf
../tls-access-to-shacache/test.cfg
--file
"
$uefi_image_name
"
sha_list
=
installation/images-sha512.list
sha_list
=
installation/images-sha512.list
hash_comment
=
"# off + dummy ips, rd.neednet=1 LABEL=Root"
hash_comment
=
"# off + dummy ips, rd.neednet=1 LABEL=Root"
networkcache-upload
--conf
../tls-access-to-shacache/test.cfg
--file
"
$uefi_image_name
"
--prefix-key
river-initramfs-image-
"server-group=
$SERVER_GROUP
"
"kernel-release=
$(
uname
-r
)
"
"mca-version=
$MCA_VERSION
"
"flb-version=
$FLB_VERSION
"
"plg-version=
$PLG_VERSION
"
"upload-date=
$(
date
)
"
"comment=
$hash_comment
"
echo
$(
sha512sum
"
$uefi_image_name
"
|
cut
-d
' '
-f1
)
"
$hash_comment
"
>>
"
$sha_list
"
echo
$(
sha512sum
"
$uefi_image_name
"
|
cut
-d
' '
-f1
)
"
$hash_comment
"
>>
"
$sha_list
"
git add
"
$sha_list
"
git add
"
$sha_list
"
git commit
-m
"installation: Add an image hash."
git commit
-m
"installation: Add an 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