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

fix(kraft): Only accept single target in utils.BuildRootfs #1596

Commits on Apr 24, 2024

  1. fix(kraft): Only accept single target in utils.BuildRootfs

    This commit fixes a number of issues simultaneously by removing
    the ability to build multiple targets at once in the utility
    method `BuildRootfs`;
    
    1. The resulting rootfs string would be overwritten by the last
       build rootfs, resulting in potential mismatch between
       the resulting architecture of the rootfs;
    2. Returning the discovered command-line and environmental
       variables as a single slice, preventing duplication;
    3. Appending environmental variables to user-supplied ones
       made with the `-e` flag.
    
    Signed-off-by: Alexander Jung <alex@unikraft.io>
    nderjung committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    67bb2c8 View commit details
    Browse the repository at this point in the history