Fernando Apesteguía
df90aeac24
Fix build with -DNO_ROOT
...
The inclusion of 0a0f7486413c broke the build with the -DNO_ROOT option.
Specifically, that commit adds some relative paths (with `..`) to METALOG
that make other tools using that log, fail afterwards (tar, makefs...).
It's been argued[1] if this is really something mtree(8) should handle more
graciously. In the meantime, fix the breakage but changing the order in which
the links are created: first in the parent directory, then in the
architecture-specific one.
We keep the architecture-specific directories an the links to the parent
directories. This is something that we might want to change in the future.
This commit is based on a concept patch by avg@.
[1] https://lists.freebsd.org/archives/dev-commits-src-all/2021-November/index.html
Reported by: bapt@, emaste@
Approved by: avg@
Fixes: 0a0f7486413c
Differential Revision: https://reviews.freebsd.org/D33126
2021-11-26 12:51:08 +01:00
..
2021-10-21 12:20:32 +01:00
2021-11-26 12:51:08 +01:00
2021-04-13 22:59:58 +00:00
2021-05-07 22:13:31 +02:00
2021-03-12 06:41:55 -09:00
2021-11-22 17:13:09 +01:00
2021-05-12 17:20:15 -08:00
2020-10-07 20:31:13 +00:00
2021-02-08 09:20:38 -05:00
2021-09-29 21:18:17 -06:00
2021-01-03 00:40:34 +09:00
2021-11-18 23:22:12 -07:00
2021-11-25 21:02:53 -03:00
2021-10-22 18:53:35 -04:00
2020-12-19 13:17:25 +00:00
2021-06-18 13:38:07 +01:00
2020-12-08 23:38:26 +00:00
2021-07-21 10:16:11 +01:00
2020-12-08 23:38:26 +00:00
2021-06-19 17:49:50 +02:00
2021-10-28 14:15:08 -04:00
2021-06-14 17:34:07 -04:00
2020-12-02 19:58:50 +00:00
2021-03-03 23:23:31 -08:00
2021-10-27 09:26:00 +00:00
2021-06-19 17:49:57 +02:00
2021-10-26 14:52:40 -07:00
2021-09-07 10:19:37 +02:00
2021-05-03 09:55:40 -06:00
2021-04-20 15:51:31 -06:00
2021-06-01 12:33:12 +08:00
2021-11-01 12:29:12 -04:00
2020-12-10 10:23:18 +00:00
2021-09-07 10:24:21 +02:00
2021-09-07 10:24:21 +02:00
2021-09-15 09:03:17 -07:00
2021-09-07 10:24:21 +02:00
2021-06-18 13:38:07 +01:00
2020-10-09 14:03:45 +00:00
2021-06-07 06:31:50 +00:00
2021-10-01 13:51:03 -05:00
2021-11-02 14:54:45 -04:00
2021-04-10 11:16:02 +02:00
2021-04-20 15:51:31 -06:00
2020-12-12 18:34:15 +00:00
2021-09-07 10:23:14 +02:00
2021-10-04 11:38:24 +02:00
2021-10-06 21:56:20 -08:00
2021-03-18 15:17:32 +01:00
2021-07-08 10:16:32 -06:00
2020-10-01 01:10:51 +00:00
2021-10-25 16:25:15 -04:00
2021-06-18 09:44:37 -07:00
2020-12-15 20:56:35 +00:00
2021-11-24 11:55:26 +01:00
2021-05-20 22:40:01 +03:00
2021-11-19 20:04:09 +01:00
2020-11-18 20:00:55 +00:00
2021-11-21 21:21:34 -05:00
2021-06-18 13:38:07 +01:00
2021-11-20 08:58:36 +01:00
2021-09-07 10:20:16 +02:00
2021-09-09 08:14:53 +02:00
2021-11-18 13:35:25 -08:00
2020-11-20 17:04:49 +00:00
2021-05-07 15:22:22 +03:00
2021-02-19 21:17:17 +00:00
2021-06-02 17:28:28 +01:00
2021-06-19 17:49:50 +02:00
2021-07-12 06:31:54 +02:00
2021-06-19 17:49:50 +02:00
2021-06-19 17:49:50 +02:00
2021-06-19 17:49:50 +02:00
2021-01-22 12:33:27 -06:00
2021-10-15 16:06:14 -07:00
2020-11-13 16:49:41 +00:00
2021-06-01 10:55:44 -05:00
2021-10-26 14:59:39 +00:00
2021-09-10 14:49:17 -07:00
2021-10-04 11:38:24 +02:00
2021-05-31 17:39:05 -03:00
2021-10-04 11:38:24 +02:00
2020-10-09 14:03:45 +00:00
2021-06-19 17:49:50 +02:00
2021-06-19 17:49:50 +02:00
2021-06-19 17:49:50 +02:00
2021-06-29 11:00:54 -07:00
2021-11-06 22:43:30 -04:00
2021-05-20 09:27:10 +01:00
2021-01-04 16:19:36 +01:00
2021-02-03 16:02:46 +00:00
2021-11-18 23:05:32 -07:00
2021-04-27 05:09:07 +02:00
2021-03-11 09:57:56 +01:00
2021-06-23 10:06:57 -04:00
2021-08-10 14:18:43 -07:00
2021-08-10 14:18:43 -07:00
2021-06-19 17:49:50 +02:00
2021-10-04 10:45:26 -07:00
2021-01-01 16:06:08 -08:00
2021-11-16 10:27:28 -08:00
2021-10-04 10:51:15 -06:00
2021-11-09 22:33:04 +01:00
2021-03-30 15:21:37 -07:00
2021-07-21 10:14:26 +01:00
2020-12-08 23:38:26 +00:00
2021-09-29 09:44:11 -04:00
2021-05-03 13:24:30 -04:00
2020-12-19 13:56:19 +00:00
2021-11-01 23:10:30 +00:00
2021-11-24 11:12:05 +01:00
2021-06-03 15:22:14 -06:00
2021-03-10 15:53:22 +00:00
2021-06-04 16:47:28 -06:00
2021-04-02 07:01:20 +00:00
2021-10-04 11:38:24 +02:00
2021-03-15 10:04:13 +01:00
2021-11-11 19:03:05 -08:00
2020-09-11 13:28:37 +00:00
2021-04-10 10:13:29 +01:00
2021-07-12 20:54:01 +01:00
2021-11-26 12:51:08 +01:00
2021-04-04 00:50:28 +03:00
2021-04-04 00:50:28 +03:00
2020-09-18 17:17:46 +00:00