Commit be8811c
committed
contrib/rootfs-builder: Support xz (and other) compression formats
I'm not sure when the change happened (sometime since ff5e578,
contrib/rootfs-builder: Support multiple architectures, 2017-09-20,
#479), but Gentoo is now using xz compression for some amd64 stages:
$ curl http://distfiles.gentoo.org/releases/amd64/autobuilds/latest-stage3.txt
# Latest as of Fri, 09 Mar 2018 15:00:02 +0000
# ts=1520607602
20180308T214502Z/stage3-amd64-20180308T214502Z.tar.xz 188851072
20180308T214502Z/hardened/stage3-amd64-hardened-20180308T214502Z.tar.xz 174759140
20180308T214502Z/hardened/stage3-amd64-hardened+nomultilib-20180308T214502Z.tar.xz 167639136
20180301T214503Z/hardened/stage3-amd64-hardened-selinux-20180301T214503Z.tar.xz 187319664
20180308T214502Z/stage3-amd64-nomultilib-20180308T214502Z.tar.xz 181866296
20180303/systemd/stage3-amd64-systemd-20180303.tar.bz2 281873162
20180225/uclibc/stage3-amd64-uclibc-hardened-20180225.tar.bz2 57147392
20180225/uclibc/stage3-amd64-uclibc-vanilla-20180225.tar.bz2 144490332
20180308T214502Z/stage3-x32-20180308T214502Z.tar.xz 205285160
20180308T214502Z/hardened/stage4-amd64-hardened+minimal-20180308T214502Z.tar.bz2 261776436
20180308T214502Z/hardened/stage4-amd64-hardened+minimal-nomultilib-20180308T214502Z.tar.bz2 251821245
20180308T214502Z/stage4-amd64-minimal-20180308T214502Z.tar.bz2 280918565
20180308T214502Z/stage4-amd64-minimal-nomultilib-20180308T214502Z.tar.bz2 268835860
20180303/systemd/stage4-amd64-systemd-20180303.tar.bz2 622067712
This commit adapts to that change, allowing us to continue to pull the
vanilla stage3-amd64-20180308T214502Z.tar.xz.
Signed-off-by: W. Trevor King <wking@tremily.us>1 parent eea2bc9 commit be8811c
2 files changed
Lines changed: 21 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
82 | 87 | | |
83 | 88 | | |
84 | 89 | | |
85 | 90 | | |
86 | 91 | | |
87 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
88 | 98 | | |
89 | 99 | | |
90 | 100 | | |
| |||
94 | 104 | | |
95 | 105 | | |
96 | 106 | | |
97 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
98 | 112 | | |
99 | 113 | | |
100 | 114 | | |
101 | 115 | | |
102 | 116 | | |
103 | 117 | | |
104 | 118 | | |
105 | | - | |
| |||
0 commit comments