debian-forge/stages
Tomáš Hozza b8e1450a35 stages/mkdir: add exist_ok option to not fail if directory exists
Add a new optional stage option to not fail if the specified directory
already exists. This will make it easier to support creation of custom
repositories via customizations in osbuild-composer. The reason is that
if a specified directory exists in an image, because it was created by
an RPM, then creating it would fail. However, the user may have
specified different mode for the directory, than it already has. Since
there is no way to know for sure if the directory already exists on the
image, without building the image itself, it is desired to handle this
case gracefully as valid in specific use cases.

The default behavior stays the same - specifying an existing directory
path will lead to an error.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-01-16 20:19:27 +01:00
..
org.osbuild.anaconda osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.authconfig osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.authselect osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.bootiso.mono osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.buildstamp osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.chmod stages/chmod: SCHEMA_2 2021-07-01 10:49:38 +02:00
org.osbuild.chrony osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.clevis.luks-bind osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.cloud-init osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.containers.storage.conf stages/containers.storage: ability to specify a base file 2022-11-15 11:34:15 +01:00
org.osbuild.copy osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.cpio.out stages: add new cpio.out stage 2022-11-03 17:26:43 +01:00
org.osbuild.cron.script osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.crypttab osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.debug-shell osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.discinfo osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.dnf-automatic.config osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.dnf.config osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.dracut osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.dracut.conf osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.error osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.fdo osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.firewall stages/firewall: change zones/sources handling 2022-10-26 12:07:21 +02:00
org.osbuild.first-boot osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.fix-bls osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.fstab osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.gcp.guest-agent.conf osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.greenboot stages/greenboot: avoid new pylint suppressions 2022-09-14 12:26:37 +02:00
org.osbuild.groups osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.grub2 osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.grub2.inst osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.grub2.iso grub2.iso: add timeout option 2022-11-11 17:22:14 +01:00
org.osbuild.grub2.legacy osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.gunzip osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.gzip osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.hostname osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ignition ignition: fix ignition_network_kcmdline 2022-11-09 12:02:07 +01:00
org.osbuild.implantisomd5 osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.isolinux osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.kernel-cmdline osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.keymap stages/keymap: add font option 2022-10-25 11:20:11 +02:00
org.osbuild.kickstart osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.locale osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.lorax-script osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.luks2.format osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.luks2.remove-key osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.lvm2.create osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.lvm2.metadata stages/lvm2.metadata: fix typo in regex 2021-08-21 09:10:42 +02:00
org.osbuild.mkdir stages/mkdir: add exist_ok option to not fail if directory exists 2023-01-16 20:19:27 +01:00
org.osbuild.mkfs.btrfs osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.mkfs.ext4 osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.mkfs.fat osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.mkfs.xfs osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.mkinitcpio Add mkinitcpio stage 2021-12-21 10:44:55 +01:00
org.osbuild.modprobe osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.nginx.conf modules: explicit encodings for open() 2022-09-09 15:33:29 +02:00
org.osbuild.nm.conf osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.nm.conn osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.noop osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.oci-archive osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.oscap.remediation osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.commit osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.config ostree.config: add aboot (Android) bootloader config option 2022-12-15 11:27:02 +00:00
org.osbuild.ostree.deploy osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.encapsulate stages: add new org.osbuild.ostree.encapsulate 2022-12-15 11:13:19 +01:00
org.osbuild.ostree.fillvar osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.init osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.init-fs osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.os-init osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.passwd osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.preptree stages/ostree.preptree: fix broken link 2022-10-26 15:04:53 +02:00
org.osbuild.ostree.pull osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.remotes osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.ostree.selinux osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.pacman osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.pacman-keyring stages: add pacman keyring stage 2022-03-01 16:07:27 +01:00
org.osbuild.pacman.conf osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.pacman.mirrorlist.conf osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.pam.limits.conf osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.parted osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.pwquality.conf osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.qemu osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.resolv-conf osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.rhsm osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.rhsm.facts stages/rhsm.facts: create facts file in /etc 2023-01-03 09:27:13 +01:00
org.osbuild.rpm stages/rpm: make the fake machine-id newline-terminated 2022-10-18 14:40:24 +02:00
org.osbuild.rpm-ostree osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.rpm.macros osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.rpmkeys.import osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.selinux osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.selinux.config osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.sfdisk osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.sgdisk osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.skopeo osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.squashfs osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.sshd.config osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.sysconfig osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.sysctld osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.systemd osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.systemd-journald stages: add org.osbuild.systemd-journald stage 2022-10-21 09:04:51 +02:00
org.osbuild.systemd-logind stages/logind-systemd: add ReserveVT option 2022-10-22 14:58:44 +02:00
org.osbuild.systemd.unit osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.tar osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.test osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.timezone osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.tmpfilesd osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.truncate osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.tuned osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.udev.rules osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.uki stages: add stage to build unified kernel images 2022-11-14 20:10:59 +01:00
org.osbuild.untar osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.users stages/users: create missing home directories 2022-12-07 17:25:30 +01:00
org.osbuild.vagrant osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.waagent.conf osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.xorrisofs osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.xz osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.yum.config osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.yum.repos osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.zipl osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
org.osbuild.zipl.inst osbuild: run isort on all files 2022-09-12 13:32:51 +02:00