mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 17:06:58 +02:00
base/coreos: add ignition as a Flatcar dependency
We add `sys-apps/ignition` as a `coreos-base/coreos` dependency to get `/usr/libexec/ignition-rmcfg` available on the _real_ root. Now we want `/usr/bin/ignition` to be in the chroot until it's being copied to the initramfs but we don't want it on the actual root. With `PKG_INSTALL_MASK`, we'll prevent `/usr/bin/ignition` to be added to the image in the `./build_image` - at this time, initramfs is already created and `sys-apps/ignition` is a binary package. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
parent
134c67aea8
commit
66733328c6
@ -152,6 +152,7 @@ RDEPEND="${RDEPEND}
|
||||
sys-apps/gawk
|
||||
sys-apps/gptfdisk
|
||||
sys-apps/grep
|
||||
sys-apps/ignition
|
||||
sys-apps/iproute2
|
||||
sys-apps/kexec-tools
|
||||
sys-apps/keyutils
|
||||
|
@ -87,6 +87,11 @@ INSTALL_MASK="
|
||||
/etc/acpi
|
||||
"
|
||||
|
||||
# Prevent 'ignition' binary from being installed from sys-apps/ignition binary package.
|
||||
PKG_INSTALL_MASK="
|
||||
/usr/bin/ignition
|
||||
"
|
||||
|
||||
# Keep the default languages small.
|
||||
# (not many things respect this though)
|
||||
LINGUAS="en"
|
||||
|
Loading…
Reference in New Issue
Block a user