diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 95403de..6ecb5b4 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -10,12 +10,14 @@ jobs: steps: - name: "Checkout source" - uses: actions/checkout@v3 + uses: actions/checkout@v4 + with: + submodules: true - name: "Build artifacts" run: | - ARCH=rm make docker - ARCH=kobo make docker + CROSS_TC=arm-kobo-linux-gnueabihf DOCKERFILE=Dockerfile.kobo FBINK=1 TARGET=kobo make docker + TARGET=rm make docker - uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/stable-release.yml b/.github/workflows/stable-release.yml index 5cea874..1f1e40a 100644 --- a/.github/workflows/stable-release.yml +++ b/.github/workflows/stable-release.yml @@ -21,7 +21,9 @@ jobs: steps: - name: "Checkout source" - uses: actions/checkout@v3 + uses: actions/checkout@v4 + with: + submodules: true - name: "Build artifacts" diff --git a/src/remux/launcher.cpy b/src/remux/launcher.cpy index 2b3f550..f6c52ee 100644 --- a/src/remux/launcher.cpy +++ b/src/remux/launcher.cpy @@ -4,6 +4,7 @@ #include #include +#include #include #include #include @@ -466,6 +467,7 @@ class App: public IApp: _ := system("mkdir /run/ 2> /dev/null") _ = system("/usr/bin/mkfifo /run/remux.api 2>/dev/null") self.ipc_thread = new thread([=]() { + prctl(PR_SET_NAME, "fifo\0", 0, 0, 0) fd := open("/run/remux.api", O_RDONLY) string remainder = "" @@ -495,6 +497,7 @@ class App: public IApp: debug "STARTING SUSPEND THREAD" version := util::get_remarkable_version() self.idle_thread = new thread([=]() { + prctl(PR_SET_NAME, "suspend\0", 0, 0, 0) last_wake := 0 while true: now := time(NULL)