Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37704450
en ru br
ALT Linux repos
S:16-alt1

Group :: Development/Other
RPM: genimage

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# Unpackaged files in buildroot should terminate build
%define _unpackaged_files_terminate_build 1

%ifarch %ix86 x86_64 aarch64 ppc64le
%def_enable QEMU
%endif
%ifarch %ix86 x86_64 aarch64 %arm
%def_enable UBOOT
%endif

Name: genimage
Version: 16
Release: alt1

Summary: Tool to generate multiple filesystem and flash images

License: GPL-2.0
Group: Development/Other
Url: https://github.com/pengutronix/genimage

Source: %name-%version.tar

BuildRequires: libconfuse-devel

# for check


BuildRequires: genext2fs e2fsprogs /proc
BuildRequires: sfdisk fdisk
BuildRequires: dosfstools
BuildRequires: genisoimage
BuildRequires: squashfs-tools
BuildRequires: mtd-utils
BuildRequires: mtools
%{?_enable_UBOOT:BuildRequires: dtc u-boot-tools}
%{?_enable_QEMU:BuildRequires: qemu-img}

%description
genimage is a tool to generate multiple filesystem and flash/disk images
from a given root filesystem tree. genimage is intended to be run in a
fakeroot environment. It also supports creating flash/disk images out
of different file-system images and files.

Configuration is done in a config file parsed by libconfuse. Options
like the path to tools can be given via environment variables, the
config file or from commandline switches.

%prep
%setup

%build
%autoreconf
%configure
%make_build

%install
%makeinstall_std

%check
%make_build check || cat test-suite.log

%files
%doc README.rst
%_bindir/%name

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin