1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:57:44 +00:00

Meta+CMake: Remove "image" ninja target in favor of "qemu-image"

"image" was an alias for "qemu-image".

I want to add an `image` userland utility, which clashes with that
shortname.

So remove the existing "image" target. It was just an alias for
"qemu-image".

If you use serenity.sh to build, nothing changes. This only affects you
if you run ninja manually -- you now have to say `ninja qemu-image` to
build the disk image.
This commit is contained in:
Nico Weber 2023-03-11 20:12:37 -05:00 committed by Linus Groh
parent 952222ec4d
commit 3cff36b7ab
5 changed files with 6 additions and 10 deletions

View file

@ -65,7 +65,7 @@ jobs:
CCACHE_DIR: '$(SERENITY_CCACHE_DIR)'
- script: |
ninja install && ninja image
ninja install && ninja qemu-image
displayName: 'Create RootFS'
workingDirectory: $(Build.SourcesDirectory)/Build/${{ parameters.arch }}clang

View file

@ -283,7 +283,7 @@ build_image() {
if [ "$SERENITY_RUN" = "limine" ]; then
build_target limine-image
else
build_target image
build_target qemu-image
fi
}