-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from tcet-opensource/117-add-script-which-hel…
…ps-to-building-iso 117 add script which helps to building iso
Showing
5 changed files
with
128 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#!/bin/bash | ||
|
||
echo "Installing archsio" | ||
sudo pacman -S archiso --needed | ||
|
||
echo "Setting up Keyring" | ||
# Akash6222 | ||
sudo pacman-key --keyserver keyserver.ubuntu.com -r 280178FA27665D44 | ||
sudo pacman-key --lsign-key 280178FA27665D44 | ||
|
||
# Rishabh672003 | ||
sudo pacman-key --keyserver keyserver.ubuntu.com -r 421FFABA41F36DA5 | ||
sudo pacman-key --lsign-key 421FFABA41F36DA5 | ||
|
||
# 0xAtharv | ||
sudo pacman-key --keyserver keyserver.ubuntu.com -r 02F660CD5FA77EBB | ||
sudo pacman-key --lsign-key 02F660CD5FA77EBB | ||
|
||
# harshau007 | ||
sudo pacman-key --keyserver keyserver.ubuntu.com -r BF4E1E687DD0A534 | ||
sudo pacman-key --lsign-key BF4E1E687DD0A534 | ||
|
||
echo "Building Iso" | ||
echo "Warning don't press ctrl+c or ctrl+z when iso is building" | ||
sudo mkarchiso -v -w ./work -o ./out ./ | ||
|
||
echo "Do you want to remove tcet-linux-keyring from your system [y/n]" | ||
read answer | ||
|
||
if [ "$answer" == "y" ] || [ "$answer" == "yes" ]; then | ||
echo "Removing tcet-linux-keyring." | ||
# Akash6222 | ||
sudo pacman-key --delete 280178FA27665D44 | ||
|
||
# Rishabh672003 | ||
sudo pacman-key --delete 421FFABA41F36DA5 | ||
|
||
# 0xAtharv | ||
sudo pacman-key --delete 02F660CD5FA77EBB | ||
|
||
# harshau007 | ||
sudo pacman-key --delete BF4E1E687DD0A534 | ||
elif [ "$answer" == "n" ] || [ "$answer" == "no" ]; then | ||
echo "tcet-linux-keyring present in your system." | ||
exit 0 | ||
else | ||
echo "Invalid input. Please enter 'y' or 'n'." | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sudo rm -rvf work/ out/ | ||
sudo rm -rvf work/ out/ tcet-linux-keyring* |