diff --git a/.github/workflows/iso-build.yml b/.github/workflows/iso-build.yml index b7c6673..31fd335 100644 --- a/.github/workflows/iso-build.yml +++ b/.github/workflows/iso-build.yml @@ -16,13 +16,13 @@ jobs: options: --privileged steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set current date as environment variable run: echo "DATE=`date +'%Y.%m.%d'`" >>$GITHUB_ENV - name: Synchronise package repositories and install archiso - run: pacman -Syu --noconfirm archiso git archlinux-keyring reflector wget + run: pacman -Syu --noconfirm archiso git archlinux-keyring reflector --needed - name: Running Reflector run: | @@ -33,20 +33,41 @@ jobs: --latest 5 \ --save /etc/pacman.d/mirrorlist pacman -Syu + + - name: Setting Up Keyring + run: | + pacman-key --init + pacman-key --keyserver keyserver.ubuntu.com -r 280178FA27665D44 + pacman-key --lsign-key 280178FA27665D44 + pacman-key --keyserver keyserver.ubuntu.com -r 421FFABA41F36DA5 + pacman-key --lsign-key 421FFABA41F36DA5 + pacman-key --keyserver keyserver.ubuntu.com -r 02F660CD5FA77EBB + pacman-key --lsign-key 02F660CD5FA77EBB + pacman-key --keyserver keyserver.ubuntu.com -r BF4E1E687DD0A534 + pacman-key --lsign-key BF4E1E687DD0A534 - name: Building TCET Linux ISO run: | + ls -al pacman -Syu wget https://raw.githubusercontent.com/tcet-opensource/tcet-linux/main/pacman.conf -O /etc/pacman.conf mkarchiso -v -w ./work -o ./out ./ echo "ISO Built in ./out folder!" + ls -al + + - name: Generating Checksum + run: | + ls -al + cd out/ + touch checksum + sha256sum *.iso > checksum + ls -al - name: Release ISO File uses: ncipollo/release-action@v1 with: - artifacts: "out/*.iso" + artifacts: "out/*.iso,out/checksum" body: "v2.0.0" generateReleaseNotes: false name: "TCET-Linux" tag: ${{ env.DATE }} - diff --git a/README.md b/README.md index 1cf12f5..72c1d9a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # TCET Linux -![TCET LINUX](https://github.com/tcet-opensource/tcet-linux-assets/blob/main/tcet-linux.png) +![TCET LINUX](https://raw.githubusercontent.com/tcet-opensource/artwork/main/tcet-linux/tcet-linux.png) ## What is TCET Linux? **[TCET Linux](https://linux.tcetmumbai.in/)** is an **open-source operating system** providing basic services, and various software packages that make up the user-space applications, utilities and it is highly customized. Our goal in creating this operating system is to provide a platform that combines **robust functionality** with a **user-friendly experience**. Built from the ground up, TCET Linux boasts **efficient performance**, **customization options**, and a range of features tailored to meet the needs of both casual users and enthusiasts. @@ -14,7 +14,7 @@ * Atleast 8GB HDD/SSD storage. * Basic WPA/WPA2 compatible wifi card or ethernet supported motherboard. -![installer](https://github.com/tcet-opensource/tcet-linux-assets/blob/main/installer.png) +![installer](https://raw.githubusercontent.com/tcet-opensource/artwork/main/tcet-linux/installer.png) The complete process for the installation is given in details on the website of **[TCET Linux](https://linux.tcetmumbai.in/)**. @@ -23,7 +23,7 @@ The complete process for the installation is given in details on the website of ## Welcome App The welcome app provides the user with the important links and shortcuts to some features and the installer. -![Welcomeapp](https://github.com/tcet-opensource/tcet-linux-assets/blob/main/welcome-app.png) +![Welcomeapp](https://raw.githubusercontent.com/tcet-opensource/artwork/main/tcet-linux/welcome-app.png) It includes the following options: * **Install TCET Linux**: This starts the TCET Linux Installer @@ -96,13 +96,60 @@ Packages in TCET Linux is managed by package manager.
-## Glimpses of TCET Linux +# Glimpses of TCET Linux -![tcet-linux-desktop](https://github.com/tcet-opensource/tcet-linux-assets/blob/main/tcet-linux_desktop1.png) +![tcet-linux-desktop](https://raw.githubusercontent.com/tcet-opensource/artwork/main/tcet-linux/tcet-linux-desktop1.png)
+# How to build ISO + +## Install required package +```bash +sudo pacman -S archiso +``` + +## Clone repository +```bash +git clone https://github.com/tcet-opensource/tcet-linux.git +``` + +## Build ( Using Script ) +```bash +cd tcet-linux +./buildiso +``` +OR +## Build ( Manually ) +### Setup Keys +```bash +# 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 + +``` +### Build ISO +```bash +cd tcet-linux +sudo mkarchiso -v . +``` + +## ISO will appear in `work/out/` directory +
+ ## Important Links: - [TCET Linux Website](https://linux.tcetmumbai.in/) diff --git a/airootfs/root/.config/starship.toml b/airootfs/root/.config/starship.toml index a1acda3..af0e00b 100644 --- a/airootfs/root/.config/starship.toml +++ b/airootfs/root/.config/starship.toml @@ -45,7 +45,7 @@ $time\ style = "fg:#180024 bg:#7E6B9C " format = "[ $path ]($style)" truncation_length = 3 -truncation_symbol = "…/" +truncation_symbol = "../" [directory.substitutions] "Documents" = " " diff --git a/buildiso b/buildiso new file mode 100755 index 0000000..6d6885c --- /dev/null +++ b/buildiso @@ -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 diff --git a/cleanup.sh b/cleanup.sh index 3bd785c..b5c7e7a 100755 --- a/cleanup.sh +++ b/cleanup.sh @@ -1 +1 @@ -sudo rm -rvf work/ out/ +sudo rm -rvf work/ out/ tcet-linux-keyring*