Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
package-helpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
trisquel
package-helpers
Commits
71aeae2c
Commit
71aeae2c
authored
4 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Patches
Plain Diff
Updated make-ubuntu-release-upgrader for flidas-etiona upgrade
parent
077dcb0d
No related branches found
No related tags found
2 merge requests
!307
Etiona test mr
,
!179
Corrected patch for make-bleachbit
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
helpers/DATA/ubuntu-release-upgrader/DistUpgrade.cfg
+25
-29
25 additions, 29 deletions
helpers/DATA/ubuntu-release-upgrader/DistUpgrade.cfg
helpers/make-ubuntu-release-upgrader
+5
-14
5 additions, 14 deletions
helpers/make-ubuntu-release-upgrader
with
30 additions
and
43 deletions
helpers/DATA/ubuntu-release-upgrader/DistUpgrade.cfg
+
25
−
29
View file @
71aeae2c
[View]
# the
views will be tried in this order, if one fails to import, the next
# is
tried
View=DistUpgradeViewGtk3,
DistUpgradeViewGtk,
DistUpgradeViewKDE,DistUpgradeViewText
View=DistUpgradeViewGtk3,DistUpgradeViewKDE,DistUpgradeViewText
#View=DistUpgradeViewNonInteractive
#Depends=
python-
apt (>=
0.6.0), apt (>= 0.6
)
#Depends=
apt (>=
1.0.10.2
ubuntu2
)
# the
views below support upgra
des
over ssh connection
SupportSSH=DistUpgradeViewText,DistUpgradeViewNonInteractive
...
...
@@ -13,54 +13,61 @@ SupportSSH=DistUpgradeViewText,DistUpgradeViewNonInteractive
MetaPkgs=trisquel-recommended,
trisquel-mini-recommended, triskel-recommended, trisquel-sugar-recommended
BaseMetaPkgs=trisquel-minimal,
trisquel-base-recommended
Demotions=demoted.cfg
RemoveEssentialOk=sysvinit,
sysvutils, belocs-locales-bin
#
RemoveEssentialOk=sysvinit,
sysvutils, belocs-locales-bin
RemovalBlacklistFile=removal_blacklist.cfg
# if
those packages were installed, make sure to keep them installed
KeepInstalledPkgs=
gnumeric,
hpijs,
xserver-xorg-video-all
KeepInstalledPkgs=xserver-xorg-video-all
KeepInstalledSection=translations
RemoveObsoletes=yes
ForcedObsoletes=ksplash-engine-moodin,
powernowd, laptop-mode-tools, gnome-session-flashback
# hints
for for stuff that should be done early
PostUpgradePurge=ltsp-client,
ltspfsd
PostUpgradeRemove=libflashsupport,
kvm-source, gtk-qt-engine, libparted1.8-12, usplash, printconf, foomatic-db-gutenprint, ebox-printers, kbluetooth, kde-plasmoid-cwp, kdm, xsettings-kde
PostUpgradeUpgrade=brasero,edubuntu-desktop
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
#PostUpgradeUpgrade=brasero,edubuntu-desktop
#PostUpgradeInstall=apt
PostInstallScripts=./trisquel-postinstall.sh
EnableApport=yes
# this
supported blacklisting 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
#
BadVersions=blcr-dkms_0.8.2-13
# ubiquity
sli
des
how
#SlideshowUrl=http://people.canonical.com/~mvo/ubiquity-slideshow-upgrade/slides/
[KernelRemoval]
Version=3.2.0
BaseNames=linux-image,linux-headers,linux-image-debug,linux-backport-modules,linux-header-lbm
Types=386,ec2,generic,rt,server,virtual
Version=4.2.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]
KeyDependencies=trisquel-desktop-common-data,
unity-greeter
KeyDependencies=trisquel-desktop-common-data,
unity-greeter
, lightdm
# those
pkgs will be marked remove right after the distUpgrade in the cache
PostUpgradeRemove=casper,
xscreensaver, gnome-cups-manager, powermanagement-interface,
des
kbar-applet, nautilus-cd-burner, compiz-core, gdm, gnome-ppp, gwibber, remmina-common
ForcedObsoletes=desktop-effects,
cups-pdf, policykit-gnome, gnome-mount, notification-daemon, trisquel-session, libcogl15, libcogl-pango15
ForcedObsoletes=desktop-effects,
cups-pdf, policykit-gnome, gnome-mount, notification-daemon, trisquel-session, libcogl15, libcogl-pango15
, gnome-app-install
[trisquel-mini]
KeyDependencies=trisquel-mini-data
unity-greeter
#Remove
previous gnome component from ltrisquel to avoid pulling gnome depends on upgrade (LP: #945215)
PostUpgradeRemove=casper,
gnome-bluetooth, gnome-power-manager
ForcedObsoletes=desktop-effects,
cups-pdf, policykit-gnome, gnome-mount, notification-daemon, trisquel-session, libcogl15, libcogl-pango15, gnome-app-install
[Files]
BackupExt=distUpgrade
LogDir=/var/log/dist-upgrade/
[Sources]
From=
beleno
s
To=
flidas
From=
flida
s
To=
etiona
ValidOrigin=Trisquel
ValidMirrors
= mirrors.cfg
Components=main
Pockets=security,updates,backports
Pockets=security,updates,
proposed,
backports
;AllowThirdParty=False
;[PreRequists]
...
...
@@ -69,17 +76,6 @@ Pockets=security,updates,backports
;SourcesList-ia64=prerequists-sources.ports.list
;SourcesList-hppa=prerequists-sources.ports.list
[Aufs]
; this
is a xor option, either full or chroot overlay
;EnableFullOverlay=yes
;EnableChrootOverlay=yes
; sync
changes from the chroot back to the real system
;EnableChrootRsync=yes
; what
chroot dir to use
;ChrootDir=/tmp/upgrade-chroot
; the
RW dir to use (either for full overlay or chroot overlay)
;RWDir=/tmp/upgrade-rw
[Network]
MaxRetries=3
...
...
This diff is collapsed.
Click to expand it.
helpers/make-ubuntu-release-upgrader
+
5
−
14
View file @
71aeae2c
...
...
@@ -24,7 +24,7 @@
# Also, don't forget to update the meta-release files at archive and packages.t.i
# The "obsoletes" list from ubuntu has been removed
VERSION
=
4
VERSION
=
5
.
./config
...
...
@@ -234,21 +234,12 @@ cat << EOF1 > DistUpgrade/trisquel-postinstall.sh
# Making sure this is gone
apt-get remove --force-yes -y notification-daemon
if ! [ -f /etc/grub.d/01_PASSWORD ]; then
cat << EOF > /etc/grub.d/01_PASSWORD
#! /bin/sh -e
# Trisquel enables a random password to grub during install
# Comment this file to remove the password.
# This file should only be readable by root.
echo set superusers=grub
echo password grub
\$
(bash -c 'echo
\$
RANDOM')
EOF
# Default to systemd-resolved
if [ "
\$
(readlink /etc/resolv.conf)" != "/run/systemd/resolve/stub-resolv.conf" ]; then
mv /etc/resolv.conf /etc/resolv.conf.flidas.bak
ln -s /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
fi
# Just in case
update-initramfs -u
update-grub
EOF1
chmod
755 DistUpgrade/trisquel-postinstall.sh
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment