Skip to content

Improvement: Create Bazel rules for generating Image File System using QNX 8 tools (mkifs) #10

@nradakovic

Description

@nradakovic

Description:

We need to create custom Bazel rules to generate an Image File System (IFS) using QNX 8 tools, specifically mkifs. The goal is to integrate the IFS generation process into our Bazel-based build system to ensure reproducibility and ease of use for developers.

Requirements:

  • Implement a Bazel rule that invokes mkifs to generate the IFS.
  • Allow configuration of input files (startup scripts, binaries, configuration files, etc.).
  • Support specifying the .build file for mkifs.
  • Ensure dependencies (e.g., required libraries and binaries) are correctly handled within Bazel.
  • Provide a way to validate the generated IFS image.

Expected Outcome:

  • A working Bazel rule that produces an IFS file as an output artifact.
  • Integration with existing Bazel workflows.
  • Documentation on how to use the rule.

Additional Context:

  • The rule should be designed to work within a Bazel project that already includes other QNX-related build steps.
  • Potential challenges include handling dependencies and ensuring correct execution environment for mkifs.
    Relevant links (if any):

Would love to hear thoughts, feedback, or suggestions! 🚀

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No fields configured for Task.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions