From 4bf33f4bcf09e0a84c78a63a9071e2bc411a1dce Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 25 Jan 2017 15:16:15 -0800 Subject: [PATCH] sys-kernel/README: Document use of slot operators in coreos-kernel --- .../src/third_party/coreos-overlay/sys-kernel/README | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/coreos-overlay/sys-kernel/README b/sdk_container/src/third_party/coreos-overlay/sys-kernel/README index fb0d796bf2..143f31d051 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-kernel/README +++ b/sdk_container/src/third_party/coreos-overlay/sys-kernel/README @@ -20,7 +20,11 @@ for using the same rules - for example: - commonconfig coreos-kernel uses the installed sources and coreos-modules to build the -kernel image and initramfs. +kernel image and initramfs. Many of its build dependencies are copied into +the initramfs by dracut, and several of these are significant enough that we +want to rebuild coreos-kernel whenever they change. Such packages set their +sub-slot to their ${PVR}, and then coreos-kernel DEPENDs on them using a +slot operator (":=") to force a rebuild whenever their sub-slot changes. Currently our dracut based initramfs (bootengine) gets built directly into the kernel image. The reason for this screwy scheme never came to pass and