Bump Kernels

This commit is contained in:
Mario Fetka
2012-01-17 06:48:33 +01:00
parent 2ac35bcb18
commit 26c180d918
41 changed files with 477 additions and 7 deletions

View File

@@ -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() {