mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
* Add shebangs for shellcheck See #AR-1406 * Add shebangs for shellcheck Also for `extensions` scripts
15 lines
471 B
Bash
15 lines
471 B
Bash
#!/usr/bin/env bash
|
|
function pre_install_kernel_debs__build_nvidia_kernel_module() {
|
|
|
|
export INSTALL_HEADERS="yes"
|
|
|
|
}
|
|
|
|
function post_install_kernel_debs__build_nvidia_kernel_module() {
|
|
|
|
display_alert "Build kernel module" "${EXTENSION}" "info"
|
|
chroot "${SDCARD}" /bin/bash -c "apt -y -qq install nvidia-dkms-510 nvidia-driver-510 nvidia-settings nvidia-common" >> "$DEST"/"${LOG_SUBPATH}"/install.log 2>&1 || {
|
|
exit_with_error "${install_grub_cmdline} failed!"
|
|
}
|
|
}
|