Blame SOURCES/tar-1.22-atime-rofs.patch

a4d85a
diff --git a/src/create.c b/src/create.c
a4d85a
index 43b5a4c..f98cbb5 100644
a4d85a
--- a/src/create.c
a4d85a
+++ b/src/create.c
a4d85a
@@ -1798,7 +1798,8 @@ dump_file0 (struct tar_stat_info *st, char const *name, char const *p)
a4d85a
 	    }
a4d85a
 	  else if (atime_preserve_option == replace_atime_preserve
a4d85a
 		   && fd && (is_dir || original_size != 0)
a4d85a
-		   && set_file_atime (fd, parentfd, name, st->atime) != 0)
a4d85a
+		   && set_file_atime (fd, parentfd, name, st->atime) != 0
a4d85a
+		   && errno != EROFS )
a4d85a
 	    utime_error (p);
a4d85a
 	}
a4d85a