Compare commits
No commits in common. "1d6ffa54e28adde94a82b93505af469527b97998" and "4ba07987c242883032ced40f39ec03b0009dddae" have entirely different histories.
1d6ffa54e2
...
4ba07987c2
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -2,11 +2,9 @@ name: Build
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [closed]
|
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -37,5 +35,5 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
asset_path: ./egos.iso
|
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
|
asset_content_type: application/octet-stream
|
||||||
|
|||||||
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@ -1,13 +1,15 @@
|
|||||||
name: Test
|
name: Test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
types: [opened, synchronize]
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- feature
|
- feature
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- reopened
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
13
build.bash
13
build.bash
@ -54,7 +54,6 @@ cd ..
|
|||||||
cd initramfs
|
cd initramfs
|
||||||
rm linuxrc # We'll be using a init sciprt instead
|
rm linuxrc # We'll be using a init sciprt instead
|
||||||
cp ../scripts/init.sh init
|
cp ../scripts/init.sh init
|
||||||
sudo chmod 755 init
|
|
||||||
find . | cpio -H newc -o > ../iso/boot/initramfs.cpio
|
find . | cpio -H newc -o > ../iso/boot/initramfs.cpio
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
@ -65,9 +64,9 @@ cp config/grub.cfg iso/boot/grub/grub.cfg
|
|||||||
grub-mkrescue -o egos.iso iso
|
grub-mkrescue -o egos.iso iso
|
||||||
|
|
||||||
# The image is ready to be used
|
# The image is ready to be used
|
||||||
echo " ___ ___ ___ "
|
echo " ___ ___ ___ ";
|
||||||
echo " | __|__ _ / _ \/ __|"
|
echo " | __|__ _ / _ \/ __|";
|
||||||
echo " | _|/ _\` | (_) \__ \\"
|
echo " | _|/ _\` | (_) \__ \\";
|
||||||
echo " |___\__, |\___/|___/"
|
echo " |___\__, |\___/|___/";
|
||||||
echo " |___/ "
|
echo " |___/ ";
|
||||||
echo "Is Built Successfully!"
|
echo "Is Built Successfully!";
|
||||||
|
|||||||
@ -1,32 +1,33 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# Disable Kernel Messages
|
# Disable Kernel Messages
|
||||||
dmesg -n 1
|
dmesg -n 1
|
||||||
clear
|
|
||||||
|
|
||||||
# Mount the file system
|
# Mount the file system
|
||||||
mount -t devtmpfs udev /dev
|
mount -t devtmpfs none /dev
|
||||||
mount -t proc proc /proc
|
mount -t proc none /dev
|
||||||
mount -t sysfs sysfs /sys
|
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
|
# Start shell with proper tty and power off support
|
||||||
exec cttyhack sh -c '\
|
exec cttyhack sh
|
||||||
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)"\
|
|
||||||
'
|
|
||||||
Loading…
x
Reference in New Issue
Block a user