kernel still breaking. updated name which may have been issue

This commit is contained in:
tumillanino
2026-04-09 15:58:55 +10:00
parent 1c59f8a718
commit c6ffa3591f
155 changed files with 6219 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
/usr/bin/just --justfile /usr/share/appends/00-master.just "${@}"

View File

@@ -0,0 +1,10 @@
#!/bin/bash
# Check if any arguments were passed to the script
if [ "$#" -gt 0 ]; then
# If arguments are passed, include them in the flatpak run command
flatpak run net.kuribo64.melonDS "$@"
else
# If no arguments are passed, just run the flatpak without any file
flatpak run net.kuribo64.melonDS
fi

View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
IGNORE_MANUAL="wheel|root|sudo|nobody"
for manually_created_user in $(grep -E -e ".*:[1-3][[:digit:]]{3}:.*" "$1") ; do
# `grep` matched on a group with GID [1-3]000 or so
if [ ! -z "$(cut -f4 -d: <<< "${manually_created_user}")" ] ; then
continue
fi
IGNORE_MANUAL="$(cut -f1,3 -d: --output-delimiter="|" <<< "${manually_created_user}")|${IGNORE_MANUAL:-}"
for related_group in $(grep "$(cut -f1 -d: <<< ${manually_created_user})" "$1"); do
# Deduplicates matches for the same group/user
if [ "$(cut -f1 <<< "${related_group}")" == "$(cut -f1 <<< "${manually_created_user}")" ] ; then
continue
fi
IGNORE_MANUAL="$(cut -f1 -d: <<< "${related_group}")|${IGNORE_MANUAL:-}"
done
done
grep --no-filename -e "^g" /usr/lib/sysusers.d/*.conf | grep -v -E -e "${IGNORE_MANUAL}" | tr -s " " | cut -d" " -f2 | uniq | xargs -I{} sed -i "/{}/d" "${1}"

View File

@@ -0,0 +1,10 @@
#!/bin/bash
# Check if any arguments were passed to the script
if [ "$#" -gt 0 ]; then
# If arguments are passed, include them in the flatpak run command
flatpak run io.github.ryubing.Ryujinx "$@"
else
# If no arguments are passed, just run the flatpak without any file
flatpak run io.github.ryubing.Ryujinx
fi

View File

@@ -0,0 +1,27 @@
#!/bin/sh
export XDG_RUNTIME_DIR=/run/user/$(id -u)
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval $(dbus-launch --sh-syntax)
fi
mutter --wayland &
MUTTER_PID=$!
sleep 5
export DISPLAY=:1
# Start Waydroid in the background
waydroid show-full-ui &
WAYDROID_PID=$!
# Wait for Waydroid exit event in the log
tail -f -n0 /var/lib/waydroid/waydroid.log | grep -m1 run_buffer
# Cleanup and logout
kill $WAYDROID_PID
kill $MUTTER_PID
# Use loginctl to end the session gracefully
loginctl terminate-session "$XDG_SESSION_ID"
exit 0

View File

@@ -0,0 +1,27 @@
#!/usr/bin/env bash
# Define directory & target filename
directory="$1"
filename="$2"
# Check if the filename already has .tar.zst; if not, append it
if [[ ! "$filename" =~ \.tar\.zst$ ]]; then
archive="$filename.tar.zst"
else
archive="$filename"
fi
# Make sure the directory exists
if [[ ! -d "$directory" ]]; then
echo "Directory '$directory' not found."
return 1
fi
# Create the archive with tar and pipe it to zstd
tar -cvf - "$directory" | zstd -9 -T0 -o "$archive"
# Check for errors during compression
if [[ $? -ne 0 ]]; then
echo "Error during compression."
return 1
fi