More slimming, largely of variables.
This commit is contained in:
1 parent
59a3fd49dc
commit
96a86c132c
5 files changed
+3
-110
No files matched your search
@@ -66,9 +66,7 @@ help:
|
||||
@echo
|
||||
@echo Other extensions are also supported:
|
||||
@echo \ \* .repo: Generate a repo with an ostree commit \(only works for ostree targets\)
|
||||
@echo \ \* .rootfs: Generate a directory with the rootfs content
|
||||
@echo \ \* .tar: Generate a tar file with the rootfs content
|
||||
@echo \ \* .ext4: Generate an ext4 filesystem with the rootfs content \(size from \"image_size\"\)
|
||||
@echo \ \* oci.tar: Generate an oci container image with the rootfs content
|
||||
@echo
|
||||
@echo You can pass variable declarations to osbuild-mpp with the DEFINES make variable.
|
||||
@@ -76,9 +74,6 @@ help:
|
||||
@echo For example, to add extra rpms to a minimal regular image, use:
|
||||
@echo " make cs9-qemu-minimal-regular.$(HOST_ARCH).qcow2 DEFINES='extra_rpms=[\"gdb\",\"strace\"]'"
|
||||
@echo
|
||||
@echo To easily run the image with qemu, you can use the included runvm tool, like:
|
||||
@echo \ \ ./runvm cs9-qemu-minimal-regular.$(HOST_ARCH).qcow2
|
||||
@echo
|
||||
@echo There are some additional targets:
|
||||
@echo \ \ manifests: generates resolved json manifests for all images without building them.
|
||||
@echo \ \ clean_caches: Removes intermediate image build artifacts \(that improve rebuild speed\)
|
||||
@@ -86,8 +81,6 @@ help:
|
||||
@echo \ \ clean: Run clean_caches and clean_downloads
|
||||
@echo
|
||||
@echo There are also some common conversion rules:
|
||||
@echo \ \ foo.ext4.simg will build foo.ext4 and then convert it with img2simg
|
||||
@echo \ \ foo.simg will build foo.img and then convert it with img2simg
|
||||
@echo \ \ foo.tar.gz will build $foo.tar and then gzip it
|
||||
@echo
|
||||
@echo "When building a custom variant of an image (say with an extra package) you can use a"
|
||||
@@ -180,13 +173,5 @@ clean: clean_downloads clean_caches
|
||||
VM_SUDO=sudo
|
||||
VM_OSBUILD=sudo osbuild
|
||||
|
||||
%.ext4.simg : %.ext4
|
||||
img2simg $< $@
|
||||
rm $<
|
||||
|
||||
%.simg : %.img
|
||||
img2simg $< $@
|
||||
rm $<
|
||||
|
||||
%.tar.gz : %.tar
|
||||
gzip -f $<
|
||||
Reference in new issue
Block a user