diff options
Diffstat (limited to 'export-image/01-set-sources')
| -rw-r--r-- | export-image/01-set-sources/00-patches/0-sources.diff | 9 | ||||
| -rw-r--r-- | export-image/01-set-sources/00-patches/series | 1 | ||||
| -rwxr-xr-x | export-image/01-set-sources/01-run.sh | 7 |
3 files changed, 17 insertions, 0 deletions
diff --git a/export-image/01-set-sources/00-patches/0-sources.diff b/export-image/01-set-sources/00-patches/0-sources.diff new file mode 100644 index 0000000..d46afe6 --- /dev/null +++ b/export-image/01-set-sources/00-patches/0-sources.diff @@ -0,0 +1,9 @@ +Index: export-jessie/rootfs/etc/apt/sources.list.d/raspi.list +=================================================================== +--- export-jessie.orig/rootfs/etc/apt/sources.list.d/raspi.list ++++ export-jessie/rootfs/etc/apt/sources.list.d/raspi.list +@@ -1,3 +1,3 @@ +-deb http://archive.raspberrypi.org/debian/ jessie main ui staging ++deb http://archive.raspberrypi.org/debian/ jessie main ui + # Uncomment line below then 'apt-get update' to enable 'apt-get source' + #deb-src http://archive.raspberrypi.org/debian/ jessie main ui diff --git a/export-image/01-set-sources/00-patches/series b/export-image/01-set-sources/00-patches/series new file mode 100644 index 0000000..49ccdbc --- /dev/null +++ b/export-image/01-set-sources/00-patches/series @@ -0,0 +1 @@ +0-sources.diff diff --git a/export-image/01-set-sources/01-run.sh b/export-image/01-set-sources/01-run.sh new file mode 100755 index 0000000..638b581 --- /dev/null +++ b/export-image/01-set-sources/01-run.sh @@ -0,0 +1,7 @@ +#!/bin/bash -e + +on_chroot sh -e - <<EOF +apt-get update +apt-get -y dist-upgrade +apt-get clean +EOF |
