Commit 30d08eab authored by Ophélie Gagnard's avatar Ophélie Gagnard

installation/: Tweak some installation files.

parent 160dca75
# 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
# installing miscellaneous useful packages
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
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
# needed to compile the output plugin for wendelin (fluentbit_wendelin.so)
apt -y install golang
......
apt-get -y install cmake flex bison build-essential
if [ ! -d fluent-bit ]; then
git clone https://github.com/fluent/fluent-bit.git
fi
......
......@@ -132,14 +132,14 @@ disk_info_list=(${disk_info//' '/})
/sbin/e2label ${disk_info_list[4]} ROOT
rm -rf /boot/efi/EFI/Linux/*
#mmv '/boot/efi/EFI/Linux/*.*' '/boot/efi/EFI/Linux/#1_1.#2'
#rm -rf /boot/efi/EFI/Linux/*
mmv '/boot/efi/EFI/Linux/*.*' '/boot/efi/EFI/Linux/#1_1.#2'
dracut --force -c ./dracut.module/dracut.conf --confdir dracut_tmp
cp -r /boot/efi/EFI /EFI
#maybe not necessary
cp /etc/uefi-key/db.cer /EFI/db.cer
cp /etc/uefi-key/db.cer /boot/efi/db.cer
uefi=$(ls /EFI/Linux)
# 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-keys/db.cer /EFI/db.cer
cp /etc/uefi-keys/db.cer /boot/efi/db.cer
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment