Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
6e9c25b3
Commit
6e9c25b3
authored
May 16, 2017
by
Francesc Guasch
Browse files
fields for sha256
parent
47f612bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Ravada.pm
View file @
6e9c25b3
...
...
@@ -132,6 +132,15 @@ sub _update_isos {
,
md5
=>
'
c5cf5c5d568e2dfeaf705cfa82996d93
'
}
,
fedora
=>
{
name
=>
'
Fedora 25
'
,
description
=>
'
RedHat Fedora 25 Workstation 64 bits
'
,
url
=>
'
https://download.fedoraproject.org/pub/fedora/linux/releases/25/Workstation/x86_64/iso/Fedora-Workstation-netinst-x86_64-25-.*\.iso
'
,
arch
=>
'
amd64
'
,
xml
=>
'
xenial64-amd64.xml
'
,
xml_volume
=>
'
xenial64-volume.xml
'
,
sha256_url
=>
'
http://fedora.mirrors.ovh.net/linux/releases/25/Workstation/x86_64/iso/Fedora-Workstation-25-.*-x86_64-CHECKSUM
'
}
);
...
...
@@ -232,7 +241,7 @@ sub _create_tables {
sub
_upgrade_tables
{
my
$self
=
shift
;
return
if
$CONNECTOR
->
dbh
->
{
Driver
}{
Name
}
!~
/mysql/i
;
#
return if $CONNECTOR->dbh->{Driver}{Name} !~ /mysql/i;
$self
->
_upgrade_table
('
file_base_images
','
target
','
varchar(64) DEFAULT NULL
');
...
...
@@ -242,6 +251,8 @@ sub _upgrade_tables {
$self
->
_upgrade_table
('
requests
','
at_time
','
int(11) DEFAULT NULL
');
$self
->
_upgrade_table
('
iso_images
','
md5_url
','
varchar(255)
');
$self
->
_upgrade_table
('
iso_images
','
sha256
','
varchar(255)
');
$self
->
_upgrade_table
('
iso_images
','
sha256_url
','
varchar(255)
');
$self
->
_upgrade_table
('
iso_images
','
file_re
','
char(64)
');
$self
->
_upgrade_table
('
iso_images
','
device
','
varchar(255)
');
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment