summaryrefslogtreecommitdiffstats
path: root/meta-oe/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/classes')
-rw-r--r--meta-oe/classes/kernel.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass
index 19bea292c..7c9bb10ef 100644
--- a/meta-oe/classes/kernel.bbclass
+++ b/meta-oe/classes/kernel.bbclass
@@ -203,6 +203,12 @@ kernel_do_configure() {
203 203
204do_configure[depends] += "${INITRAMFS_TASK}" 204do_configure[depends] += "${INITRAMFS_TASK}"
205 205
206do_savedefconfig() {
207 oe_runmake savedefconfig
208}
209do_savedefconfig[nostamp] = "1"
210addtask savedefconfig after do_configure
211
206pkg_postinst_kernel () { 212pkg_postinst_kernel () {
207 cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true 213 cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE} ${KERNEL_IMAGETYPE}-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true
208} 214}