Compare commits

..

No commits in common. "1d6ffa54e28adde94a82b93505af469527b97998" and "4ba07987c242883032ced40f39ec03b0009dddae" have entirely different histories.

4 changed files with 43 additions and 43 deletions

View File

@ -1,11 +1,9 @@
name: Build
on:
pull_request:
types: [closed]
branches:
- master
pull_request:
branches:
- master
jobs:
build:
@ -37,5 +35,5 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./egos.iso
asset_name: egos-v${{ github.run_number }}.iso
asset_name: egos-v${{ github.run_number }}.img
asset_content_type: application/octet-stream

View File

@ -1,13 +1,15 @@
name: Test
on:
pull_request:
branches:
- master
types: [opened, synchronize]
push:
branches:
- feature
branches:
- feature
pull_request:
types:
- opened
- reopened
branches:
- master
jobs:
build:

View File

@ -54,7 +54,6 @@ cd ..
cd initramfs
rm linuxrc # We'll be using a init sciprt instead
cp ../scripts/init.sh init
sudo chmod 755 init
find . | cpio -H newc -o > ../iso/boot/initramfs.cpio
cd ..
@ -65,9 +64,9 @@ cp config/grub.cfg iso/boot/grub/grub.cfg
grub-mkrescue -o egos.iso iso
# The image is ready to be used
echo " ___ ___ ___ "
echo " | __|__ _ / _ \/ __|"
echo " | _|/ _\` | (_) \__ \\"
echo " |___\__, |\___/|___/"
echo " |___/ "
echo "Is Built Successfully!"
echo " ___ ___ ___ ";
echo " | __|__ _ / _ \/ __|";
echo " | _|/ _\` | (_) \__ \\";
echo " |___\__, |\___/|___/";
echo " |___/ ";
echo "Is Built Successfully!";

View File

@ -1,32 +1,33 @@
#!/bin/sh
set -e
# Disable Kernel Messages
dmesg -n 1
clear
# Mount the file system
mount -t devtmpfs udev /dev
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t devtmpfs none /dev
mount -t proc none /dev
mount -t sysfs none /sys
clear
# Print the welcome message
echo "Welcome to the Linux Kernel"
echo ""
echo ""
echo " ___ ___ ___ ";
echo " | __|__ _ / _ \/ __|";
echo " | _|/ _\` | (_) \__ \\";
echo " |___\__, |\___/|___/";
echo " |___/ ";
echo "Is Built Successfully!";
echo ""
echo ""
echo "Kernel Version: $(uname -r)"
echo "Kernel Build Date: $(uname -v)"
echo "Kernel Architecture: $(uname -m)"
echo "Kernel Compiler: $(uname -o)"
echo "Kernel Hostname: $(uname -n)"
# Start shell with proper tty and power off support
exec cttyhack sh -c '\
clear\
echo "Welcome to the Linux Kernel"\
echo ""\
echo ""\
echo " ___ ___ ___ "\
echo " | __|__ _ / _ \/ __|"\
echo " | _|/ _\` | (_) \__ \\"\
echo " |___\__, |\___/|___/"\
echo " |___/ "\
echo "Less is more easy. - EgOS"\
echo ""\
echo ""\
echo "Kernel Version: $(uname -r)"\
echo "Kernel Build Date: $(uname -v)"\
echo "Kernel Architecture: $(uname -m)"\
echo "Kernel Compiler: $(uname -o)"\
'
exec cttyhack sh