aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/kernel/package.az
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/package/kernel/package.az')
-rw-r--r--internal/rosa/package/kernel/package.az9
1 files changed, 8 insertions, 1 deletions
diff --git a/internal/rosa/package/kernel/package.az b/internal/rosa/package/kernel/package.az
index 2f28e1d2..3f5c5c36 100644
--- a/internal/rosa/package/kernel/package.az
+++ b/internal/rosa/package/kernel/package.az
@@ -100,6 +100,8 @@ package kernel {
".installkernel": "installkernel";
".depmod": "depmod";
+
+ "/system/oldconfig": "oldconfig";
};
env = [
@@ -143,10 +145,15 @@ install -Dm0500 \
"KBUILD_BUILD_TIMESTAMP='2106-02-07 06:28:15 UTC'",
"KBUILD_BUILD_USER=kbuild",
"KBUILD_BUILD_HOST=localhost",
- "all",
+ `"${ROSA_MAKE_TARGET:-all}"`,
];
install = `
+if [ -n "${ROSA_MAKE_TARGET+x}" ]; then
+ mv -fv /tmp/kbuild/.config /work
+ exit 0
+fi
+
# kernel is not aware of kmod moduledir
install -Dm0500 \
/usr/src/.depmod \