-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stretch Update: Add upgrade path to v4.x.x
Addresses OS-29. Up to now the Debian sources lists have been unmanaged and placed in the system manually, migrate them into a package to allow them to be properly managed, recoverable and verifiable. Add a pre-update step to the updater to switch the sources over to the new repository for those users who have hardware compatible with v4.x.x and relaunch the updater flow once those are in place to trigger the update. For those staying on Jessie, 3.16.0 will be the final update and the updater will clean up to ensure that all is well.
- Loading branch information
1 parent
dfa5cf1
commit 6842544
Showing
12 changed files
with
283 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
APT::Default-Release "release"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# | ||
# Kano OS Jessie Official Package Repository | ||
# Key: | ||
# curl -L http://repo.kano.me/archive-stretch/repo.gpg.key | apt-key add - | ||
# | ||
|
||
deb http://repo.kano.me/archive-jessie/ release main | ||
deb http://dev.kano.me/archive-jessie/ devel main | ||
deb http://dev.kano.me/archive-jessie/ rc main | ||
deb http://dev.kano.me/archive-jessie/ scratch main | ||
|
||
# Release urgent repository | ||
deb http://repo.kano.me/archive-jessie/ release-urgent main | ||
|
||
# i18n Repository | ||
deb http://repo.kano.me/raspberrypi-jessie-i18n/ release-i18n main | ||
|
||
# | ||
# Mirrored version of Raspberry Pi Foundation's repository | ||
# Key: | ||
# curl -L http://repo.kano.me/raspberrypi-stretch/raspberrypi.gpg.key | apt-key add - | ||
# | ||
# The original repo is avaiable at: | ||
# http://archive.raspberrypi.org/debian/ | ||
# | ||
deb http://repo.kano.me/raspberrypi-jessie/ jessie main ui | ||
|
||
|
||
# | ||
# Raspbian repository | ||
# | ||
deb http://raspbian.raspberrypi.org/raspbian/ jessie main contrib non-free rpi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# | ||
# Kano OS Stretch Official Package Repository | ||
# Key: | ||
# curl -L http://repo.kano.me/archive-jessie/repo.gpg.key | apt-key add - | ||
# | ||
|
||
deb http://repo.kano.me/archive-stretch/ release main | ||
deb http://dev.kano.me/archive-stretch/ devel main | ||
deb http://dev.kano.me/archive-stretch/ rc main | ||
deb http://dev.kano.me/archive-stretch/ scratch main | ||
|
||
# Release urgent repository | ||
deb http://repo.kano.me/archive-stretch/ release-urgent main | ||
|
||
# i18n Repository | ||
# Note: Doesn't exist at the moment | ||
# deb http://repo.kano.me/raspberrypi-stretch-i18n/ release-i18n main | ||
|
||
# | ||
# Mirrored version of Raspberry Pi Foundation's repository | ||
# Key: | ||
# curl -L http://repo.kano.me/raspberrypi-stretch/raspberrypi.gpg.key | apt-key add - | ||
# | ||
# The original repo is avaiable at: | ||
# http://archive.raspberrypi.org/debian/ | ||
# | ||
deb http://repo.kano.me/raspberrypi-stretch/ stretch main ui | ||
|
||
|
||
# | ||
# Raspbian repository | ||
# | ||
deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,14 @@ kano-updater (4.0.0-0) unstable; urgency=low | |
|
||
-- Team Kano <[email protected]> Fri, 6 Jul 2018 11:48:00 +0100 | ||
|
||
kano-updater (3.16.0-0) unstable; urgency=low | ||
|
||
* Bump version for Kano OS v3.16.0 "Lovelace". Provides the final update for | ||
Jessie and allows transition over to Stretch (and 4.x.x) for those with | ||
the correct hardware | ||
|
||
-- Team Kano <[email protected]> Fri, 6 Jul 2018 11:48:00 +0100 | ||
|
||
kano-updater (3.15.0-0) unstable; urgency=low | ||
|
||
* Bump version for Kanux Beta v3.15.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
conf/apt/sources.list.d/kano-stretch.list etc/apt/sources.list.d/ | ||
conf/apt/apt.conf.d/* etc/apt/apt.conf.d/ | ||
conf/apt/preferences.d/* etc/apt/preferences.d/ | ||
conf/apt usr/share/kano-os-sources/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/bash | ||
# | ||
# postinst | ||
# | ||
# Copyright (C) 2018 Kano Computing Ltd. | ||
# License: http://www.gnu.org/licenses/gpl-2.0.txt GNU GPL v2 | ||
# | ||
# Post deb package install script. | ||
# | ||
|
||
|
||
SOURCES_DIR="/etc/apt/" | ||
SOURCES_FILES=( | ||
sources.list | ||
sources.list.d/kano.list | ||
sources.list.d/raspi.list | ||
sources.list.d/collabora.list | ||
) | ||
|
||
case "$1" in | ||
configure) | ||
last_configured_version="$2" | ||
|
||
# This package now handles the sources, remove others on install | ||
if [ -z "$last_configured_version" ]; then | ||
for DEB_SRC in ${SOURCES_FILES[@]}; do | ||
rm -f $SOURCES_DIR/$DEB_SRC | ||
done | ||
fi | ||
|
||
;; | ||
esac | ||
|
||
#DEBHELPER# | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.