2021-10-25 11:13:00 +03:00
. \" Copyright (C) 2010-2020 Michael Shigorin <mike@altlinux.org>
2024-02-07 07:53:07 +03:00
. \" Copyright (C) 2020-2024 Anton Midyukov <antohami@altlinux.org>
2016-02-08 20:07:56 +03:00
. \"
. \" Documentation for mkimage-profiles project.
. \"
. \" This file is free software; you can redistribute it and/or modify
. \" it under the terms of the GNU General Public License as published by
. \" the Free Software Foundation; either version 2 of the License, or
. \" (at your option) any later version.
. \"
. \" This program is distributed in the hope that it will be useful,
. \" but WITHOUT ANY WARRANTY; without even the implied warranty of
. \" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
. \" GNU General Public License for more details.
. \"
. \" You should have received a copy of the GNU General Public License
. \" along with this program; if not, write to the Free Software
. \" Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
. \"
2024-03-04 08:36:06 +03:00
.TH "MKIMAGE-PROFILES" "mkimage-profiles" "ALT"
2016-02-08 20:07:56 +03:00
.SH "NAME"
2017-06-09 19:31:42 +03:00
mkimage-profiles \- ALT distribution family metaprofile
2016-02-08 20:07:56 +03:00
.SH "SYNOPSIS"
.B make
.IR "" [ options ]
.I "" [ <goal> ... ]
.SH "DESCRIPTION"
.BR mkimage-profiles
2017-06-09 19:31:42 +03:00
builds operating environment images based on ALT package repositories.
2016-02-08 20:07:56 +03:00
Run
.BR make\ help
to obtain list of available goals.
.SH "PREREQUISITES"
mkimage-profiles only needs
.BR make(1)
and
.BR rsync(1)
to generate the build profile;
.BR mkimage
is used to actually run the build (which involves
.BR hasher(7)
quite a few times).
.BR git(1)
will be used if available so that the generated profile is an annotated
git repository;
.BR graphviz(1)
can be used to obtain build dependency graphs.
.SH "RATIONALE"
Long time ago when Linux distribution images were worked upon by hand
there was little need for generalization and sharing the common base.
2017-06-09 19:31:42 +03:00
Building several "generic" ALT{, Linux} distros in a team and maintaining
2016-02-08 20:07:56 +03:00
their educational flavours at the same time proved the need to be able
to describe what's common and what's different in a way that doesn't
resemble more or less complete forks.
Enter mkimage-profiles: choose what's closest to your dream image
and add what's missing, or roll on your own using the rich library
of existing parts and bits.
.SH "REQUIREMENTS"
2017-06-09 19:31:42 +03:00
The next-generation image build system for ALT must:
2016-02-08 20:07:56 +03:00
.TP
1.
provide reasonable means to describe common/differing aspects within
image families;
.TP
2.
ensure reproducible build results;
.TP
3.
support distribution family maintenance workflows
observed in the wild (e.g., with
.BR mkimage-profiles-desktop
or earlier);
.TP
4.
help out with diagnosing build problems.
.SH "ARCHITECTURE"
.BR mkimage-profiles
implements four steps to achieve the above goals:
.TP
1.
initialize the off-tree mkimage profile (BUILDDIR);
.TP
2.
build up distribution's configuration there;
.TP
3.
copy over the needed subprofiles/features/lists/groups;
.TP
4.
build the ISO/VE/VM image.
.PP
This results in a compact "as-needed" style per-image profile that can
be actually studied in a short amount of time and might get included
into the generated image as a tarball for better reproducibility.
.SH "EXAMPLES"
.BR make\ syslinux.iso
should result in a minimal bootable ISO image.
Another example is Regular Builds project yielding weekly images:
2021-10-25 11:13:00 +03:00
.BR https://en.altlinux.org/regular
2016-02-08 20:07:56 +03:00
.SH "AUTHOR"
2021-10-25 11:13:00 +03:00
Written by Michael Shigorin <mike@altlinux.org>, Anton Midyukov <antohami@altlinux.org>
2016-02-08 20:07:56 +03:00
.SH "REPORTING BUGS"
2021-10-25 11:13:00 +03:00
Report bugs to https://bugzilla.altlinux.org
2016-02-08 20:07:56 +03:00
.br
(Sisyphus project, mkimage-profiles component).
.SH "COPYRIGHT"
2024-03-04 08:36:06 +03:00
Copyright \(co ) 2010-2020 Michael Shigorin <mike@altlinux.org>, 2020-2024 Anton Midyukov <antohami@altlinux.org>
2016-02-08 20:07:56 +03:00
.br
This is free software; see the source for copying conditions.
There is NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.
.SH "FURTHER READING"
First and foremost:
.BR /usr/share/mkimage-profiles/QUICKSTART
Please refer to
.BR README
files in the tree starting with the toplevel one for more
information; these can be assembled into a handbook using
.BR asciidoc(1)
(available at
2021-10-25 11:13:00 +03:00
.BR https://nightly.altlinux.org/docs/
2016-02-08 20:07:56 +03:00
as weekly HTML/PDF updates).
Specific topics are covered within
.BR doc/
subdirectory; e.g.
.BR make
options are described in
.BR doc/params.txt
file.
.SH "SEE ALSO"
.br
.BR hsh(1),
.BR mkimage,
.br
2021-10-25 11:13:00 +03:00
.BR https://www.vimeo.com/23522095