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
f63d0c31
Commit
f63d0c31
authored
Oct 31, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
generation: Improve scripts.
parent
0d8e700a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
generation/10install-dependencies.sh
generation/10install-dependencies.sh
+3
-2
generation/30upload-image.sh
generation/30upload-image.sh
+2
-2
No files found.
generation/10install-dependencies.sh
View file @
f63d0c31
...
...
@@ -15,10 +15,11 @@ git config --local user.email "ophelie.gagnard@nexedi.com"
git config
--local
user.name
"Ophelie Gagnard"
# building initramfs
apt
-y
install
dracut-core dracut dracut-network sbsigntool
apt
-y
install
dracut-core dracut dracut-network sbsigntool pip
pip
install
slapos.libnetworkcache
rm
-f
*
"
$MCA_PACKAGE_NAME
"
*
rm
-f
*
"
$FLB_PACKAGE_NAME
"
*
apt
-y
remove
"
$MCA_PACKAGE_NAME
"
"
$FLB_PACKAGE_NAME
"
apt
-y
remove
"
$MCA_PACKAGE_NAME
"
"
$FLB_PACKAGE_NAME
"
||
true
wget
"
$MCA_PACKAGE_URL
"
wget
"
$FLB_PACKAGE_URL
"
apt
-y
install
./
"
$MCA_PACKAGE_FILE
"
...
...
generation/30upload-image.sh
View file @
f63d0c31
...
...
@@ -11,10 +11,10 @@ source generation/00env.sh
uefi_image_name
=
"
$(
uname
-s
|
tr
'[:upper:]'
'[:lower:]'
)
-
$(
uname
-r
)
_
${
MCA_NAME_AND_VERSION
}
_
${
FLB_NAME_AND_VERSION
}
_
${
SERVER_GROUP
}
_
${
TARGET_HOSTNAME
}
"
.efi
networkcache-upload
--conf
../test.cfg
--file
"
$uefi_image_name
"
networkcache-upload
--conf
../t
ls-access-to-shacache/t
est.cfg
--file
"
$uefi_image_name
"
sha_list
=
installation/images-sha512.list
hash_comment
=
"#
dhcp rd.neednet=1 no scanning no sending (test again as the previous scanned and sent)
"
hash_comment
=
"#
off + dummy ips, rd.neednet=1 rd.break=mount
"
echo
$(
sha512sum
"
$uefi_image_name
"
|
cut
-d
' '
-f1
)
"
$hash_comment
"
>>
"
$sha_list
"
git add
"
$sha_list
"
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