Skip to content

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

Closed

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

Activity

  1. added
    area/install
    on Aug 28, 2025
  2. jbtrystram commented on Aug 28, 2025

    @jbtrystram
    ContributorAuthor

    Hmmm maybe it's more a bug in bootupd because we already specify --src-root.

  3. cgwalters commented on Aug 28, 2025

    @cgwalters
    Member

    Yeah this is probably a bootupd bug.

    That said it would also be really nice always run bootupd from the target root, we can totally do that, it just requires some plumbing work.

  4. added
    area/bootloader
    on Aug 28, 2025
  5. added theissue type on Aug 28, 2025
  6. cgwalters commented on Aug 29, 2025

    @cgwalters
    Member

    This was fixed by coreos/bootupd#990

  7. 3 remaining items

  8. added a commit that references this issue on Feb 3, 2026
  9. added a commit that references this issue on Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/bootloaderarea/install

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions