Skip to content

Commit ec36753

Browse files
authored
Merge pull request #125 from tcet-opensource/117-add-script-which-helps-to-building-iso
117 add script which helps to building iso
2 parents 35dc3ee + cb65c04 commit ec36753

File tree

10 files changed

+227
-18
lines changed

10 files changed

+227
-18
lines changed

.github/workflows/iso-build.yml

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
options: --privileged
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- name: Set current date as environment variable
2222
run: echo "DATE=`date +'%Y.%m.%d'`" >>$GITHUB_ENV
2323

2424
- name: Synchronise package repositories and install archiso
25-
run: pacman -Syu --noconfirm archiso git archlinux-keyring reflector wget
25+
run: pacman -Syu --noconfirm archiso git archlinux-keyring wget reflector --needed
2626

2727
- name: Running Reflector
2828
run: |
@@ -33,20 +33,41 @@ jobs:
3333
--latest 5 \
3434
--save /etc/pacman.d/mirrorlist
3535
pacman -Syu
36+
37+
- name: Setting Up Keyring
38+
run: |
39+
pacman-key --init
40+
pacman-key --keyserver keyserver.ubuntu.com -r 280178FA27665D44
41+
pacman-key --lsign-key 280178FA27665D44
42+
pacman-key --keyserver keyserver.ubuntu.com -r 421FFABA41F36DA5
43+
pacman-key --lsign-key 421FFABA41F36DA5
44+
pacman-key --keyserver keyserver.ubuntu.com -r 02F660CD5FA77EBB
45+
pacman-key --lsign-key 02F660CD5FA77EBB
46+
pacman-key --keyserver keyserver.ubuntu.com -r BF4E1E687DD0A534
47+
pacman-key --lsign-key BF4E1E687DD0A534
3648
3749
- name: Building TCET Linux ISO
3850
run: |
51+
ls -al
3952
pacman -Syu
4053
wget https://raw.githubusercontent.com/tcet-opensource/tcet-linux/main/pacman.conf -O /etc/pacman.conf
4154
mkarchiso -v -w ./work -o ./out ./
4255
echo "ISO Built in ./out folder!"
56+
ls -al
57+
58+
- name: Generating Checksum
59+
run: |
60+
ls -al
61+
cd out/
62+
touch checksum
63+
sha256sum *.iso > checksum
64+
ls -al
4365
4466
- name: Release ISO File
4567
uses: ncipollo/release-action@v1
4668
with:
47-
artifacts: "out/*.iso"
69+
artifacts: "out/*.iso,out/checksum"
4870
body: "v2.0.0"
4971
generateReleaseNotes: false
5072
name: "TCET-Linux"
5173
tag: ${{ env.DATE }}
52-

README.md

Lines changed: 52 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TCET Linux
22

3-
![TCET LINUX](https://github.com/tcet-opensource/tcet-linux-assets/blob/main/tcet-linux.png)
3+
![TCET LINUX](https://raw.githubusercontent.com/tcet-opensource/artwork/main/tcet-linux/tcet-linux.png)
44

55
## What is TCET Linux?
66
**[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 @@
1414
* Atleast 8GB HDD/SSD storage.
1515
* Basic WPA/WPA2 compatible wifi card or ethernet supported motherboard.
1616

17-
![installer](https://github.com/tcet-opensource/tcet-linux-assets/blob/main/installer.png)
17+
![installer](https://raw.githubusercontent.com/tcet-opensource/artwork/main/tcet-linux/installer.png)
1818

1919
The complete process for the installation is given in details on the website of **[TCET Linux](https://linux.tcetmumbai.in/)**.
2020

@@ -23,7 +23,7 @@ The complete process for the installation is given in details on the website of
2323
## Welcome App
2424
The welcome app provides the user with the important links and shortcuts to some features and the installer.
2525

26-
![Welcomeapp](https://github.com/tcet-opensource/tcet-linux-assets/blob/main/welcome-app.png)
26+
![Welcomeapp](https://raw.githubusercontent.com/tcet-opensource/artwork/main/tcet-linux/welcome-app.png)
2727

2828
It includes the following options:
2929
* **Install TCET Linux**: This starts the TCET Linux Installer
@@ -96,13 +96,60 @@ Packages in TCET Linux is managed by package manager.
9696
9797
<br />
9898
99-
## Glimpses of TCET Linux
99+
# Glimpses of TCET Linux
100100
101-
![tcet-linux-desktop](https://github.com/tcet-opensource/tcet-linux-assets/blob/main/tcet-linux_desktop1.png)
101+
![tcet-linux-desktop](https://raw.githubusercontent.com/tcet-opensource/artwork/main/tcet-linux/tcet-linux-desktop1.png)
102102
103103
104104
<br />
105105
106+
# How to build ISO
107+
108+
## Install required package
109+
```bash
110+
sudo pacman -S archiso
111+
```
112+
113+
## Clone repository
114+
```bash
115+
git clone https://github.com/tcet-opensource/tcet-linux.git
116+
```
117+
118+
## Build ( Using Script )
119+
```bash
120+
cd tcet-linux
121+
./buildiso
122+
```
123+
OR
124+
## Build ( Manually )
125+
### Setup Keys
126+
```bash
127+
# Akash6222
128+
sudo pacman-key --keyserver keyserver.ubuntu.com -r 280178FA27665D44
129+
sudo pacman-key --lsign-key 280178FA27665D44
130+
131+
# Rishabh672003
132+
sudo pacman-key --keyserver keyserver.ubuntu.com -r 421FFABA41F36DA5
133+
sudo pacman-key --lsign-key 421FFABA41F36DA5
134+
135+
# 0xAtharv
136+
sudo pacman-key --keyserver keyserver.ubuntu.com -r 02F660CD5FA77EBB
137+
sudo pacman-key --lsign-key 02F660CD5FA77EBB
138+
139+
# harshau007
140+
sudo pacman-key --keyserver keyserver.ubuntu.com -r BF4E1E687DD0A534
141+
sudo pacman-key --lsign-key BF4E1E687DD0A534
142+
143+
```
144+
### Build ISO
145+
```bash
146+
cd tcet-linux
147+
sudo mkarchiso -v .
148+
```
149+
150+
## ISO will appear in `work/out/` directory
151+
<br />
152+
106153
## Important Links:
107154

108155
- [TCET Linux Website](https://linux.tcetmumbai.in/)

airootfs/etc/default/grub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ GRUB_DISABLE_RECOVERY=true
4343
#GRUB_COLOR_HIGHLIGHT="light-cyan/black"
4444

4545
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
46-
GRUB_BACKGROUND="/usr/share/backgrounds/xfce/wallpaper4.png"
46+
GRUB_BACKGROUND="/usr/share/backgrounds/xfce/tcet-linux/wallpaper4.png"
4747
#GRUB_THEME=
4848

4949
# Uncomment to get a beep at GRUB start

airootfs/etc/lightdm/lightdm-gtk-greeter.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
# transition-duration = overrides default value
4949
#
5050
[greeter]
51-
background=/usr/share/backgrounds/xfce/wallpaper5.png
51+
background=/usr/share/backgrounds/xfce/tcet-linux/wallpaper5.png
5252
#user-background=
5353
theme-name=Qogir-Dark
5454
icon-theme-name=tela-circle-icon

airootfs/etc/pacman.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ Include = /etc/pacman.d/mirrorlist
9797

9898
[tcet-linux-repo]
9999
SigLevel = Optional TrustedOnly
100-
Server = https://tcet-opensource.github.io/$repo/$arch
100+
Include = /etc/pacman.d/tcet-linux-mirrorlist

buildiso

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
#!/bin/bash
2+
3+
echo "Installing archsio"
4+
sudo pacman -Sy archiso --needed
5+
6+
if [ -d "work" ] || [ -d "out" ]; then
7+
sudo rm -rf work/ out/
8+
fi
9+
10+
echo "Setting up Keyring"
11+
12+
if [ !$(sudo pacman-key -l | grep -E "280178FA27665D44") ]; then
13+
# Akash6222
14+
sudo pacman-key --keyserver keyserver.ubuntu.com -r 280178FA27665D44
15+
sudo pacman-key --lsign-key 280178FA27665D44
16+
fi
17+
18+
if [ !$(sudo pacman-key -l | grep -E "421FFABA41F36DA5") ]; then
19+
# Rishabh672003
20+
sudo pacman-key --keyserver keyserver.ubuntu.com -r 421FFABA41F36DA5
21+
sudo pacman-key --lsign-key 421FFABA41F36DA5
22+
fi
23+
24+
if [ !$(sudo pacman-key -l | grep -E "02F660CD5FA77EBB") ]; then
25+
# 0xAtharv
26+
sudo pacman-key --keyserver keyserver.ubuntu.com -r 02F660CD5FA77EBB
27+
sudo pacman-key --lsign-key 02F660CD5FA77EBB
28+
fi
29+
30+
if [ !$(sudo pacman-key -l | grep -E "BF4E1E687DD0A534") ]; then
31+
# harshau007
32+
sudo pacman-key --keyserver keyserver.ubuntu.com -r BF4E1E687DD0A534
33+
sudo pacman-key --lsign-key BF4E1E687DD0A534
34+
fi
35+
36+
37+
echo "Building Iso"
38+
echo "Warning don't press ctrl+c or ctrl+z when iso is building"
39+
sudo mkarchiso -v -w ./work -o ./out ./
40+
41+
echo "Do you want to remove tcet-linux-keyring from your system [y/n]"
42+
read answer
43+
44+
if [ "$answer" == "y" ] || [ "$answer" == "yes" ]; then
45+
echo "Removing tcet-linux-keyring."
46+
# Akash6222
47+
sudo pacman-key --delete 280178FA27665D44
48+
49+
# Rishabh672003
50+
sudo pacman-key --delete 421FFABA41F36DA5
51+
52+
# 0xAtharv
53+
sudo pacman-key --delete 02F660CD5FA77EBB
54+
55+
# harshau007
56+
sudo pacman-key --delete BF4E1E687DD0A534
57+
elif [ "$answer" == "n" ] || [ "$answer" == "no" ]; then
58+
echo "tcet-linux-keyring present in your system."
59+
exit 0
60+
else
61+
echo "Invalid input. Please enter 'y' or 'n'."
62+
exit 1
63+
fi

cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sudo rm -rvf work/ out/
1+
sudo rm -rvf work/ out/ tcet-linux-keyring*

contributing.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Welcome to TCET Linux contributing guide
2+
3+
Thank you for investing your time in contributing to our project! Any contribution you make will be reflected from our next release :sparkles:.
4+
5+
Read our [Code of Conduct](https://github.com/tcet-opensource/.github/blob/main/CODE_OF_CONDUCT.md) to keep our community approachable and respectable.
6+
7+
In this guide you will get an overview of the contribution workflow from opening an issue, creating a PR, reviewing, and merging the PR.
8+
9+
## New contributor guide
10+
11+
To get an overview of the project, read the [README](https://github.com/tcet-opensource/tcet-linux/blob/main/README.md) file. Here are some resources to help you get started with open source contributions:
12+
13+
- [Contributing to TCET-Opensource Externally](https://opensource.tcetmumbai.in/docs/resources/workflows/external-workflow/)
14+
- [Set up Git](https://docs.github.com/en/get-started/quickstart/set-up-git)
15+
- [GitHub flow](https://docs.github.com/en/get-started/quickstart/github-flow)
16+
17+
18+
## Getting started
19+
20+
To navigate our codebase with confidence, see documentation of [TCET Linux](https://opensource.tcetmumbai.in/docs/projects/tcet-linux/about-tcet-linux/) :confetti_ball:.
21+
22+
### Issues
23+
24+
#### Create a new issue
25+
26+
If you spot a problem, [search if an issue already exists](https://github.com/tcet-opensource/tcet-linux/issues). If a related issue doesn't exist, you can open a new issue using a relevant [issue form](https://github.com/tcet-opensource/tcet-linux/issues).
27+
28+
#### Solve an issue
29+
30+
1. Scan through our [existing issues](https://github.com/tcet-opensource/tcet-linux/issues) to find one that interests you. You can narrow down the search using `labels` as filters.
31+
32+
2. See [Good First Issues](https://github.com/tcet-opensource/tcet-linux/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) label for beginner issues.
33+
34+
3. Leave a comment to get it assigned.
35+
36+
### Make Changes
37+
38+
1. Fork the repository.
39+
- Using GitHub Desktop:
40+
- [Getting started with GitHub Desktop](https://docs.github.com/en/desktop/installing-and-configuring-github-desktop/getting-started-with-github-desktop) will guide you through setting up Desktop.
41+
- Once Desktop is set up, you can use it to [fork the repo](https://docs.github.com/en/desktop/contributing-and-collaborating-using-github-desktop/cloning-and-forking-repositories-from-github-desktop)!
42+
43+
- Using the command line:
44+
- [Fork the repo](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo#fork-an-example-repository) so that you can make your changes without affecting the original project until you're ready to merge them.
45+
46+
2. Install or update **archiso**, for creating ISO. For more information, see [How to build ISO](https://github.com/tcet-opensource/tcet-linux/tree/main#how-to-build-iso).
47+
48+
3. Create a working branch and start with your changes!
49+
50+
### Commit your update
51+
52+
Commit the changes once you are happy with them. Don't forget to [self-review](/contributing/self-review.md) to speed up the review process:zap:.
53+
54+
### Pull Request
55+
56+
When you're finished with the changes, create a pull request, also known as a PR.
57+
- Fill the PR template so that we can review your PR. This template helps reviewers understand your changes as well as the purpose of your pull request.
58+
- Don't forget to [link PR to issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) if you are solving one.
59+
- Enable the checkbox to [allow maintainer edits](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork) so the branch can be updated for a merge.
60+
Once you submit your PR, a DevOps team member will review your proposal. We may ask questions or request additional information.
61+
- We may ask for changes to be made before a PR can be merged, either using [suggested changes](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request) or pull request comments. You can apply suggested changes directly through the UI. You can make any other changes in your fork, then commit them to your branch.
62+
- As you update your PR and apply changes, mark each conversation as [resolved](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request#resolving-conversations).
63+
- If you run into any merge issues, checkout this [git tutorial](https://github.com/skills/resolve-merge-conflicts) to help you resolve merge conflicts and other issues.
64+
65+
### Your PR is merged!
66+
67+
Congratulations :tada::tada: The DevOps team thanks you :sparkles:.
68+
69+
Once your PR is merged, your contributions will be visible on the [TCET Linux](https://github.com/tcet-opensource/tcet-linux).
70+
71+
Now that you are part of the TCET-Opensource community, see how else you can [contribute to the TCET-Opensource](https://opensource.tcetmumbai.in/docs/resources/workflows/external-workflow).

packages.x86_64

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,9 @@ virtualbox-guest-utils
140140

141141
## TCET Linux Desktop Env - XFCE
142142
xfce4
143-
ristretto
144143
thunar-archive-plugin
145144
thunar-media-tags-plugin
146145
xfburn
147-
xfce4-artwork
148146
xfce4-battery-plugin
149147
xfce4-clipman-plugin
150148
xfce4-cpufreq-plugin
@@ -205,8 +203,6 @@ os-prober
205203
firefox
206204
#tcet-linux-firefox-settings
207205

208-
## TCET Linux Office Suite
209-
libreoffice-fresh
210206
#ttf-ms-fonts
211207
#ttf-roboto
212208
#noto-fonts
@@ -279,5 +275,17 @@ tcet-linux-set-once
279275
# Wallpaper
280276
tcet-linux-wallpaper
281277

278+
# Mirrorlist
279+
tcet-linux-mirrorlist
280+
281+
# keyring
282+
tcet-linux-keyring
283+
282284
#newFont-terminal-stable
283285
ttc-iosevka
286+
287+
# Aur helper
288+
yay
289+
290+
#tcet-linux-keyring
291+
tcet-linux-keyring

profiledef.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ airootfs_image_type="squashfs"
1717
airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M')
1818
file_permissions=(
1919
["/etc/shadow"]="0:0:400"
20-
["/etc/skel/set_once_xfce4.sh"]="0:0:755"
2120
["/root"]="0:0:750"
2221
["/root/.automated_script.sh"]="0:0:755"
2322
["/usr/local/bin/choose-mirror"]="0:0:755"

0 commit comments

Comments
 (0)