Skip to content

📀 Tools to create images for OSTree-based operating systems (also known as oic)

License

Notifications You must be signed in to change notification settings

lirios/ostree-image-creator

Repository files navigation

ostree-image-creator

License GitHub release GitHub issues CI

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.

Dependencies

You need Go installed.

On Fedora:

sudo dnf install -y golang

This programs also use the OSTree library:

sudo dnf install -y ostree-devel

And the following tools to make images:

sudo dnf install -y \
    coreutils \
    util-linux \
    e2fsprogs \
    dosfstools \
    ostree \
    genisoimage \
    xorriso \
    isomd5sum \
    syslinux \
    squashfs-tools \
    grub2

Download all the Go dependencies:

go mod download

Build

Build with:

make

Install

Install with:

make install

The default prefix is /usr/local but you can specify another one:

make install PREFIX=/usr

And you can also relocate the binaries, this is particularly useful when building packages:

...

%install
make install DESTDIR=%{buildroot} PREFIX=%{_prefix}

...

Licensing

Licensed under the terms of the GNU General Public License version 3 or, at your option, any later version.

About

📀 Tools to create images for OSTree-based operating systems (also known as oic)

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published