ostree-image-creator, or oic, is a tool to create live and disk images
for an OSTree-based operating system.
oic provides the following subcommands:
- resolve: expands variables and expressions in the manifest file and prints it to the screen.
- build: builds an image.
You need Go installed.
On Fedora:
sudo dnf install -y golangThis programs also use the OSTree library:
sudo dnf install -y ostree-develAnd the following tools to make images:
sudo dnf install -y \
coreutils \
util-linux \
e2fsprogs \
dosfstools \
ostree \
genisoimage \
xorriso \
isomd5sum \
syslinux \
squashfs-tools \
grub2Download all the Go dependencies:
go mod downloadBuild with:
makeInstall with:
make installThe default prefix is /usr/local but you can specify another one:
make install PREFIX=/usrAnd you can also relocate the binaries, this is particularly useful when building packages:
...
%install
make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
...
Licensed under the terms of the GNU General Public License version 3 or, at your option, any later version.