debian-forge-composer/internal/osbuild2
Achilleas Koutsou 974b0a434b osbuild2: deduplicate anacondaStageOptions()
Use single NewAnacondaStageOptions() from osbuild2 instead of
implementing in each distro.

The new function conditionally adds the user module when there are users
that need to be created at install time (image- and edge-installers).
2022-03-28 14:08:57 +02:00
..
anaconda_stage.go osbuild2: deduplicate anacondaStageOptions() 2022-03-28 14:08:57 +02:00
authconfig_stage.go osbuild2: new stage authconfig 2021-11-12 20:27:35 +01:00
authconfig_stage_test.go osbuild2: new stage authconfig 2021-11-12 20:27:35 +01:00
authselect_stage.go osbuild2: rename profile_id to profile in authselect stage 2021-07-19 21:37:15 +02:00
authselect_stage_test.go osbuild2: add support for org.osbuild.authselect stage 2021-07-08 19:37:09 +02:00
bootiso_stage.go Move bootISOMonoStageInputs() from distros to osbuild2 2022-02-18 09:26:35 +01:00
btrfs_mount.go osbuild2: specify mounts as an array 2021-07-24 15:54:00 +02:00
buildstamp_stage.go osbuild2: add support for new osbuild stages 2021-03-17 18:12:17 +00:00
chmod_stage.go osbuild2: new stages 2021-08-27 09:29:28 +02:00
chrony_stage.go osbuild2: extend chrony stage with leapsectz property 2021-08-02 19:05:09 +02:00
chrony_stage_test.go osbuild2: support for servers option in org.osbuild.chrony 2021-07-08 19:37:09 +02:00
clevis_luks_bind_stage.go Simplified installer: add support for encrypted raw images 2022-02-28 23:05:45 +00:00
cloud_init_stage.go osbuild2: update cloud-init stage with new options 2021-12-01 12:03:13 +01:00
cloud_init_stage_test.go osbuild2: update cloud-init stage with new options 2021-12-01 12:03:13 +01:00
common_test.go osbuild2: basic checks for GenDeviceCreationStages 2022-02-22 19:23:41 +00:00
copy_stage.go osbuild2: lock loopback devices during sfdisk, mkfs 2022-02-28 17:09:30 +01:00
copy_stage_test.go osbuild2: remove stage-specific device types 2021-08-21 13:39:10 +02:00
curl_source.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
device.go Simplified installer: add support for encrypted raw images 2022-02-28 23:05:45 +00:00
device_test.go disk: NewPartitionTable can wrap plain partitions in LVM 2022-02-28 17:09:30 +01:00
discinfo_stage.go osbuild2: add support for new osbuild stages 2021-03-17 18:12:17 +00:00
disk.go osbuild2: lock loopback devices during sfdisk, mkfs 2022-02-28 17:09:30 +01:00
disk_test.go disk: NewPartitionTable can wrap plain partitions in LVM 2022-02-28 17:09:30 +01:00
dnf_automatic_config_stage.go osbuild2: support org.osbuild.dnf-automatic.config stage 2021-12-16 20:01:42 +01:00
dnf_automatic_config_stage_test.go osbuild2: support org.osbuild.dnf-automatic.config stage 2021-12-16 20:01:42 +01:00
dnf_config_stage.go osbuild2: Expand dnf_config stage 2021-12-17 20:07:56 +01:00
dnf_config_stage_test.go osbuild2: Expand dnf_config stage 2021-12-17 20:07:56 +01:00
dracut_conf_stage.go osbuild2: fix incorrect function name in dracut.conf stage 2021-07-26 22:01:33 +02:00
dracut_conf_stage_test.go osbuild2: fix incorrect function name in dracut.conf stage 2021-07-26 22:01:33 +02:00
dracut_stage.go osbuild2: new dracut stage to re-create initrd 2021-03-17 18:12:17 +00:00
dracut_stage_test.go osbuild2: new dracut stage to re-create initrd 2021-03-17 18:12:17 +00:00
ext4_mount.go osbuild2: specify mounts as an array 2021-07-24 15:54:00 +02:00
fat_mount.go osbuild2: specify mounts as an array 2021-07-24 15:54:00 +02:00
fdo_stage.go osbuild2: add new FDOStage for org.osbuild.fdo 2022-02-24 17:07:34 +01:00
fdo_stage_test.go osbuild2: add new FDOStage for org.osbuild.fdo 2022-02-24 17:07:34 +01:00
files_input.go osbuild2: files input is a valid copy stage input 2021-08-28 09:20:19 +02:00
files_input_test.go osbuild2: refactor files inputs 2021-08-02 19:05:09 +02:00
firewall_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
firewall_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
first_boot_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
first_boot_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
fix_bls_stage.go osbuild2: add prefix parameter to the fix-bls stage 2021-08-13 08:24:37 +02:00
fix_bls_stage_test.go osbuild2: add prefix parameter to the fix-bls stage 2021-08-13 08:24:37 +02:00
fstab_stage.go disk: move stage option generation functions to osbuild1,2 2022-02-22 19:23:41 +00:00
fstab_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
groups_stage.go osbuild2: deduplicate groupStageOptions() 2022-03-28 14:08:57 +02:00
groups_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
grub2_inst_stage.go osbuild2: properly calculate grub2 core location 2022-02-27 22:03:36 +01:00
grub2_inst_stage_test.go osbuild2: unit tests for new stages 2021-07-24 15:54:00 +02:00
grub2_stage.go osbuild2: add GRUB2Config to GRUB2StageOptions 2022-02-27 22:03:36 +01:00
grub2_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
grub_iso_stage.go osbuild2: add stages for raw images and grub iso 2021-08-28 09:20:19 +02:00
hostname_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
hostname_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
implantisomd5_stage.go osbuild2: add support for new osbuild stages 2021-03-17 18:12:17 +00:00
inline_source.go osbuild2: add org.osbuild.inline source 2022-02-24 17:07:34 +01:00
inline_source_test.go osbuild2: add org.osbuild.inline source 2022-02-24 17:07:34 +01:00
input.go osbuild2: refactor files inputs 2021-08-02 19:05:09 +02:00
kernel_cmdline_stage.go Move kernelCmdlineStageOptions() from distros to osbuild2 2022-02-18 09:26:35 +01:00
kernel_cmdline_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
keymap_stage.go osbuild2: use type aliases for unexported types to prevent recursion 2021-07-19 21:37:15 +02:00
keymap_stage_test.go osbuild2: support for x11-keymap option in org.osbuild.keymap 2021-07-08 19:37:09 +02:00
kickstart_stage.go obsuild2: deduplicate *kickstartStageOptions() 2022-03-28 14:08:57 +02:00
locale_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
locale_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
loopback_device.go osbuild2: lock loopback devices during sfdisk, mkfs 2022-02-28 17:09:30 +01:00
lorax_script_stage.go osbuild2: add support for new osbuild stages 2021-03-17 18:12:17 +00:00
luks2_device.go obsuild2: generalise mkfs stage device option generation 2022-02-22 19:23:41 +00:00
luks2_format_stage.go osbuild2: add LUKS2 format stage and device 2022-02-22 19:23:41 +00:00
luks2_remove_key_stage.go Simplified installer: add support for encrypted raw images 2022-02-28 23:05:45 +00:00
lvm2_create_stage.go osbuild2: lvm2 create stage constructor takes device map 2022-02-22 19:23:41 +00:00
lvm2_create_stage_test.go osbuild2: add support for LVM stages 2021-08-28 09:20:19 +02:00
lvm2_lv_device.go osbuild2: fix LVM device constructor arguments 2022-02-22 19:23:41 +00:00
lvm2_lv_device_test.go osbuild2: add support for LVM stages 2021-08-28 09:20:19 +02:00
lvm2_metadata_stage.go osbuild2: LVM2Metadata: only validate CreationTime if not empty 2022-02-22 19:23:41 +00:00
lvm2_metadata_stage_test.go osbuild2: add support for LVM stages 2021-08-28 09:20:19 +02:00
mkdir_stage.go osbuild2: add stages for raw images and grub iso 2021-08-28 09:20:19 +02:00
mkfs_btrfs_stage.go obsuild2: generalise mkfs stage device option generation 2022-02-22 19:23:41 +00:00
mkfs_ext4_stage.go obsuild2: generalise mkfs stage device option generation 2022-02-22 19:23:41 +00:00
mkfs_fat_stage.go obsuild2: generalise mkfs stage device option generation 2022-02-22 19:23:41 +00:00
mkfs_stage.go osbuild2: lock loopback devices during sfdisk, mkfs 2022-02-28 17:09:30 +01:00
mkfs_stages_test.go obsuild2: generalise mkfs stage device option generation 2022-02-22 19:23:41 +00:00
mkfs_xfs_stage.go obsuild2: generalise mkfs stage device option generation 2022-02-22 19:23:41 +00:00
modprobe_stage.go osbuild2/modprobe: extend and rework stage options validation 2021-11-16 21:49:38 +01:00
modprobe_stage_test.go osbuild2/modprobe: extend and rework stage options validation 2021-11-16 21:49:38 +01:00
mount.go osbuild2: remove stage-specific mount types 2021-08-21 13:39:10 +02:00
mount_test.go osbuild2: specify mounts as an array 2021-07-24 15:54:00 +02:00
nginxconf_stage.go osbuild2: new stages 2021-08-27 09:29:28 +02:00
oci_archive_stage.go obsuild2: support additional layers in oci-archive 2021-03-17 18:12:17 +00:00
oci_archive_stage_test.go obsuild2: support additional layers in oci-archive 2021-03-17 18:12:17 +00:00
osbuild.go osbuild2: Don't add nil stages 2021-08-06 07:30:05 +02:00
osbuild_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
ostree_commit_stage.go osbuild2: add support for reading stage metadata 2021-06-29 09:33:05 +01:00
ostree_config_stage.go osbuild2: add bootloader option to ostree.config 2021-09-27 20:10:04 +02:00
ostree_deploy_stage.go osbuild2: add 'remote' option for ostree.deploy 2022-02-11 12:30:44 +01:00
ostree_fillvar_stage.go osbuild2: add stages for raw images and grub iso 2021-08-28 09:20:19 +02:00
ostree_init_fs_stage.go osbuild2: add stages for raw images and grub iso 2021-08-28 09:20:19 +02:00
ostree_init_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
ostree_input.go osbuild2: new org.osbuild.ostree.passwd stage 2021-08-27 12:56:54 +02:00
ostree_os_init_stage.go osbuild2: add stages for raw images and grub iso 2021-08-28 09:20:19 +02:00
ostree_passwd_stage.go osbuild2: new org.osbuild.ostree.passwd stage 2021-08-27 12:56:54 +02:00
ostree_preptree_stage.go osbuild2/ostree.preptree: add missing options 2021-08-28 09:20:19 +02:00
ostree_pull_stage.go Move ostreePullStageInputs() from distros to osbuild2 2022-02-18 09:26:35 +01:00
ostree_remotes_stage.go osbuild2: add stages for raw images and grub iso 2021-08-28 09:20:19 +02:00
ostree_selinux_stage.go osbuild2: add stages for raw images and grub iso 2021-08-28 09:20:19 +02:00
ostree_source.go osbuild2: OSTreeRemote → OSTreeSourceRemote 2021-08-28 09:20:19 +02:00
pam_limits_conf_stage.go osbuild2: do not use reflect in pam.limits.conf stage 2021-12-16 20:01:42 +01:00
pam_limits_conf_stage_test.go osbuild2: add support for org.osbuild.pam.limits.conf stage 2021-09-15 14:46:25 +02:00
pwquality_conf_stage.go osbuild2: new stage pwquality conf 2021-11-12 20:27:35 +01:00
pwquality_conf_stage_test.go osbuild2: new stage pwquality conf 2021-11-12 20:27:35 +01:00
qemu_stage.go Move qemuStageInputs() from distros to osbuild2 2022-02-18 09:26:35 +01:00
qemu_stage_test.go qemu stage test squash 2021-07-24 15:54:00 +02:00
result.go gosec: G601 - Implicit memory aliasing in for loop 2021-12-13 12:17:30 +02:00
result_test.go osbuild: test Write() on nil Result receivers 2021-11-17 15:21:40 +01:00
result_test_data.go osbuild: test result conversions 2021-11-16 09:49:37 +01:00
rhsm_stage.go osbuild2: update rhsm stage 2021-11-19 10:43:58 +01:00
rhsm_stage_test.go osbuild2: update rhsm stage 2021-11-19 10:43:58 +01:00
rpm_stage.go osbuild2: expose new gpgkeys.fromtree osbuild option 2022-03-05 21:04:24 +01:00
rpm_stage_test.go Move OSBuildMetadataToRPMs and PackageMetadataToSignature to osbuild2 2022-02-18 09:26:35 +01:00
script_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
script_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
selinux_config_stage.go osbuild2: add support for org.osbuild.selinux.config stage 2021-09-15 14:46:25 +02:00
selinux_config_stage_test.go osbuild2: add support for org.osbuild.selinux.config stage 2021-09-15 14:46:25 +02:00
selinux_stage.go osbuild2: selinux stage - introduce force_autorelabel option 2021-11-22 15:28:19 +01:00
selinux_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
sfdisk_stage.go osbuild2: remove stage-specific device types 2021-08-21 13:39:10 +02:00
sfdisk_stage_test.go osbuild2: remove stage-specific device types 2021-08-21 13:39:10 +02:00
source.go osbuild2: add org.osbuild.inline source 2022-02-24 17:07:34 +01:00
source_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
sshd_config_stage.go osbuild2: support PermitRootLogin in sshd.config stage 2021-12-16 20:01:42 +01:00
sshd_config_stage_test.go osbuild2: support PermitRootLogin in sshd.config stage 2021-12-16 20:01:42 +01:00
stage.go Simplified installer: add support for encrypted raw images 2022-02-28 23:05:45 +00:00
stage_test.go osbuild2: ensure that empty sysconfig options members are omitted 2021-12-16 20:47:28 +01:00
sysconfig_stage.go osbuild2: ensure that empty sysconfig options members are omitted 2021-12-16 20:47:28 +01:00
sysconfig_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
sysctld_stage.go osbuild2: add support for org.osbuild.sysctld stage 2021-09-15 14:46:25 +02:00
sysctld_stage_test.go osbuild2: add support for org.osbuild.sysctld stage 2021-09-15 14:46:25 +02:00
systemd_logind_stage.go osbuild2: fix typo in systemd-logind stage 2021-08-02 19:05:09 +02:00
systemd_logind_stage_test.go osbuild2: change systemd-logind stage to match osbuild v30 2021-07-26 22:01:33 +02:00
systemd_stage.go osbuild2: extract unit drop-ins from systemd -> systemd.unit 2021-07-26 22:01:33 +02:00
systemd_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
systemd_unit_stage.go osbuild2: extract unit drop-ins from systemd -> systemd.unit 2021-07-26 22:01:33 +02:00
systemd_unit_stage_test.go osbuild2: extract unit drop-ins from systemd -> systemd.unit 2021-07-26 22:01:33 +02:00
tar_stage.go osbuild2: fix typo in tar stage option value 2021-12-22 10:41:22 +01:00
tar_stage_test.go osbuild2: support 'format' and 'root-node' Tar stage options 2021-12-21 20:40:12 +01:00
timezone_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
timezone_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
tmpfilesd_stage.go osbuild2: add support for org.osbuild.tmpfilesd stage 2021-09-15 14:46:25 +02:00
tmpfilesd_stage_test.go osbuild2: add support for org.osbuild.tmpfilesd stage 2021-09-15 14:46:25 +02:00
tree_input.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
truncate_stage.go osbuild2: new stages and osbuild features 2021-07-24 15:54:00 +02:00
truncate_stage_test.go osbuild2: unit tests for new stages 2021-07-24 15:54:00 +02:00
tuned_stage.go osbuild2: add support for org.osbuild.tuned stage 2021-09-15 14:46:25 +02:00
tuned_stage_test.go osbuild2: add support for org.osbuild.tuned stage 2021-09-15 14:46:25 +02:00
users_stage.go osbuild2: deduplicate userStageOptions() 2022-03-28 14:08:57 +02:00
users_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
waagent_conf.go osbuild2: add org.osbuild.waagent.config stage 2022-02-27 22:03:36 +01:00
xfs_mount.go osbuild2: specify mounts as an array 2021-07-24 15:54:00 +02:00
xorrisofs_stage.go Move xorrisofsStageInputs() from distros to osbuild2 2022-02-18 09:26:35 +01:00
xz_stage.go osbuild2: add xz stage implementation 2021-08-02 19:05:09 +02:00
xz_stage_test.go osbuild2: add xz stage implementation 2021-08-02 19:05:09 +02:00
yum_config_stage.go osbuild2: new stage yum config 2021-11-12 20:27:35 +01:00
yum_config_stage_test.go osbuild2: new stage yum config 2021-11-12 20:27:35 +01:00
yum_repos_stage.go osbuild2: support org.osbuild.yum.repos stage 2021-12-16 20:01:42 +01:00
yum_repos_stage_test.go osbuild2: support org.osbuild.yum.repos stage 2021-12-16 20:01:42 +01:00
zipl_inst_stage.go disk: Partition.Payload is now an Entity 2022-02-22 19:23:41 +00:00
zipl_stage.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00
zipl_stage_test.go osbuild2: new schema types: stages, inputs, sources 2021-03-17 18:12:17 +00:00