This repository has been archived by the owner on Sep 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathringOS-stable-Builder-debian.sh
executable file
·31 lines (24 loc) · 1.97 KB
/
ringOS-stable-Builder-debian.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
echo "ringOS stable builder for Debian(-based) Linux"
echo "This script will ask you for password using sudo."
sudo apt-get update && echo Repository update successful || echo FAILED to update the repository
sudo apt-get install build-essential mtools && echo build-essential mtools installed successfully || echo FAILED to install build-essential mtools
sudo apt-get install nasm && echo NASM installed successfully || echo FAILED to install nasm
sudo apt-get install qemu-system-x86 && echo Qemu installed successfully || echo FAILED to install Qemu
sudo apt-get install git && echo git installed successfully || echo FAILED to install git
sudo apt-get install lld && echo lld installed successfully || echo FAILED to install lld
sudo apt-get install xorriso && echo xorriso installed successfully || echo FAILED to install xorriso
sudo apt-get install mkisofs && echo mkisofs installed successfully || echo FAILED to install mkisofs
mkdir "ringOS-stable" && echo ringOS-stable directory successfully created || echo FAILED to create ringOS directory
cd ringOS-stable && echo Successfully enter ringOS-stable directory || echo FAILED to enter ringOS-stable directory
git clone -b ringOS-stable2 https://github.com/ringwormGO-organization/ringOS && echo Cloning successful || echo FAILED to clone
cd ringOS && echo In ringOS directory || echo FAILED to enter ringOS directory
cd ringOS && echo In ringOS directory || echo FAILED to enter ringOS directory
cd gnu-efi && echo In gnu-efi directory || echo FAILED to enter gnu-efi directory
make bootloader && echo Bootloader successfully created || echo FAILED to create bootloader
cd ../kernel && echo In kernel directory || echo FAILED to enter kernel directory
make kernel && echo Kernel successfully created || echo FAILED to create kernel
make buildimg && echo Buildimg successfully created || echo FAILED to create buildimg
chmod +x ./ISO.sh
./ISO.sh
make run && echo Successfully run ringOS stable release || echo FAILED run ringOS stable release