Skip to content

install to-filesystem: look into the container for grub configs with --src-imgref #1559

@jbtrystram

Description

@jbtrystram

When using --src-imgref, bootupd fetches the static configs from the host rather than the destination container.

An easy way around would be to chroot to the deployed path before the bootupd invocation (this would have the added bonus of using the bootupd binary that is shipped into the image rather than the one in the host).

e.g like in https://github.com/osbuild/osbuild/blob/main/stages/org.osbuild.bootupd

When building FCOS i got only the configs that exist in COSA rather than what is in the container (thus missing the ignition fragment)

Related: #1455

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/bootloaderIssues related to bootloaders and/or bootupdarea/installIssues related to `bootc install`

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions