Revert "ramdisk: try to remove faulty patch"

This reverts commit fae50da982.
This commit is contained in:
AuxXxilium
2024-05-11 21:58:32 +02:00
parent 93341702cd
commit cc9d6fa074
2 changed files with 2 additions and 1 deletions

View File

@@ -115,6 +115,7 @@ if [ $(echo "${KVER:-4}" | cut -d'.' -f1) -lt 5 ]; then
CMDLINE['synoboot_satadom']="${SATADOM:-2}"
CMDLINE['dom_szmax']="${SIZE}"
fi
CMDLINE["elevator"]="elevator"
fi
if [ "${DT}" = "true" ]; then
CMDLINE["syno_ttyS0"]="serial,0x3f8"

View File

@@ -143,7 +143,7 @@ rm -f "${TMP_PATH}/rp.txt"
installModules "${PLATFORM}" "${KVERP}" "${!MODULES[@]}" || exit 1
# Copying fake modprobe
# cp -f "${PATCH_PATH}/iosched-trampoline.sh" "${RAMDISK_PATH}/usr/sbin/modprobe"
cp -f "${PATCH_PATH}/iosched-trampoline.sh" "${RAMDISK_PATH}/usr/sbin/modprobe"
# Copying LKM to /usr/lib/modules
gzip -dc "${LKM_PATH}/rp-${PLATFORM}-${KVERP}-${LKM}.ko.gz" >"${RAMDISK_PATH}/usr/lib/modules/rp.ko" 2>"${LOG_FILE}" || exit 1