From c7b81bc90457840a3b50c8f316dd1545dfdd3b0a Mon Sep 17 00:00:00 2001 From: Nasir Hossain Date: Sat, 17 Feb 2024 03:30:23 +0600 Subject: [PATCH 1/2] fix: remove unwanted renaming from iso to img --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ea2a67c..1323a2d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,5 +36,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 From 932cfa81d789ff572ec10e6d84fc54ed1a8071d2 Mon Sep 17 00:00:00 2001 From: Nasir Hossain Date: Sat, 17 Feb 2024 03:30:57 +0600 Subject: [PATCH 2/2] fix: add set -e and try to mount differently The init script of the initramfs is failing with exit code -13. No clue what that is. Thus I'm trying to solve it at random and figure it out afterwards. I have add the "set -e" to the init script to see if that prints out anything. And I have also moved the clear command to run after the "dmesg -n 1" to ensure that isn't causing the problem. If the clear command works it's certain that the dmesg is causing the error. --- scripts/init.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/init.sh b/scripts/init.sh index 707c9c6..640432e 100644 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -1,14 +1,16 @@ #!/bin/sh +set -e + # Disable Kernel Messages dmesg -n 1 +clear # Mount the file system -mount -t devtmpfs none /dev -mount -t proc none /proc -mount -t sysfs none /sys +mount -t devtmpfs udev /dev +mount -t proc proc /proc +mount -t sysfs sysfs /sys -clear # Print the welcome message echo "Welcome to the Linux Kernel"