From b6ff2a3832a8235dda452647784ccb8ac8bb8fe6 Mon Sep 17 00:00:00 2001 From: Cameron Thompson <50184035+iamromulan@users.noreply.github.com> Date: Sun, 20 Jul 2025 00:01:08 -0400 Subject: [PATCH] Small edits --- ipk-source/sdxlemur-mount-fix/debian-binary | 1 - .../installer}/mount-fix-sdxlemur | 11 +++++------ 2 files changed, 5 insertions(+), 7 deletions(-) delete mode 100644 ipk-source/sdxlemur-mount-fix/debian-binary rename {ipk-source/sdxlemur-mount-fix => opkg-feed/installer}/mount-fix-sdxlemur (85%) diff --git a/ipk-source/sdxlemur-mount-fix/debian-binary b/ipk-source/sdxlemur-mount-fix/debian-binary deleted file mode 100644 index cd5ac03..0000000 --- a/ipk-source/sdxlemur-mount-fix/debian-binary +++ /dev/null @@ -1 +0,0 @@ -2.0 diff --git a/ipk-source/sdxlemur-mount-fix/mount-fix-sdxlemur b/opkg-feed/installer/mount-fix-sdxlemur similarity index 85% rename from ipk-source/sdxlemur-mount-fix/mount-fix-sdxlemur rename to opkg-feed/installer/mount-fix-sdxlemur index 6b8f62f..3a0bbc8 100755 --- a/ipk-source/sdxlemur-mount-fix/mount-fix-sdxlemur +++ b/opkg-feed/installer/mount-fix-sdxlemur @@ -1,7 +1,6 @@ #!/bin/sh - newroot() { /bin/echo "Begin mount fix process to make a usable userspace" @@ -19,18 +18,18 @@ newroot() { # Ensure necessary directories exist for overlay and pivot_root /bin/echo "Creating new overlay system" - if [ ! -d /data/rootfs ]; then - mkdir -p /data/rootfs + if [ ! -d /usrdata/rootfs ]; then + mkdir -p /usrdata/rootfs fi - if [ ! -d /data/rootfs-workdir ]; then - mkdir -p /data/rootfs-workdir + if [ ! -d /usrdata/rootfs-workdir ]; then + mkdir -p /usrdata/rootfs-workdir fi if [ ! -d /rootfs ]; then mkdir -p /rootfs fi # Mount the new overlay filesystem - /bin/mount -t overlay overlay -o lowerdir=/,upperdir=/data/rootfs,workdir=/data/rootfs-workdir /rootfs + /bin/mount -t overlay overlay -o lowerdir=/,upperdir=/usrdata/rootfs,workdir=/usrdata/rootfs-workdir /rootfs # Create the real_rootfs directory in the new root if [ ! -d /rootfs/real_rootfs ]; then