debian-forge-composer/internal/osbuild2
Achilleas Koutsou 602111dedd osbuild2: generalise copy stage option generation
Use entity based method `ForEachMountable` and `getDevices` to generate
all mounts and devices in a generic way, which then allows for mounts on
arbitrarily nested devices.

Update manifests and image info:
- New device names generated by `pathdot()` to avoid basename
  collisions.
- Some partitions are generated in a different order now which changes
  the order they appear in the manifest and their UUIDs.

Co-Authored-By: Christian Kellner <christian@kellner.me>
2022-02-22 19:23:41 +00:00
..
anaconda_stage.go
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
authselect_stage_test.go
bootiso_stage.go Move bootISOMonoStageInputs() from distros to osbuild2 2022-02-18 09:26:35 +01:00
btrfs_mount.go
buildstamp_stage.go
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
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
copy_stage.go osbuild2: generalise copy stage option generation 2022-02-22 19:23:41 +00:00
copy_stage_test.go osbuild2: remove stage-specific device types 2021-08-21 13:39:10 +02:00
curl_source.go
device.go obsuild2: generalise mkfs stage device option generation 2022-02-22 19:23:41 +00:00
discinfo_stage.go
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
dracut_conf_stage_test.go
dracut_stage.go
dracut_stage_test.go
ext4_mount.go
fat_mount.go
files_input.go osbuild2: files input is a valid copy stage input 2021-08-28 09:20:19 +02:00
files_input_test.go
firewall_stage.go
firewall_stage_test.go
first_boot_stage.go
first_boot_stage_test.go
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
groups_stage.go
groups_stage_test.go
grub2_inst_stage.go osbuild2/grub2.inst: always include location in stage options 2021-08-05 13:43:17 +02:00
grub2_inst_stage_test.go
grub2_stage.go osbuild2/grub: add greenboot option 2021-08-28 09:20:19 +02:00
grub2_stage_test.go
grub_iso_stage.go osbuild2: add stages for raw images and grub iso 2021-08-28 09:20:19 +02:00
hostname_stage.go
hostname_stage_test.go
implantisomd5_stage.go
input.go
kernel_cmdline_stage.go Move kernelCmdlineStageOptions() from distros to osbuild2 2022-02-18 09:26:35 +01:00
kernel_cmdline_stage_test.go
keymap_stage.go
keymap_stage_test.go
kickstart_stage.go
locale_stage.go
locale_stage_test.go
loopback_device.go
lorax_script_stage.go
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
lvm2_create_stage.go osbuild2: remove Prints in lvm.create stage test 2021-11-16 09:49:37 +01: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: add support for LVM stages 2021-08-28 09:20:19 +02: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 obsuild2: generalise mkfs stage device option generation 2022-02-22 19:23:41 +00: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
nginxconf_stage.go osbuild2: new stages 2021-08-27 09:29:28 +02:00
oci_archive_stage.go
oci_archive_stage_test.go
osbuild.go osbuild2: Don't add nil stages 2021-08-06 07:30:05 +02:00
osbuild_test.go
ostree_commit_stage.go
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
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
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 Move rpmStageInputs() from distros to osbuild2 2022-02-18 09:26:35 +01:00
rpm_stage_test.go Move OSBuildMetadataToRPMs and PackageMetadataToSignature to osbuild2 2022-02-18 09:26:35 +01:00
script_stage.go
script_stage_test.go
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
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
source_test.go
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 osbuild2: add LUKS2 format stage and device 2022-02-22 19:23:41 +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
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
systemd_logind_stage_test.go
systemd_stage.go
systemd_stage_test.go
systemd_unit_stage.go
systemd_unit_stage_test.go
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
timezone_stage_test.go
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
truncate_stage.go
truncate_stage_test.go
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
users_stage_test.go
xfs_mount.go
xorrisofs_stage.go Move xorrisofsStageInputs() from distros to osbuild2 2022-02-18 09:26:35 +01:00
xz_stage.go
xz_stage_test.go
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 osbuild2: remove stage-specific device types 2021-08-21 13:39:10 +02:00
zipl_stage.go
zipl_stage_test.go