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

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