mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
Merge pull request #171 from fbelavenuto/fix-eudev
addon eudev with RAID mount bug fixed
This commit is contained in:
commit
439d6be55b
@ -109,6 +109,8 @@ echo -n "."
|
|||||||
mkdir -p "${RAMDISK_PATH}/addons"
|
mkdir -p "${RAMDISK_PATH}/addons"
|
||||||
echo "#!/bin/sh" > "${RAMDISK_PATH}/addons/addons.sh"
|
echo "#!/bin/sh" > "${RAMDISK_PATH}/addons/addons.sh"
|
||||||
echo 'echo "addons.sh called with params ${@}"' >> "${RAMDISK_PATH}/addons/addons.sh"
|
echo 'echo "addons.sh called with params ${@}"' >> "${RAMDISK_PATH}/addons/addons.sh"
|
||||||
|
chmod +x "${RAMDISK_PATH}/addons/addons.sh"
|
||||||
|
|
||||||
# Required eudev and dtbpatch/maxdisks
|
# Required eudev and dtbpatch/maxdisks
|
||||||
installAddon eudev
|
installAddon eudev
|
||||||
echo "/addons/eudev.sh \${1} " >> "${RAMDISK_PATH}/addons/addons.sh" 2>"${LOG_FILE}" || dieLog
|
echo "/addons/eudev.sh \${1} " >> "${RAMDISK_PATH}/addons/addons.sh" 2>"${LOG_FILE}" || dieLog
|
||||||
@ -128,7 +130,6 @@ for ADDON in ${!ADDONS[@]}; do
|
|||||||
fi
|
fi
|
||||||
echo "/addons/${ADDON}.sh \${1} ${PARAMS}" >> "${RAMDISK_PATH}/addons/addons.sh" 2>"${LOG_FILE}" || dieLog
|
echo "/addons/${ADDON}.sh \${1} ${PARAMS}" >> "${RAMDISK_PATH}/addons/addons.sh" 2>"${LOG_FILE}" || dieLog
|
||||||
done
|
done
|
||||||
chmod +x "${RAMDISK_PATH}/addons/addons.sh"
|
|
||||||
|
|
||||||
# Build modules dependencies
|
# Build modules dependencies
|
||||||
/opt/arpl/depmod -a -b ${RAMDISK_PATH} 2>/dev/null
|
/opt/arpl/depmod -a -b ${RAMDISK_PATH} 2>/dev/null
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,8 +1,9 @@
|
|||||||
version: 1
|
version: 1
|
||||||
name: misc
|
name: misc
|
||||||
description: "Fix missing HW features dependencies"
|
description: "Miscellaneous functions"
|
||||||
all:
|
all:
|
||||||
install-script: "install.sh"
|
install-script: "install.sh"
|
||||||
|
copy: "all"
|
||||||
available-for:
|
available-for:
|
||||||
bromolow-3.10.108:
|
bromolow-3.10.108:
|
||||||
apollolake-4.4.180:
|
apollolake-4.4.180:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user