1aa7e4b264
* tests: add test ensuring correct ordering of nodes * tests: move failing tests to negative * stages/files: sort entries by resolved depth * Fix function comments based on best practices from Effective Go * tests: add bb test for mounting with sylminks * stages/mount: fail if mount paths involve symlinks * internal/exec/util: make SplitPath public * config/translate: add unit tests * config/translate: add reflection based translator * internal/distro: use relative paths * exec/util/passwd: rename authorized_keys.d fragment to "ignition" - Update to version 0.30.0+git20190225.7de027b: * oem: add metal oem * internal/exec: use nonzero default file permissions * *: drop OEM terminology * tests: drop OEMLookaside type * *: drop OEM URI support * tests/validator: show formatted os.FileMode in validateMode error * doc/configuration-v3_0_exp: update with fs changes * tests: refactor bb tests, add mount/umount stages * exec/stages: add mount and umount stages * tests/*: update bb tests for new fs semantics * exec/*: rework files and filesystems * validate/report: add helpers to cut verbosity * engine: log configs on failure and fetched urls * engine: clear highlights before logging reports * internal/exec: log hashes of configs not configs OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=6
58 lines
1.8 KiB
RPMSpec
58 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package ignition
|
|
#
|
|
# Copyright (c) 2018 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: ignition
|
|
Version: 0.30.0+git20190301.2ce015b
|
|
Release: 0
|
|
Group: System/Management
|
|
Summary: First boot installer and configuration tool
|
|
License: Apache-2.0
|
|
URL: https://github.com/coreos/ignition
|
|
Source: %{name}-%{version}.tar.xz
|
|
BuildRequires: libblkid-devel
|
|
BuildRequires: go
|
|
|
|
%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
|
|
env VERSION=%{version} bash -x ./build
|
|
|
|
%install
|
|
install -d -p %{buildroot}%{_bindir}
|
|
install -p -m 0755 bin/*/ignition %{buildroot}%{_bindir}
|
|
install -p -m 0755 bin/*/ignition-validate %{buildroot}%{_bindir}
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md doc
|
|
%{_bindir}/ignition
|
|
%{_bindir}/ignition-validate
|
|
|
|
%changelog
|