Skip to content

Add Kernel Build Functionality from Source to ks-nav #25

@alessandrocarminati

Description

@alessandrocarminati

Description

The tool needs to be enhanced to include functionality for building the kernel from source code.
Currently, the tool operates on a prebuilt kernel source tree.
With this new feature, the tool should be able to operate on the source tree and build the kernel artifact on its own.

The tool should be designed to accept a configuration file and the kernel source tree directory, build the kernel, and then initiate database operations.
Additionally, the tool must be capable of recognizing a git repository.
If an additional hash string is provided, the tool should checkout the given hash and then proceed with the build.

To ensure a successful build, the tool must be able to determine the target architecture from the configuration file and execute the necessary commands without requiring any additional user input.

Acceptance Criteria

  1. Kernel Build Capability:
    • The tool must be able to build the kernel from the provided source tree and configuration file.
  2. Configuration File and Source Tree Input:
    • The tool must accept a configuration file and the directory of the kernel source tree as input parameters.
  3. Database Operations Initiation:
    • Post kernel build, the tool should automatically initiate database operations.
  4. Git Repository Awareness:
    • The tool should recognize if the kernel source is within a git repository.
    • If an additional hash string is provided, the tool must be able to checkout the given hash before starting the build process.
  5. Target Architecture Detection:
    • The tool must automatically determine the target architecture from the provided configuration file.
    • The tool should execute the necessary build commands for the identified architecture without requiring further user input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions