-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
executable file
·65 lines (43 loc) · 2 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Ubuntu Daily Sync
Copyright (C) 2020 Erich Eickmeyer
License: GPL-2
This set of scripts uses zsync to synchronize the daily Ubuntu ISO images
and includes scripts for downloading beta and final release images.
Requires: zsync
Installation:
Clone this git repository to any directory of your choosing. Make sure all
scripts are executable (chmod +x -r *)
Usage: sync-dailies [newcycle|newconfig <codename> <releaseversion>]
[setmirror <URL>]
[unsetmirror]
newcycle Updates configuration with new codename, release version,
and performs sync
newconfig Creates configuration file with new codename, release
version, and exits
setmirror Sets mirror URL (format: without trailing /)
NOTE: Must be http URL, zsync doesn't work with https
unsetmirror Sets mirror to default (http://cdimage.ubuntu.com)
Additionally, each flavor has a "sync-iso.sh" script called by the
main script, but each one can be used individually. For example:
cd Kubuntu
./sync-iso.sh
If no config file exists (as created by the main script) one must specify a
codename here. For example:
./sync-iso.sh focal
will download the latest focal daily image.
You can also specify the input file. For instance, Ubuntu MATE and Ubuntu
Kylin have a lot of similarities. If you already have the daily image of
Ubuntu MATE but want to download Ubuntu Kylin's daily image:
cd Ubuntu\ Kylin
./sync-iso -i ../Ubuntu\ MATE/focal-desktop-amd64.iso
would sync using Ubuntu MATE's image as the base file, only having to download
a fraction of the entire .iso file.
Also included are scripts to download the beta and final release images (when
available) for whichever cycle is already configured. To accomplish this,
simply run:
./get-betas
- or -
./get-release
This will download the beta or release images to the proper directory in the
current directory. For instance, focal beta would be in the "20.04-beta"
directory while the final release would be in the "20.04-release" directory.