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
a512c9ad
Commit
a512c9ad
authored
Feb 16, 2023
by
Ophélie Gagnard
Committed by
Ophélie Gagnard
Mar 21, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
installation: Add debug information.
parent
978f4561
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
installation/20install-image.sh
installation/20install-image.sh
+5
-1
No files found.
installation/20install-image.sh
View file @
a512c9ad
...
...
@@ -44,13 +44,14 @@ EFI_PARTITION_MOUNT_POINT=$(get_partition_path "$efi_partition_type")
ROOT_PARTITION_ID
=
$(
get_partition_id
"
$root_partition_type
"
)
default_bootnum
=
100
# needed by efibootmgr
RELATIVE_EFI_IMAGE_DIR
=
/
EFI/Linux
RELATIVE_EFI_IMAGE_DIR
=
EFI/Linux
# NETWORKCACHE DOWNLOADING METHOD
tmp_image_name
=
image_tmp.efi
networkcache-download
--config
../tls-access-to-shacache/test.cfg
--id
river timestamp:max
>
"
$tmp_image_name
"
image_hash
=
$(
sha512sum
"
$tmp_image_name
"
|
cut
-d
' '
-f1
)
mv
"
$tmp_image_name
"
"
$image_hash
"
echo
image_hash
=
"
$image_hash
"
# WGET DOWNLOADING METHOD
#if [ ! -f "$image_hash" ]; then
# wget "$shacache_url/$image_hash"
...
...
@@ -63,3 +64,6 @@ efibootmgr -b "$default_bootnum" -B || true
# Set the image as a boot option
efibootmgr
-b
"
$default_bootnum
"
--create
--disk
"
$EFI_PARTITION_MOUNT_POINT
"
--label
"test_deploy"
--loader
"
${
RELATIVE_EFI_IMAGE_DIR
}
/
$image_hash
"
echo
image path
=
echo
"
${
RELATIVE_EFI_IMAGE_DIR
}
/
$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