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
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
types: [closed]
|
||||
branches:
|
||||
- master
|
||||
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -35,5 +37,5 @@ jobs:
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
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
|
||||
|
||||
14
.github/workflows/test.yml
vendored
14
.github/workflows/test.yml
vendored
@ -1,15 +1,13 @@
|
||||
name: Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- feature
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
branches:
|
||||
- master
|
||||
branches:
|
||||
- master
|
||||
types: [opened, synchronize]
|
||||
push:
|
||||
branches:
|
||||
- feature
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
13
build.bash
13
build.bash
@ -54,6 +54,7 @@ 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 ..
|
||||
|
||||
@ -64,9 +65,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!"
|
||||
|
||||
@ -1,33 +1,32 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# Disable Kernel Messages
|
||||
dmesg -n 1
|
||||
|
||||
# Mount the file system
|
||||
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)"
|
||||
|
||||
# Mount the file system
|
||||
mount -t devtmpfs udev /dev
|
||||
mount -t proc proc /proc
|
||||
mount -t sysfs sysfs /sys
|
||||
|
||||
# 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