Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alessandrocarminati opened this issue May 31, 2024 · 0 comments
Open

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

alessandrocarminati opened this issue May 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@alessandrocarminati
Copy link
Collaborator

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.
@alessandrocarminati alessandrocarminati added the enhancement New feature or request label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant