mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 02:29:53 +07:00
ramdisk: fix
This commit is contained in:
parent
8f5a1042a9
commit
4f981aea94
@ -142,7 +142,7 @@ rm -f "${TMP_PATH}/rp.txt"
|
|||||||
installModules "${PLATFORM}" "${KVERP}" "${!MODULES[@]}" || exit 1
|
installModules "${PLATFORM}" "${KVERP}" "${!MODULES[@]}" || exit 1
|
||||||
|
|
||||||
# Copying fake modprobe
|
# Copying fake modprobe
|
||||||
[ $(echo "${KVER:-4}" | cut -d'.' -f1) -lt 5 ] && cp -f "${WORK_PATH}/patch/iosched-trampoline.sh" "${RAMDISK_PATH}/usr/sbin/modprobe"
|
[ $(echo "${KVER:-4}" | cut -d'.' -f1) -lt 5 ] && cp -f "${PATCH_PATH}/iosched-trampoline.sh" "${RAMDISK_PATH}/usr/sbin/modprobe"
|
||||||
# Copying LKM to /usr/lib/modules
|
# Copying LKM to /usr/lib/modules
|
||||||
gzip -dc "${LKMS_PATH}/rp-${PLATFORM}-${KVERP}-${LKM}.ko.gz" >"${RAMDISK_PATH}/usr/lib/modules/rp.ko" 2>"${LOG_FILE}" || exit 1
|
gzip -dc "${LKMS_PATH}/rp-${PLATFORM}-${KVERP}-${LKM}.ko.gz" >"${RAMDISK_PATH}/usr/lib/modules/rp.ko" 2>"${LOG_FILE}" || exit 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user