ubuntu-release-upgrader: add aramo release details

This commit is contained in:
Ruben Rodriguez 2023-02-12 15:17:12 -05:00
parent 89994dc7b0
commit ef00286d2a
3 changed files with 114 additions and 26 deletions

View file

@ -10,11 +10,11 @@ SupportSSH=DistUpgradeViewText,DistUpgradeViewNonInteractive
# Distro contains global information about the upgrade # Distro contains global information about the upgrade
[Distro] [Distro]
# the meta-pkgs we support # the meta-pkgs we support
MetaPkgs=trisquel, trisquel-mini, triskel, trisquel-sugar MetaPkgs=trisquel, trisquel-mini, triskel, trisquel-sugar, trisquel-gnome
BaseMetaPkgs=trisquel-minimal, trisquel-base BaseMetaPkgs=trisquel-minimal, trisquel-base
IgnoredTasks=minimal, standard
Demotions=demoted.cfg Demotions=demoted.cfg
#RemoveEssentialOk=sysvinit, sysvutils, belocs-locales-bin RemovalDenylistFile=removal_denylist.cfg
RemovalBlacklistFile=removal_blacklist.cfg
# if those packages were installed, make sure to keep them installed # if those packages were installed, make sure to keep them installed
KeepInstalledPkgs=xserver-xorg-video-all KeepInstalledPkgs=xserver-xorg-video-all
KeepInstalledSection=translations KeepInstalledSection=translations
@ -25,28 +25,20 @@ PurgeObsoletes=yes
# the dist-upgrade (not to be confused with the PostUpgrade hooks in the # the dist-upgrade (not to be confused with the PostUpgrade hooks in the
# quirks handling) # quirks handling)
#PostUpgradePurge=linux-restricted-modules-common #PostUpgradePurge=linux-restricted-modules-common
#PostUpgradeRemove=xsettings-kde
PostUpgradeRemove=resolvconf,notification-daemon PostUpgradeRemove=resolvconf,notification-daemon
#PostUpgradeUpgrade=brasero,edubuntu-desktop #PostUpgradeUpgrade=brasero,edubuntu-desktop
#PostUpgradeInstall=apt #PostUpgradeInstall=apt
#PostInstallScripts=./trisquel-postinstall.sh #PostInstallScripts=./trisquel-postinstall.sh
EnableApport=yes EnableApport=no
# this supported blacklisting certain versions to ensure we do not upgrade # this supported deny listing certain versions to ensure we do not upgrade
# - blcr-dkms fails to build on kernel 2.6.35 # - blcr-dkms fails to build on kernel 2.6.35
#BadVersions=blcr-dkms_0.8.2-13 #BadVersions=blcr-dkms_0.8.2-13
# ubiquity slideshow # ubiquity slideshow
#SlideshowUrl=http://people.canonical.com/~mvo/ubiquity-slideshow-upgrade/slides/ #SlideshowUrl=http://people.canonical.com/~mvo/ubiquity-slideshow-upgrade/slides/
[KernelRemoval]
Version=4.15.0
BaseNames=linux-image,linux-headers,linux-image-debug,linux-backport-modules,
linux-header-lbm,linux-signed-image,linux-tools,linux-cloud-tools,
linux-image-extra
Types=386,ec2,generic,generic-lpae,lowlatency,powerpc-e500mc,powerpc-smp,
powerpc64-emb,powerpc64-smp,rt,server,virtual
# information about the individual meta-pkgs
[trisquel] [trisquel]
KeyDependencies=mate-desktop-environment KeyDependencies=lightdm, mate-desktop-environment, marco, ubuntu-mate-default-settings, lightdm-gtk-greeter
# those pkgs will be marked remove right after the distUpgrade in the cache # those pkgs will be marked remove right after the distUpgrade in the cache
PostUpgradeRemove=casper, xscreensaver, powermanagement-interface, compiz-core, gdm, gnome-ppp, resolvconf PostUpgradeRemove=casper, xscreensaver, powermanagement-interface, compiz-core, gdm, gnome-ppp, resolvconf
ForcedObsoletes= cups-pdf, notification-daemon, libcogl15, resolvconf ForcedObsoletes= cups-pdf, notification-daemon, libcogl15, resolvconf
@ -59,8 +51,7 @@ ForcedObsoletes= cups-pdf, notification-daemon, libcogl15, resolvconf
[triskel] [triskel]
KeyDependencies=triskel-settings-desktop, plasma-desktop, sddm KeyDependencies=triskel-settings-desktop, plasma-desktop, sddm
# those pkgs will be marked remove right after the distUpgrade in the cache PostUpgradeRemove=powermanagement-interface, guidance-power-manager, kde-guidance-powermanager, kmix
PostUpgradeRemove=casper, powermanagement-interface, guidance-power-manager, kde-guidance-powermanager, kmix
# those packages are marked as obsolete right after the upgrade # those packages are marked as obsolete right after the upgrade
ForcedObsoletes=ivman, gtk-qt-engine ForcedObsoletes=ivman, gtk-qt-engine
# help the resolver a bit: LP: #1426132 # help the resolver a bit: LP: #1426132
@ -77,12 +68,12 @@ BackupExt=distUpgrade
LogDir=/var/log/dist-upgrade/ LogDir=/var/log/dist-upgrade/
[Sources] [Sources]
From=etiona From=nabia
To=nabia To=aramo
ValidOrigin=Trisquel ValidOrigin=Trisquel
ValidMirrors = mirrors.cfg ValidMirrors = mirrors.cfg
Components=main Components=main
Pockets=security,updates,proposed,backports Pockets=security,updates,backports
;AllowThirdParty=False ;AllowThirdParty=False
;[PreRequists] ;[PreRequists]

View file

@ -0,0 +1,93 @@
[View]
# the views will be tried in this order, if one fails to import, the next
# is tried
View=DistUpgradeViewGtk3,DistUpgradeViewKDE,DistUpgradeViewText
#View=DistUpgradeViewNonInteractive
#Depends= apt (>= 1.0.10.2ubuntu2)
# the views below support upgrades over ssh connection
SupportSSH=DistUpgradeViewText,DistUpgradeViewNonInteractive
# Distro contains global information about the upgrade
[Distro]
# the meta-pkgs we support
MetaPkgs=trisquel, trisquel-mini, triskel, trisquel-sugar, trisquel-gnome
BaseMetaPkgs=trisquel-minimal, trisquel-base
IgnoredTasks=minimal, standard
Demotions=demoted.cfg
RemovalDenylistFile=removal_denylist.cfg
# if those packages were installed, make sure to keep them installed
KeepInstalledPkgs=xserver-xorg-video-all
KeepInstalledSection=translations
RemoveObsoletes=yes
PurgeObsoletes=yes
#ForcedObsoletes=ksplash-engine-moodin, powernowd, laptop-mode-tools
# hints for for stuff that should be done right after the cache calculated
# the dist-upgrade (not to be confused with the PostUpgrade hooks in the
# quirks handling)
#PostUpgradePurge=linux-restricted-modules-common
#PostUpgradeRemove=xsettings-kde
PostUpgradeRemove=resolvconf,notification-daemon
#PostUpgradeUpgrade=brasero,edubuntu-desktop
#PostUpgradeInstall=apt
#PostInstallScripts=./trisquel-postinstall.sh
EnableApport=no
# this supported deny listing certain versions to ensure we do not upgrade
# - blcr-dkms fails to build on kernel 2.6.35
#BadVersions=blcr-dkms_0.8.2-13
# ubiquity slideshow
#SlideshowUrl=http://people.canonical.com/~mvo/ubiquity-slideshow-upgrade/slides/
[trisquel]
KeyDependencies=lightdm, mate-desktop-environment, marco, ubuntu-mate-default-settings, lightdm-gtk-greeter
# those pkgs will be marked remove right after the distUpgrade in the cache
PostUpgradeRemove=casper, xscreensaver, powermanagement-interface, compiz-core, gdm, gnome-ppp, resolvconf
ForcedObsoletes= cups-pdf, notification-daemon, libcogl15, resolvconf
[trisquel-mini]
KeyDependencies=lxde
#Remove previous gnome component from ltrisquel to avoid pulling gnome depends on upgrade (LP: #945215)
PostUpgradeRemove=casper, gnome-bluetooth, resolvconf
ForcedObsoletes= cups-pdf, notification-daemon, libcogl15, resolvconf
[triskel]
KeyDependencies=triskel-settings-desktop, plasma-desktop, sddm
PostUpgradeRemove=powermanagement-interface, guidance-power-manager, kde-guidance-powermanager, kmix
# those packages are marked as obsolete right after the upgrade
ForcedObsoletes=ivman, gtk-qt-engine
# help the resolver a bit: LP: #1426132
PostUpgradeInstall=baloo-kf5
[trisquel-sugar]
KeyDependencies=sugar, lightdm-gtk-greeter
[trisquel-gnome]
KeyDependencies=gnome-core, gdm3
[Files]
BackupExt=distUpgrade
LogDir=/var/log/dist-upgrade/
[Sources]
From=nabia
To=aramo
ValidOrigin=Trisquel
ValidMirrors = mirrors.cfg
Components=main
Pockets=security,updates,backports
;AllowThirdParty=False
;[PreRequists]
;Packages=release-upgrader-apt,release-upgrader-dpkg
;SourcesList=prerequists-sources.list
;SourcesList-ia64=prerequists-sources.ports.list
;SourcesList-hppa=prerequists-sources.ports.list
[Network]
MaxRetries=3
[NonInteractive]
ForceOverwrite=yes
RealReboot=no
DebugBrokenScripts=no
DpkgProgressLog=no
;TerminalTimeout=2400

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# #
# Copyright (C) 2008-2022 Ruben Rodriguez <ruben@trisquel.info> # Copyright (C) 2008-2023 Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2014 Santiago Rodriguez <santi@trisquel.info> # Copyright (C) 2014 Santiago Rodriguez <santi@trisquel.info>
# Copyright (C) 2019 Mason Hock <mason@masonhock.com> # Copyright (C) 2019 Mason Hock <mason@masonhock.com>
# #
@ -24,7 +24,7 @@
# Also, don't forget to update the meta-release files at archive and packages.t.i # Also, don't forget to update the meta-release files at archive and packages.t.i
# The "obsoletes" list from ubuntu has been removed # The "obsoletes" list from ubuntu has been removed
VERSION=13 VERSION=14
. ./config . ./config
@ -200,7 +200,7 @@ perl $DATA/parsewiki DistUpgrade/ReleaseAnnouncement > DistUpgrade/ReleaseAnnoun
perl $DATA/parsewiki DistUpgrade/DevelReleaseAnnouncement > DistUpgrade/DevelReleaseAnnouncement.html perl $DATA/parsewiki DistUpgrade/DevelReleaseAnnouncement > DistUpgrade/DevelReleaseAnnouncement.html
cat <<EOF > data/removal_denylist.cfg cat <<EOF > data/removal_denylist.cfg
# blacklist of packages that should never be removed # list of packages that should never be removed
trisquel-base trisquel-base
trisquel-minimal trisquel-minimal
trisquel-desktop-common trisquel-desktop-common
@ -224,6 +224,8 @@ EOF
rm data/mirrors.cfg rm data/mirrors.cfg
#https://mirmon.trisquel.org/conf.txt #https://mirmon.trisquel.org/conf.txt
cat << EOF > data/mirrors.cfg cat << EOF > data/mirrors.cfg
https://archive.trisquel.info/trisquel/
https://archive.trisquel.org/trisquel/
https://mirror.fsf.org/trisquel/ https://mirror.fsf.org/trisquel/
https://mirror.cedia.org.ec/trisquel.packages/ https://mirror.cedia.org.ec/trisquel.packages/
https://mirrors.ustc.edu.cn/trisquel/ https://mirrors.ustc.edu.cn/trisquel/
@ -239,11 +241,11 @@ https://mirrors.nju.edu.cn/trisquel/
https://mirror.math.princeton.edu/pub/trisquel-packages/ https://mirror.math.princeton.edu/pub/trisquel-packages/
https://mirror.operationtulip.com/trisquel/packages/ https://mirror.operationtulip.com/trisquel/packages/
https://mirrors.dotsrc.org/trisquel/ https://mirrors.dotsrc.org/trisquel/
https://linkwithlinux.pw/trisquel-packages/
EOF EOF
replace changelogs.ubuntu.com packages.trisquel.org . replace changelogs.ubuntu.com packages.trisquel.org .
rpl ubuntu-archive-keyring.gpg trisquel-archive-keyring.gpg . -R
rpl 11\.04 5\.0 DistUpgrade/*.ui rpl 11\.04 5\.0 DistUpgrade/*.ui
rpl 11\.04 5\.0 po/* -R rpl 11\.04 5\.0 po/* -R
rpl 11\.10 5\.5 DistUpgrade/*.ui rpl 11\.10 5\.5 DistUpgrade/*.ui
@ -262,7 +264,7 @@ replace '18.04' '9.0'
rpl 20\.04 10\.0 po/* -R rpl 20\.04 10\.0 po/* -R
rpl 20\.04 10\.0 DistUpgrade/*.ui -R rpl 20\.04 10\.0 DistUpgrade/*.ui -R
replace '20.04' '10.0' replace '20.04' '10.0'
rpl $UPSTREAM $CODENAME . -R replace '22.04' '11.0'
rpl oneiric brigantia . -R rpl oneiric brigantia . -R
rpl natty dagda . -R rpl natty dagda . -R
rpl maverick slaine . -R rpl maverick slaine . -R
@ -276,6 +278,7 @@ rpl trusty belenos . -R
rpl xenial flidas . -R rpl xenial flidas . -R
rpl bionic etiona . -R rpl bionic etiona . -R
rpl focal nabia . -R rpl focal nabia . -R
rpl jammy aramo . -R
rm data/DistUpgrade.cfg* rm data/DistUpgrade.cfg*
cp $DATA/DistUpgrade.cfg* data/ cp $DATA/DistUpgrade.cfg* data/
@ -296,7 +299,8 @@ mv kubuntu-devel-release-upgrade triskel-devel-release-upgrade
#mv tests/test-data-cdrom/ubuntu tests/test-data-cdrom/trisquel #mv tests/test-data-cdrom/ubuntu tests/test-data-cdrom/trisquel
replace old-releases.ubuntu.com oldarchive.trisquel.org replace old-releases.ubuntu.com oldarchive.trisquel.org
rpl "edubuntu" "trisquel-edu" . -R rpl "edubuntu" "trisquel-sugar" . -R
rpl "xubuntu" "trisquel-mini" . -R
rpl "kubuntu" "triskel" . -R rpl "kubuntu" "triskel" . -R
rpl "Kubuntu" "Triskel" . -R rpl "Kubuntu" "Triskel" . -R
rpl " Ubuntu " " Trisquel " . -R rpl " Ubuntu " " Trisquel " . -R