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
ec7d0e09
Commit
ec7d0e09
authored
Sep 28, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
old.installation: Moved from installation/
parent
4a41f079
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
11 deletions
+15
-11
old.installation/dependencies.sh
old.installation/dependencies.sh
+3
-3
old.installation/env.sh
old.installation/env.sh
+5
-5
old.installation/images-sha512.list
old.installation/images-sha512.list
+0
-0
old.installation/install.sh
old.installation/install.sh
+6
-2
old.installation/remove-dependencies.sh
old.installation/remove-dependencies.sh
+1
-1
old.installation/secure-boot-automation.sh
old.installation/secure-boot-automation.sh
+0
-0
old.installation/uninstall.sh
old.installation/uninstall.sh
+0
-0
No files found.
installation/dependencies.sh
→
old.
installation/dependencies.sh
View file @
ec7d0e09
...
...
@@ -17,11 +17,11 @@ git config --global user.name "Ophelie Gagnard"
# building initramfs
apt
-y
install
$APT_SPECIFIC_PACKAGES
rm
-f
"
$MCA_PACKAGE_FILE
"
rm
-f
"
$FL
UENTBIT
_PACKAGE_FILE
"
rm
-f
"
$FL
B
_PACKAGE_FILE
"
wget
"
$MCA_PACKAGE_URL
"
wget
"
$FL
UENTBIT
_PACKAGE_URL
"
wget
"
$FL
B
_PACKAGE_URL
"
apt
-y
install
./
"
$MCA_PACKAGE_FILE
"
apt
-y
install
./
"
$FL
UENTBIT
_PACKAGE_FILE
"
apt
-y
install
./
"
$FL
B
_PACKAGE_FILE
"
MCA_CONF_PATH
=
"/opt/
${
MCA_PACKAGE_NAME
}
/etc"
CONF_REGEX
=
"s|%WENDELIN_URL%|
${
WENDELIN_URL
}
|g;s|%WENDELIN_PWD%|
${
WENDELIN_PWD
}
|g;s|%WENDELIN_REFERENCE%|
${
WENDELIN_REFERENCE
}
|g"
...
...
installation/env.sh
→
old.
installation/env.sh
View file @
ec7d0e09
...
...
@@ -8,9 +8,9 @@ PROJECT_DIR=$GIT_ROOT
### TO BE MODIFIED BY USERS ###
## Packages
MCA_PACKAGE_NAME
=
mca--static
FL
UENTBIT
_PACKAGE_NAME
=
fluent-bit
FL
B
_PACKAGE_NAME
=
fluent-bit
MCA_VERSION
=
0.2h+0.1i+1.0.279+dep-1
FL
UENTBIT
_VERSION
=
1.9.7+1.0.279+dep-1
FL
B
_VERSION
=
1.9.7+1.0.279+dep-1
TARGET_DISTRIBUTION
=
Debian_11
ARCH
=
amd64
PACKAGE_EXTENSION
=
.deb
...
...
@@ -27,17 +27,17 @@ SIGNING_KEY_NAME=db.key
# used mainly in dracut.module/configure
MCA_NAME_AND_VERSION
=
${
MCA_PACKAGE_NAME
}
_
${
MCA_VERSION
}
FL
UENTBIT_NAME_AND_VERSION
=
${
FLUENTBIT_PACKAGE_NAME
}
_
${
FLUENTBIT
_VERSION
}
FL
B_NAME_AND_VERSION
=
${
FLB_PACKAGE_NAME
}
_
${
FLB
_VERSION
}
# used mainly in installation/dependencies.sh and installation/remove-dependencies.sh
APT_UTILITY_PACKAGES
=
"sudo wget tree"
APT_SPECIFIC_PACKAGES
=
"dracut-core dracut dracut-network"
MCA_PACKAGE_FILE
=
${
MCA_NAME_AND_VERSION
}
_
${
ARCH
}${
PACKAGE_EXTENSION
}
FL
UENTBIT_PACKAGE_FILE
=
${
FLUENTBIT
_NAME_AND_VERSION
}
_
${
ARCH
}${
PACKAGE_EXTENSION
}
FL
B_PACKAGE_FILE
=
${
FLB
_NAME_AND_VERSION
}
_
${
ARCH
}${
PACKAGE_EXTENSION
}
URL_PATTERN
=
"https://download.opensuse.org/repositories/home:VIFIBnexedi/
${
TARGET_DISTRIBUTION
}
/
${
ARCH
}
/"
MCA_PACKAGE_URL
=
${
URL_PATTERN
}
/
${
MCA_PACKAGE_FILE
}
FL
UENTBIT_PACKAGE_URL
=
${
URL_PATTERN
}
/
${
FLUENTBIT
_PACKAGE_FILE
}
FL
B_PACKAGE_URL
=
${
URL_PATTERN
}
/
${
FLB
_PACKAGE_FILE
}
# used mainly in installation/install.sh and installation/uninstall.sh
EFI_PARTITION_MOUNT_POINT
=
/boot/efi/
...
...
installation/images-sha512.list
→
old.
installation/images-sha512.list
View file @
ec7d0e09
File moved
installation/install.sh
→
old.
installation/install.sh
View file @
ec7d0e09
...
...
@@ -108,6 +108,10 @@ EFI_PARTITION_MOUNT_POINT=$(get_partition_path "$efi_partition_type")
ROOT_PARTITION_ID
=
$(
get_partition_id
"
$root_partition_type
"
)
default_bootnum
=
100
echo
DEBUG
-------------------
echo
ROOT_PARTITION_ID
=
"
$ROOT_PARTITION_ID
"
exit
1
# Get information about the network
DEFAULT_INTERFACE
=
$(
get_default_interface
)
DEFAULT_ROUTER
=
$(
get_default_router
)
...
...
@@ -115,7 +119,7 @@ DEFAULT_IP=$(get_default_ip)
default_netmask
=
$(
get_default_netmask
)
default_netmask_number
=
$(
echo
-e
"
${
default_netmask
}
"
|
awk
-F
/
'{print $2}'
)
FORMATTED_NETMASK
=
$(
int_to_generic_netmask
"
${
default_netmask_number
}
"
)
HOSTNAME
=
$(
hostname
)
TARGET_
HOSTNAME
=
$(
hostname
)
# Install the module
cd
dracut.module
...
...
@@ -125,7 +129,7 @@ make install
cd
-
# Generation of dracut.module/dracut.conf
dracut_conf_regex
=
"s|%PROJECT_DIR%|
${
PROJECT_DIR
}
|g;s|%PUBLIC_CERT_DIR%|
${
PUBLIC_CERT_DIR
}
|g;s|%PRIVATE_KEYS_DIR%|
${
PRIVATE_KEYS_DIR
}
|g;s|%CERT_NAME%|
${
CERT_NAME
}
|;s|%SIGNING_KEY_NAME%|
${
SIGNING_KEY_NAME
}
|g;s|%ROOT_PARTITION_ID%|
${
ROOT_PARTITION_ID
}
|g;s|%DEFAULT_INTERFACE%|
${
DEFAULT_INTERFACE
}
|g;s|%DEFAULT_ROUTER%|
${
DEFAULT_ROUTER
}
|g;s|%DEFAULT_IP%|
${
DEFAULT_IP
}
|g;s|%FORMATTED_NETMASK%|
${
FORMATTED_NETMASK
}
|g;s|%
HOSTNAME%|
${
HOSTNAME
}
|g"
dracut_conf_regex
=
"s|%PROJECT_DIR%|
${
PROJECT_DIR
}
|g;s|%PUBLIC_CERT_DIR%|
${
PUBLIC_CERT_DIR
}
|g;s|%PRIVATE_KEYS_DIR%|
${
PRIVATE_KEYS_DIR
}
|g;s|%CERT_NAME%|
${
CERT_NAME
}
|;s|%SIGNING_KEY_NAME%|
${
SIGNING_KEY_NAME
}
|g;s|%ROOT_PARTITION_ID%|
${
ROOT_PARTITION_ID
}
|g;s|%DEFAULT_INTERFACE%|
${
DEFAULT_INTERFACE
}
|g;s|%DEFAULT_ROUTER%|
${
DEFAULT_ROUTER
}
|g;s|%DEFAULT_IP%|
${
DEFAULT_IP
}
|g;s|%FORMATTED_NETMASK%|
${
FORMATTED_NETMASK
}
|g;s|%
TARGET_HOSTNAME%|
${
TARGET_
HOSTNAME
}
|g"
cd
dracut.module
sed
"
${
dracut_conf_regex
}
"
dracut.conf.in
>
dracut.conf
cd
-
...
...
installation/remove-dependencies.sh
→
old.
installation/remove-dependencies.sh
View file @
ec7d0e09
...
...
@@ -13,5 +13,5 @@ source env.sh
# building initramfs
apt-get
-y
remove
${
MCA_PACKAGE_NAME
}
||
true
apt-get
-y
remove
${
FL
UENTBIT
_PACKAGE_NAME
}
||
true
apt-get
-y
remove
${
FL
B
_PACKAGE_NAME
}
||
true
apt
-y
remove
${
APT_SPECIFIC_PACKAGES
}
||
true
installation/secure-boot-automation.sh
→
old.
installation/secure-boot-automation.sh
View file @
ec7d0e09
File moved
installation/uninstall.sh
→
old.
installation/uninstall.sh
View file @
ec7d0e09
File moved
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