From e5a976db770e65a863822a1fcbee897c05112007 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Mon, 29 Jan 2024 23:12:21 +0100 Subject: [PATCH 1/2] eudev: disable all copy to system partition Signed-off-by: AuxXxilium --- eudev/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eudev/install.sh b/eudev/install.sh index 6ccad400..f790dbcb 100755 --- a/eudev/install.sh +++ b/eudev/install.sh @@ -35,7 +35,7 @@ elif [ "${1}" = "late" ]; then echo "eudev: copy Modules and Firmware for ${ModuleUnique}" export LD_LIBRARY_PATH=/tmpRoot/bin:/tmpRoot/lib - /tmpRoot/bin/cp -vrf /usr/lib/firmware/* /tmpRoot/usr/lib/firmware/ + #/tmpRoot/bin/cp -vrf /usr/lib/firmware/* /tmpRoot/usr/lib/firmware/ #if [ ! "${ModuleUnique}" = "synology_epyc7002_sa6400" ]; then # /tmpRoot/bin/cp -vrf /usr/lib/modules/* /tmpRoot/usr/lib/modules/ # /usr/sbin/depmod -a -b /tmpRoot/ From 5a2ed192aaf22065c4754ad77fd3cf2d4253040c Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Mon, 29 Jan 2024 23:37:43 +0100 Subject: [PATCH 2/2] eudev: do not export ld Signed-off-by: AuxXxilium --- eudev/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eudev/install.sh b/eudev/install.sh index f790dbcb..3c812450 100755 --- a/eudev/install.sh +++ b/eudev/install.sh @@ -34,7 +34,7 @@ elif [ "${1}" = "late" ]; then echo "Starting eudev daemon - late" echo "eudev: copy Modules and Firmware for ${ModuleUnique}" - export LD_LIBRARY_PATH=/tmpRoot/bin:/tmpRoot/lib + #export LD_LIBRARY_PATH=/tmpRoot/bin:/tmpRoot/lib #/tmpRoot/bin/cp -vrf /usr/lib/firmware/* /tmpRoot/usr/lib/firmware/ #if [ ! "${ModuleUnique}" = "synology_epyc7002_sa6400" ]; then # /tmpRoot/bin/cp -vrf /usr/lib/modules/* /tmpRoot/usr/lib/modules/