Project

General

Profile

Tâche #21126

Scénario #21121: Améliorer la gestion des images sur Eclair

Les dépôts instables sont utilisés en stable

Added by Emmanuel GARETTE about 6 years ago. Updated about 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
08/21/2017
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Remaining (hours):
0.0

Description

Dans le template : tmpl/ltsp-build-client.conf on trouve en dure :

EXTRA_MIRROR="http://eole.ac-dijon.fr/eole eole-2.6-unstable main cloud" 

(vu dans la branche 2.6.0, 2.6.1 et master)

Associated revisions

Revision c222d20b (diff)
Added by Daniel Dehennin about 6 years ago

Le dépôt Gaspacho doit correspondre à celui du serveur

Un serveur en version stable doit installer la version stable de
Gaspacho dans l’image embarquée.

Cela peut conduire à plusieurs entrées dans le sources.list et le
fichier de préférences.

  • tmpl/010-apt-eole: Boucle sur les releases extraites du fichier
    sources.list.

Ref: #21126

Revision d3a74968 (diff)
Added by Daniel Dehennin about 6 years ago

Les préférences apt pour gaspacho doivent être pour chaque release

  • tmpl/010-apt-eole: report de la configuration apt-preferences pour
    gaspacho-agent dans la boucle.

Ref: #21126

History

#1 Updated by Scrum Master about 6 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Scrum Master about 6 years ago

  • Assigned To set to Daniel Dehennin

#3 Updated by Daniel Dehennin about 6 years ago

  • Estimated time set to 1.00 h
  • Remaining (hours) set to 1.0

La ligne a été supprimée par 18dacec6b3b57526a234ed6a7e5e8e25dbbc1a84

#4 Updated by Daniel Dehennin about 6 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 1.0 to 0.25

#5 Updated by Daniel Dehennin about 6 years ago

  • Status changed from Résolu to En cours

#6 Updated by Daniel Dehennin about 6 years ago

  • Remaining (hours) changed from 0.25 to 2.0

#7 Updated by Daniel Dehennin about 6 years ago

  • Remaining (hours) changed from 2.0 to 0.25

#8 Updated by Scrum Master about 6 years ago

  • Status changed from En cours to Résolu

#9 Updated by Emmanuel GARETTE about 6 years ago

  • Remaining (hours) changed from 0.25 to 0.0

#10 Updated by Emmanuel GARETTE about 6 years ago

  • Status changed from Résolu to Fermé

Avec un Query-Auto -D :

root@eclair:~# cat /opt/ltsp/thin_amd64/etc/apt/sources.list.d/gaspacho.list 
deb [ arch=amd64 ] http://test-eole.ac-dijon.fr/eole eole-2.6-unstable main cloud
root@eclair:~# cat /opt/ltsp/thin_amd64/etc/apt/preferences.d/gaspacho.pref 
Package: *
Pin: release n=eole-2.6-unstable
Pin-Priority: -1

Package: gaspacho-agent
Pin: release n=eole-2.6-unstable
Pin-Priority: 500

root@eclair:~# cat /etc/apt/sources.list

# Ubuntu
deb http://test-eole.ac-dijon.fr/ubuntu xenial main universe multiverse restricted
deb http://test-eole.ac-dijon.fr/ubuntu xenial-security main universe multiverse restricted
deb http://test-eole.ac-dijon.fr/ubuntu xenial-updates main universe multiverse restricted

# EOLE
deb http://test-eole.ac-dijon.fr/eole eole-2.6-unstable main cloud

Avec un Query-Auto :

root@eclair:~# cat /opt/ltsp/thin_amd64/etc/apt/sources.list.d/gaspacho.list 
deb [ arch=amd64 ] http://test-eole.ac-dijon.fr/eole eole-2.6.2 main cloud
deb [ arch=amd64 ] http://test-eole.ac-dijon.fr/eole eole-2.6.2-security main cloud
deb [ arch=amd64 ] http://test-eole.ac-dijon.fr/eole eole-2.6.2-updates main cloud
root@eclair:~# cat /opt/ltsp/thin_amd64/etc/apt/preferences.d/gaspacho.pref 
Package: *
Pin: release n=eole-2.6.2
Pin-Priority: -1

Package: gaspacho-agent
Pin: release n=eole-2.6.2
Pin-Priority: 500

Package: *
Pin: release n=eole-2.6.2-security
Pin-Priority: -1

Package: gaspacho-agent
Pin: release n=eole-2.6.2-security
Pin-Priority: 500

Package: *
Pin: release n=eole-2.6.2-updates
Pin-Priority: -1

Package: gaspacho-agent
Pin: release n=eole-2.6.2-updates
Pin-Priority: 500

root@eclair:~# cat /etc/apt/sources.list

# Ubuntu
deb http://test-eole.ac-dijon.fr/ubuntu xenial main universe multiverse restricted
deb http://test-eole.ac-dijon.fr/ubuntu xenial-security main universe multiverse restricted
deb http://test-eole.ac-dijon.fr/ubuntu xenial-updates main universe multiverse restricted

# EOLE
deb http://test-eole.ac-dijon.fr/eole eole-2.6.2 main cloud
deb http://test-eole.ac-dijon.fr/eole eole-2.6.2-security main cloud
deb http://test-eole.ac-dijon.fr/eole eole-2.6.2-updates main cloud

Avec un Query-Auto -C

root@eclair:~# cat /opt/ltsp/thin_amd64/etc/apt/sources.list.d/gaspacho.list 
deb [ arch=amd64 ] http://test-eole.ac-dijon.fr/eole eole-2.6.2 main cloud
deb [ arch=amd64 ] http://test-eole.ac-dijon.fr/eole eole-2.6.2-security main cloud
deb [ arch=amd64 ] http://test-eole.ac-dijon.fr/eole eole-2.6.2-updates main cloud
deb [ arch=amd64 ] http://test-eole.ac-dijon.fr/eole eole-2.6.2-proposed-updates main cloud
root@eclair:~# cat /opt/ltsp/thin_amd64/etc/apt/preferences.d/gaspacho.pref 
Package: *
Pin: release n=eole-2.6.2
Pin-Priority: -1

Package: gaspacho-agent
Pin: release n=eole-2.6.2
Pin-Priority: 500

Package: *
Pin: release n=eole-2.6.2-security
Pin-Priority: -1

Package: gaspacho-agent
Pin: release n=eole-2.6.2-security
Pin-Priority: 500

Package: *
Pin: release n=eole-2.6.2-updates
Pin-Priority: -1

Package: gaspacho-agent
Pin: release n=eole-2.6.2-updates
Pin-Priority: 500

Package: *
Pin: release n=eole-2.6.2-proposed-updates
Pin-Priority: -1

Package: gaspacho-agent
Pin: release n=eole-2.6.2-proposed-updates
Pin-Priority: 500

root@eclair:~# cat /etc/apt/sources.list

# Ubuntu
deb http://test-eole.ac-dijon.fr/ubuntu xenial main universe multiverse restricted
deb http://test-eole.ac-dijon.fr/ubuntu xenial-security main universe multiverse restricted
deb http://test-eole.ac-dijon.fr/ubuntu xenial-updates main universe multiverse restricted

# EOLE
deb http://test-eole.ac-dijon.fr/eole eole-2.6.2 main cloud
deb http://test-eole.ac-dijon.fr/eole eole-2.6.2-security main cloud
deb http://test-eole.ac-dijon.fr/eole eole-2.6.2-updates main cloud
deb http://test-eole.ac-dijon.fr/eole eole-2.6.2-proposed-updates main cloud

Also available in: Atom PDF