ignition/ignition.spec
Ignaz Forster 324178741b - Update to version 2.0.1+git20191106.809f44a:
* Add test cases for file system mount options
  * Add translator for Filesystem struct
  * Document file system mount options
  * Implement file system mount options
  * providers: add initial zVM hypervisor support
  * travis: test on arm, use new ubuntu, cleanup
  * config/v3_1_exp/types: validate http(s) proxies
  * tests: remove unused stub for id
  * distro: turn on SELinux by default
  * Add filesystem mount options to schema
  * files/passwd: don't shell out to id
  * files/passwd: clean up repetitive code
  * providers/aliyun: Add aliyun
  * release-checklist: mention mantle cl branch for 0.x.y releases
  * config/v3*: don't warn on unset mode if appending

OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=30
2019-11-07 17:48:59 +00:00

61 lines
2.0 KiB
RPMSpec

#
# spec file for package ignition
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: ignition
Version: 2.0.1+git20191106.809f44a
Release: 0
Summary: First boot installer and configuration tool
License: Apache-2.0
Group: System/Management
URL: https://github.com/coreos/ignition
Source: %{name}-%{version}.tar.xz
Requires: dracut
BuildRequires: dracut
BuildRequires: libblkid-devel
BuildRequires: golang(API) >= 1.12
%description
Ignition is an utility to manipulate disks and configuration files
during the initramfs. This includes partitioning disks, formatting
partitions, writing files (regular files, systemd units, etc.), and
creating users.
On first boot, Ignition reads its configuration from a source of truth
(remote URL, network metadata service, hypervisor bridge, etc.) and
applies the configuration.
%prep
%setup -q
%build
sed -i -e 's|go build -ldflags|go build -buildmode=pie -ldflags|g' build
env VERSION=%{version} bash -x ./build
%install
install -d %{buildroot}%{_prefix}/lib/dracut/modules.d/30ignition
install -p -m 0755 bin/*/ignition %{buildroot}%{_prefix}/lib/dracut/modules.d/30ignition
install -d -p %{buildroot}%{_bindir}
install -p -m 0755 bin/*/ignition-validate %{buildroot}%{_bindir}
%files
%license LICENSE
%doc README.md doc
%{_prefix}/lib/dracut/modules.d/30ignition
%{_bindir}/ignition-validate
%changelog