2020-07-22 10:08:29 +02:00
|
|
|
#
|
|
|
|
# spec file for package combustion
|
|
|
|
#
|
2024-01-25 16:22:49 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2020-07-22 10:08:29 +02:00
|
|
|
#
|
|
|
|
# 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: combustion
|
2024-03-06 14:12:42 +01:00
|
|
|
Version: 1.3+git9
|
2020-07-22 10:08:29 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: System for initial configuration of appliances
|
2020-10-22 09:27:24 +02:00
|
|
|
License: GPL-2.0-or-later
|
2020-07-22 10:08:29 +02:00
|
|
|
Group: System/Management
|
2022-07-06 16:55:56 +02:00
|
|
|
URL: https://github.com/openSUSE/combustion
|
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2023-11-23 11:48:41 +01:00
|
|
|
# This doesn't work with old ignition, conflict with the old firstboot mechanism.
|
2023-08-23 16:37:41 +02:00
|
|
|
Conflicts: ignition-dracut-grub2
|
2023-11-23 11:48:41 +01:00
|
|
|
Requires: awk
|
|
|
|
# For VMware guestinfo
|
|
|
|
Suggests: open-vm-tools
|
|
|
|
Requires: (gzip if open-vm-tools)
|
2020-07-22 10:08:29 +02:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Combustion is a minimal module for dracut, which runs a user provided script on
|
|
|
|
the first boot of a transactional system.
|
|
|
|
|
|
|
|
You can use this to create additional files, install packages, set up devices
|
|
|
|
or even re-partition the hard disk. The configuration can be provided as a
|
|
|
|
shell script, loaded from an external storage media and is run during boot in a
|
|
|
|
new system snapshot. On success, the system will directly boot into that new
|
|
|
|
snapshot, so that no reboot is needed.
|
|
|
|
|
|
|
|
%prep
|
2022-07-06 16:55:56 +02:00
|
|
|
%autosetup -p1
|
2020-07-22 10:08:29 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2022-07-06 16:55:56 +02:00
|
|
|
%make_install
|
2020-07-22 10:08:29 +02:00
|
|
|
|
|
|
|
%post
|
|
|
|
%{?regenerate_initrd_post}
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
%{?regenerate_initrd_posttrans}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
2022-07-06 16:55:56 +02:00
|
|
|
%doc README.md
|
2020-07-22 10:08:29 +02:00
|
|
|
%dir %{_prefix}/lib/dracut/
|
|
|
|
%dir %{_prefix}/lib/dracut/modules.d/
|
2023-08-23 16:37:41 +02:00
|
|
|
# Also used by ignition. Could be split into a separate package,
|
|
|
|
# but ignition depends on combustion anyway.
|
|
|
|
%{_prefix}/lib/dracut/modules.d/30firstboot/
|
2020-07-22 10:08:29 +02:00
|
|
|
%{_prefix}/lib/dracut/modules.d/35combustion/
|
|
|
|
|
|
|
|
%changelog
|