Bump Kernels
This commit is contained in:
@@ -762,19 +762,16 @@ _kernel_src_install() {
|
||||
|
||||
|
||||
# copy firmware config file to propper location
|
||||
insinto "/etc"
|
||||
if [ -n "${K_NASKERNEL_SELF_TARBALL_NAME}" ]; then
|
||||
local base_path="${S}/sablink/config"
|
||||
if [ -f "${base_path}/${K_NASKERNEL_FW_CONFIG_FILE}" ]; then
|
||||
# PVR path (old)
|
||||
newins "${base_path}/${K_NASKERNEL_FW_CONFIG_FILE}" "fw_env.config.${K_NASKERNEL_NAME}" || die "cannot copy firmware config"
|
||||
fi
|
||||
cp "${base_path}/${K_NASKERNEL_FW_CONFIG_FILE}" "${D}/etc/fw_env.config.${K_NASKERNEL_NAME}" || die "cannot copy firmware config"
|
||||
else
|
||||
if [ "${K_NASKERNEL_URI_CONFIG}" = "no" ]; then
|
||||
newins "${DISTDIR}/${K_NASKERNEL_FW_CONFIG_FILE}" "fw_env.config.${K_NASKERNEL_NAME}" || die "cannot copy firmware config"
|
||||
cp "${FILESDIR}/${PF/-r0/}-${ARCH}.config" "${D}/etc/fw_env.config.${K_NASKERNEL_NAME}" || die "cannot copy firmware config"
|
||||
else
|
||||
cp "${DISTDIR}/${K_NASKERNEL_FW_CONFIG_FILE}" "${D}/etc/fw_env.config.${K_NASKERNEL_NAME}" || die "cannot copy firmware config"
|
||||
fi
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
nas-kernel_pkg_preinst() {
|
||||
|
||||
Reference in New Issue
Block a user