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

s2i-core script uses rsync, but doesn't preserve modification time

XMLWordPrintable

    • 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
              sgehwolf@redhat.com Severin Gehwolf
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: