From a7b8f9b44a875d6bd8d255806a31fd183ee13e30 Mon Sep 17 00:00:00 2001 From: brunodev85 Date: Thu, 27 Jun 2024 14:33:26 -0300 Subject: [PATCH] Remove unnecessary obb_image_generator --- obb_image_generator/.gitattributes | 2 -- obb_image_generator/README.md | 1 - obb_image_generator/generate.sh | 34 --------------------- obb_image_generator/patches.txz | 3 -- obb_image_generator/prepare-ubuntu.sh | 40 ------------------------- obb_image_generator/ubuntu-prepared.txz | 3 -- obb_image_generator/wine.txz | 3 -- 7 files changed, 86 deletions(-) delete mode 100644 obb_image_generator/.gitattributes delete mode 100644 obb_image_generator/README.md delete mode 100644 obb_image_generator/generate.sh delete mode 100644 obb_image_generator/patches.txz delete mode 100644 obb_image_generator/prepare-ubuntu.sh delete mode 100644 obb_image_generator/ubuntu-prepared.txz delete mode 100644 obb_image_generator/wine.txz diff --git a/obb_image_generator/.gitattributes b/obb_image_generator/.gitattributes deleted file mode 100644 index 9d286011..00000000 --- a/obb_image_generator/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -*.zip filter=lfs diff=lfs merge=lfs -text -*.txz filter=lfs diff=lfs merge=lfs -text diff --git a/obb_image_generator/README.md b/obb_image_generator/README.md deleted file mode 100644 index 7fd08e67..00000000 --- a/obb_image_generator/README.md +++ /dev/null @@ -1 +0,0 @@ -This is the script used to generate the OBB image used in Winlator. \ No newline at end of file diff --git a/obb_image_generator/generate.sh b/obb_image_generator/generate.sh deleted file mode 100644 index 273ecf82..00000000 --- a/obb_image_generator/generate.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -OBB_IMG_VERSION=3 - -clear -echo "Winlator OBB Image Generator" - -if [ -d imagefs ]; then - rm -r imagefs -fi - -mkdir -p imagefs - -echo "Extracting ubuntu-prepared.txz..." -tar -xf ubuntu-prepared.txz -C imagefs - -echo "Extracting wine.txz..." -tar -xf wine.txz -C imagefs/opt - -for f in imagefs/opt/* -do - if [[ $f == *wine* ]] - then - mv $f imagefs/opt/wine - fi -done - -echo "Extracting patches.txz..." -tar -xf patches.txz -C imagefs - -echo "Creating OBB Image..." -tar -I 'zstd -19' -cf main.$OBB_IMG_VERSION.com.winlator.obb -C imagefs . - -rm -r imagefs \ No newline at end of file diff --git a/obb_image_generator/patches.txz b/obb_image_generator/patches.txz deleted file mode 100644 index f9afb7e0..00000000 --- a/obb_image_generator/patches.txz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:81b664900f48a282d5c0fd0ad4c52d88db55b6547751a1d760412539271661dc -size 148307140 diff --git a/obb_image_generator/prepare-ubuntu.sh b/obb_image_generator/prepare-ubuntu.sh deleted file mode 100644 index 4dfa4036..00000000 --- a/obb_image_generator/prepare-ubuntu.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash - -# This script must be run from within rootfs - -export PATH - -clear - -chmod -R 777 /tmp - -dpkg --add-architecture armhf - -apt update - -apt install -y locales -locale-gen --no-archive en_US.utf8 - -#wine dependencies (armhf) -apt install -y libasound2:armhf libpulse0:armhf libc6:armhf libglib2.0-0:armhf libgstreamer1.0-0:armhf gstreamer1.0-plugins-base:armhf gstreamer1.0-plugins-good:armhf gstreamer1.0-plugins-ugly:armhf gstreamer1.0-libav:armhf libx11-6:armhf libxext6:armhf libfreetype6:armhf libglu1-mesa:armhf libosmesa6:armhf libxcomposite1:armhf libxcursor1:armhf libxfixes3:armhf libxi6:armhf libxrandr2:armhf libxrender1:armhf libxcb-randr0:armhf libxcb-xfixes0:armhf libwayland-client0:armhf libvulkan1:armhf libopenal1:armhf - -#wine dependencies (arm64) -apt install -y libasound2:arm64 libpulse0:arm64 libc6:arm64 libglib2.0-0:arm64 libgstreamer1.0-0:arm64 gstreamer1.0-plugins-base:arm64 gstreamer1.0-plugins-good:arm64 gstreamer1.0-plugins-ugly:arm64 gstreamer1.0-libav:arm64 libx11-6:arm64 libxext6:arm64 libfreetype6:arm64 libglu1-mesa:arm64 libosmesa6:arm64 libxcomposite1:arm64 libxcursor1:arm64 libxfixes3:arm64 libxi6:arm64 libxrandr2:arm64 libxrender1:arm64 libxcb-randr0:arm64 libxcb-xfixes0:arm64 libwayland-client0:arm64 libvulkan1:arm64 libopenal1:arm64 - -apt autoremove -y -apt clean - -cd /usr/lib/arm-linux-gnueabihf -rm -r dri -rm -r libLLVM-9.so -rm -r libLLVM-9.so.1 - -cd /usr/lib/aarch64-linux-gnu -rm -r dri -rm -r libLLVM-9.so -rm -r libLLVM-9.so.1 - -rm -r /root/prepare-ubuntu.sh -rm -r /var/lib/apt/lists/* - -exit \ No newline at end of file diff --git a/obb_image_generator/ubuntu-prepared.txz b/obb_image_generator/ubuntu-prepared.txz deleted file mode 100644 index b868c68d..00000000 --- a/obb_image_generator/ubuntu-prepared.txz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ae312aaa6c4aa8be0e85871c723868f902625c21501cb00b317ec11da0e78acc -size 178669964 diff --git a/obb_image_generator/wine.txz b/obb_image_generator/wine.txz deleted file mode 100644 index e2fa819a..00000000 --- a/obb_image_generator/wine.txz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fa600e26aa624b7c9b28451cf55f3ed036f6cd5553ac75558bb6f49e1db42d42 -size 56536008