Skip to content

Commit

Permalink
genisoinfo: Ubuntu: add platform ports, add ubuntu core.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiger3018 committed Nov 5, 2022
1 parent bff61f0 commit 3dd55c3
Showing 1 changed file with 36 additions and 13 deletions.
49 changes: 36 additions & 13 deletions geninfo/genisolist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -66,37 +66,51 @@ platform = $4
key_by = $2 $4
sort_by = $4 $2

[ubuntu desktop]
[ubuntu_desktop]
distro = Ubuntu
listvers = 4
# If one glob is not enough for locating all images, you can use "location_N"
# to specify more globs. N start from 0 and must a sequence (0,1,2...).
location_0 = ubuntu-releases/[a-z]*/ubuntu-*-desktop-i386.iso
location_1 = ubuntu-releases/[a-z]*/ubuntu-*-desktop-amd64.iso
location = ubuntu-releases/[a-z]*/ubuntu-*-desktop-*.iso
pattern = ubuntu-([0-9.]+)-desktop-(\w+).iso
version = $1
type = Desktop LiveDVD
platform = $2

[ubuntu live server]
[ubuntu_preinstalled_desktop]
distro = Ubuntu
listvers = 4
location = ubuntu-cdimage/releases/[a-z]*/release/ubuntu-*-preinstalled-desktop-*.img.xz
pattern = ubuntu-([0-9.]+)-preinstalled-desktop-(\w+).img.xz
version = $1
type = Desktop LiveDVD/.img.xz
platform = $2

[ubuntu_live_server]
distro = Ubuntu
listvers = 4
# If one glob is not enough for locating all images, you can use "location_N"
# to specify more globs. N start from 0 and must a sequence (0,1,2...).
location_0 = ubuntu-releases/[a-z]*/ubuntu-*-live-server-i386.iso
location_1 = ubuntu-releases/[a-z]*/ubuntu-*-live-server-amd64.iso
location_0 = ubuntu-releases/[a-z]*/ubuntu-*-live-server-*.iso
location_1 = ubuntu-cdimage/releases/[a-z]*/release/ubuntu-*-live-server-*.iso
pattern = ubuntu-([0-9.]+)-live-server-(\w+).iso
version = $1
type = Server
platform = $2

[ubuntu server]
[ubuntu_preinstalled_server]
distro = Ubuntu
listvers = 4
# If one glob is not enough for locating all images, you can use "location_N"
# to specify more globs. N start from 0 and must a sequence (0,1,2...).
location_0 = ubuntu-releases/[a-z]*/ubuntu-*-server-i386.iso
location_1 = ubuntu-releases/[a-z]*/ubuntu-*-server-amd64.iso
location = ubuntu-cdimage/releases/[a-z]*/release/ubuntu-*-preinstalled-server-*.img.xz
pattern = ubuntu-([0-9.]+)-preinstalled-server-(\w+).img.xz
version = $1
type = Server/.img.xz
platform = $2

# If live and preinstalled server match failed, fallback to default server.
# Currently this rule couldn't match any more file.
[ubuntu_server]
distro = Ubuntu
listvers = 4
location = ubuntu-releases/[a-z]*/ubuntu-*-server-*.iso
pattern = ubuntu-([0-9.]+)-server-(\w+).iso
version = $1
type = Server
Expand Down Expand Up @@ -170,6 +184,15 @@ platform = $2
listvers = 3
type = network installer directory

[ubuntu_core]
distro = Ubuntu Core
location = ubuntu-cdimage/ubuntu-core/*/stable/current/ubuntu-core-*.img.xz
pattern = ubuntu-core-([0-9.]+)-(\w+).img.xz
version = $1
platform = $2
listvers = 3
type = .img.xz

[debian_cd]
distro = Debian
listvers = 1
Expand Down

0 comments on commit 3dd55c3

Please sign in to comment.