Skip to content

build: add images Makefile, update gitignore#243

Open
amd-aliem wants to merge 2 commits into
AMDEPYC:mainfrom
amd-aliem:dev-image-build
Open

build: add images Makefile, update gitignore#243
amd-aliem wants to merge 2 commits into
AMDEPYC:mainfrom
amd-aliem:dev-image-build

Conversation

@amd-aliem
Copy link
Copy Markdown
Contributor

Some small changes to improve dev experience:

  • Makefile for building mkosi images by name.
  • README covers usage and the Ubuntu AppArmor workaround.
  • Gitignore updated for mkosi build outputs.

Makefile Targets:

  • make list: show available images
  • make status: show built images and their artifacts
  • make <image>: build one image (make host-fedora-41)
  • make all: build every image
  • make clean-<image>: clean one image (make clean-host-fedora-41)
  • make clean: clean every image

Copilot AI review requested due to automatic review settings May 20, 2026 16:21
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves the developer workflow for building SEV-SNP host/guest mkosi images by adding a dedicated images/ Makefile, documenting image naming/build usage, and ignoring mkosi-generated build artifacts in Git.

Changes:

  • Add images/Makefile with targets to list, build, clean, and inspect mkosi images by directory name.
  • Add images/README.md documenting naming conventions, Makefile usage, and an Ubuntu AppArmor workaround.
  • Update .gitignore to exclude mkosi build outputs under images/*/.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.

File Description
images/README.md Documents image naming/build usage and Ubuntu AppArmor workaround.
images/Makefile Adds Make targets to build/clean/list/status mkosi images by image directory name.
.gitignore Ignores mkosi artifacts produced under images/*/.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread images/Makefile
Comment thread images/README.md
Comment thread images/README.md
Signed-off-by: Amanda Liem <aliem@amd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants