Compare commits
13 Commits
4ba07987c2
...
1d6ffa54e2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1d6ffa54e2 | ||
|
|
e422feb62e | ||
|
|
5654b853ee | ||
|
|
6c1e8ee6e3 | ||
|
|
488a3479cf | ||
|
|
7e45665af4 | ||
|
|
ea328d2047 | ||
|
|
932cfa81d7 | ||
|
|
c7b81bc904 | ||
|
|
a8f23411a1 | ||
|
|
5ba88859cb | ||
|
|
b6debbaf4a | ||
|
|
c84b6a7484 |
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -1,9 +1,11 @@
|
|||||||
name: Build
|
name: Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
types: [closed]
|
||||||
- master
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -35,5 +37,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 }}.img
|
asset_name: egos-v${{ github.run_number }}.iso
|
||||||
asset_content_type: application/octet-stream
|
asset_content_type: application/octet-stream
|
||||||
|
|||||||
14
.github/workflows/test.yml
vendored
14
.github/workflows/test.yml
vendored
@ -1,15 +1,13 @@
|
|||||||
name: Test
|
name: Test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- feature
|
|
||||||
pull_request:
|
pull_request:
|
||||||
types:
|
branches:
|
||||||
- opened
|
- master
|
||||||
- reopened
|
types: [opened, synchronize]
|
||||||
branches:
|
push:
|
||||||
- master
|
branches:
|
||||||
|
- feature
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
13
build.bash
13
build.bash
@ -54,6 +54,7 @@ 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 ..
|
||||||
|
|
||||||
@ -64,9 +65,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,33 +1,32 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
# Disable Kernel Messages
|
# Disable Kernel Messages
|
||||||
dmesg -n 1
|
dmesg -n 1
|
||||||
|
|
||||||
# Mount the file system
|
|
||||||
mount -t devtmpfs none /dev
|
|
||||||
mount -t proc none /dev
|
|
||||||
mount -t sysfs none /sys
|
|
||||||
|
|
||||||
clear
|
clear
|
||||||
|
|
||||||
# Print the welcome message
|
# Mount the file system
|
||||||
echo "Welcome to the Linux Kernel"
|
mount -t devtmpfs udev /dev
|
||||||
echo ""
|
mount -t proc proc /proc
|
||||||
echo ""
|
mount -t sysfs sysfs /sys
|
||||||
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
|
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)"\
|
||||||
|
'
|
||||||
Loading…
x
Reference in New Issue
Block a user