Uploaded image for project: 'OpenJDK'
  1. OpenJDK
  2. OPENJDK-2427

[rhel-8] s2i-core script uses rsync, but doesn't preserve modification time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • UBI8 Containers 1.19.GA
    • UBI8 Containers 1.18.GA
    • container
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Bash functions s2i_core_copy_configuration and s2i_core_copy_data use rsync to copy data to the target image. I'm not sure what the use-cases for those functions are, but in light of OPENJDK-1673 and friends, it would be best to add the -t option.

      $ grep -n rsync ./modules/s2i/core/artifacts/opt/jboss/container/s2i/core/s2i-core
      56:      rsync -rl --out-format='%n' "${1}/${S2I_SOURCE_CONFIGURATION_DIR}"/ "${S2I_TARGET_CONFIGURATION_DIR}"
      73:      rsync -rl --out-format='%n' "${1}/${S2I_SOURCE_DATA_DIR}"/ "${S2I_TARGET_DATA_DIR}"
      

            jdowland@redhat.com Jonathan Dowland
            jdowland@redhat.com Jonathan Dowland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: