Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
metadata-collect-agent
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
metadata-collect-agent
Commits
49f2b0b5
Commit
49f2b0b5
authored
Feb 03, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
installation/: Tweak some installation files.
parent
8bf0761f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
9 deletions
+12
-9
installation/dependencies-installation.sh
installation/dependencies-installation.sh
+6
-2
installation/fluentbit-install.sh
installation/fluentbit-install.sh
+0
-1
installation/install.sh
installation/install.sh
+6
-6
No files found.
installation/dependencies-installation.sh
View file @
49f2b0b5
# USEFUL WORKING TOOLS
# USEFUL WORKING TOOLS
apt
-y
install
git vim tree
apt
-y
install
git vim tree
sudo
# to add a <user> to the sudo list:
# su -
# usermod -a -G sudo <user>
# su <user>
# ACTUAL DEPENDENCIES
# ACTUAL DEPENDENCIES
# installing miscellaneous useful packages
# installing miscellaneous useful packages
apt
-y
install
make autopoint autoconf libtool libattr1-dev musl-tools mmv sbsigntool libssl-dev python3-deb
apt
-y
install
make autopoint autoconf libtool libattr1-dev musl-tools mmv sbsigntool libssl-dev python3-deb
# installing more necessary packages to activate Secure Boot with our own keys
# installing more necessary packages to activate Secure Boot with our own keys
apt
-y
install
efitools
apt
-y
install
efitools
# installing packages needed to build fluentbit
# installing packages needed to build fluentbit
(script fluentbit-install.sh)
apt
-y
install
cmake flex bison build-essential
apt
-y
install
cmake flex bison build-essential
# needed to compile the output plugin for wendelin (fluentbit_wendelin.so)
# needed to compile the output plugin for wendelin (fluentbit_wendelin.so)
apt
-y
install
golang
apt
-y
install
golang
...
...
installation/fluentbit-install.sh
View file @
49f2b0b5
apt-get
-y
install
cmake flex bison build-essential
if
[
!
-d
fluent-bit
]
;
then
if
[
!
-d
fluent-bit
]
;
then
git clone https://github.com/fluent/fluent-bit.git
git clone https://github.com/fluent/fluent-bit.git
fi
fi
...
...
installation/install.sh
View file @
49f2b0b5
...
@@ -132,14 +132,14 @@ disk_info_list=(${disk_info//' '/})
...
@@ -132,14 +132,14 @@ disk_info_list=(${disk_info//' '/})
/sbin/e2label
${
disk_info_list
[4]
}
ROOT
/sbin/e2label
${
disk_info_list
[4]
}
ROOT
rm
-rf
/boot/efi/EFI/Linux/
*
#
rm -rf /boot/efi/EFI/Linux/*
#
mmv '/boot/efi/EFI/Linux/*.*' '/boot/efi/EFI/Linux/#1_1.#2'
mmv
'/boot/efi/EFI/Linux/*.*'
'/boot/efi/EFI/Linux/#1_1.#2'
dracut
--force
-c
./dracut.module/dracut.conf
--confdir
dracut_tmp
dracut
--force
-c
./dracut.module/dracut.conf
--confdir
dracut_tmp
cp
-r
/boot/efi/EFI /EFI
cp
-r
/boot/efi/EFI /EFI
#
maybe not necessary
#
the following two lines are useful if one wants to enroll the keys from the BIOS GUI (and not from command-line as root) (??)
cp
/etc/uefi-key/db.cer /EFI/db.cer
cp
/etc/uefi-key
s
/db.cer /EFI/db.cer
cp
/etc/uefi-key/db.cer /boot/efi/db.cer
cp
/etc/uefi-key
s
/db.cer /boot/efi/db.cer
uefi
=
$(
ls
/EFI/Linux
)
uefi
=
$(
echo
$(
ls
-t
/EFI/Linux/ |
cut
-d
' '
-f1
)
|
cut
-d
' '
-f1
)
efibootmgr
--quiet
--create
--disk
${
disk_info_list
[3]
}
--label
'debian UEFI test_root'
--loader
/EFI/Linux/
$uefi
efibootmgr
--quiet
--create
--disk
${
disk_info_list
[3]
}
--label
'debian UEFI test_root'
--loader
/EFI/Linux/
$uefi
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