diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2021-02-26 23:04:15 +0300 |
---|---|---|
committer | Emmanuel Vadot <manu@freebsd.org> | 2021-03-29 17:03:27 +0300 |
commit | b768a3692998f948039b05405eb5a7ea62614b70 (patch) | |
tree | 56b2822fb276ed0d368a9669a13d2576d4358b1d /Makefile.am | |
parent | 3a0a384238a81ff425d1b72a29b79f9bb46fc540 (diff) |
image: Split the different image type in their own file
This is easier to maintain and read.
Each image type have a _check, _prepare, _build and _generate function.
_check validate that every needed options is passed.
_prepare will create the disk image when it's needed (i.e. dump type etc..)
_build will build the root image.
_generate will finalize the image
For each image type we can have subtype, expressed in the name with a +subtype
So we now have a common path for usb+mfs and iso+mfs in the mfs creation for
example.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index fe003371..6f43940c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -62,6 +62,14 @@ dist_pkgdata_DATA= \ src/share/poudriere/distclean.sh \ src/share/poudriere/foreachport.sh \ src/share/poudriere/image.sh \ + src/share/poudriere/image_dump.sh \ + src/share/poudriere/image_firmware.sh \ + src/share/poudriere/image_iso.sh \ + src/share/poudriere/image_mfs.sh \ + src/share/poudriere/image_rawdisk.sh \ + src/share/poudriere/image_tar.sh \ + src/share/poudriere/image_usb.sh \ + src/share/poudriere/image_zsnapshot.sh \ src/share/poudriere/jail.sh \ src/share/poudriere/logclean.sh \ src/share/poudriere/options.sh \ |