feat: update Xanmod repository setup with secure key handling and add jq package
This commit is contained in:
parent
59198cb6b4
commit
ac31a224a2
1 changed files with 7 additions and 3 deletions
|
@ -51,12 +51,16 @@ download_latest_deb() {
|
|||
echo "Updating system and installing base tools..."
|
||||
sudo apt update
|
||||
sudo apt upgrade -y
|
||||
sudo apt install curl git wget btrfs-progs -y
|
||||
sudo apt install curl git wget btrfs-progs jq -y
|
||||
|
||||
# Install Xanmod kernel
|
||||
echo "Installing Xanmod kernel..."
|
||||
echo 'deb http://deb.xanmod.org releases main' | sudo tee /etc/apt/sources.list.d/xanmod-kernel.list
|
||||
wget -qO - https://dl.xanmod.org/gpg.key | sudo apt-key add -
|
||||
# Ensure gnupg is installed for key management
|
||||
sudo apt install gnupg -y
|
||||
# Download and store the Xanmod GPG key in /etc/apt/keyrings
|
||||
wget -qO - https://dl.xanmod.org/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/xanmod-keyring.gpg
|
||||
# Add the Xanmod repository with signed-by
|
||||
echo "deb [signed-by=/etc/apt/keyrings/xanmod-keyring.gpg] http://deb.xanmod.org releases main" | sudo tee /etc/apt/sources.list.d/xanmod-kernel.list
|
||||
sudo apt update
|
||||
sudo apt install linux-xanmod-x64v3 -y
|
||||
# sudo update-grub Grok addded this but its not needed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue