Switch to Stretch
This commit is contained in:
parent
68cdf34cb4
commit
8f361a1c38
15 changed files with 35 additions and 31 deletions
|
@ -3,7 +3,7 @@ Index: export-jessie/rootfs/etc/apt/sources.list.d/raspi.list
|
||||||
--- export-jessie.orig/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
|
+++ export-jessie/rootfs/etc/apt/sources.list.d/raspi.list
|
||||||
@@ -1,3 +1,3 @@
|
@@ -1,3 +1,3 @@
|
||||||
-deb http://archive.raspberrypi.org/debian/ jessie main ui staging
|
-deb http://archive.raspberrypi.org/debian/ stretch main ui staging
|
||||||
+deb http://archive.raspberrypi.org/debian/ jessie main ui
|
+deb http://archive.raspberrypi.org/debian/ stretch main ui
|
||||||
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
|
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
|
||||||
#deb-src http://archive.raspberrypi.org/debian/ jessie main ui
|
#deb-src http://archive.raspberrypi.org/debian/ stretch main ui
|
||||||
|
|
|
@ -14,5 +14,5 @@
|
||||||
],
|
],
|
||||||
"url": "http://www.raspbian.org/",
|
"url": "http://www.raspbian.org/",
|
||||||
"username": "pi",
|
"username": "pi",
|
||||||
"version": "jessie"
|
"version": "stretch"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
deb http://archive.raspberrypi.org/debian/ jessie main ui staging
|
deb http://archive.raspberrypi.org/debian/ stretch main ui staging
|
||||||
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
|
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
|
||||||
#deb-src http://archive.raspberrypi.org/debian/ jessie main ui
|
#deb-src http://archive.raspberrypi.org/debian/ stretch main ui
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
|
deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi
|
||||||
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
|
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
|
||||||
#deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
|
#deb-src http://archive.raspbian.org/raspbian/ stretch main contrib non-free rpi
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
if [ ! -d ${ROOTFS_DIR} ]; then
|
if [ ! -d ${ROOTFS_DIR} ]; then
|
||||||
bootstrap jessie ${ROOTFS_DIR} http://mirrordirector.raspbian.org/raspbian/
|
bootstrap stretch ${ROOTFS_DIR} http://mirrordirector.raspbian.org/raspbian/
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
Index: jessie-stage1/rootfs/lib/udev/rules.d/75-persistent-net-generator.rules
|
|
||||||
===================================================================
|
|
||||||
--- jessie-stage1.orig/rootfs/lib/udev/rules.d/75-persistent-net-generator.rules
|
|
||||||
+++ jessie-stage1/rootfs/lib/udev/rules.d/75-persistent-net-generator.rules
|
|
||||||
@@ -22,7 +22,7 @@ IMPORT{cmdline}="net.ifnames"
|
|
||||||
ENV{net.ifnames}=="1", GOTO="persistent_net_generator_end"
|
|
||||||
|
|
||||||
# device name whitelist
|
|
||||||
-KERNEL!="eth*|ath*|wlan*[0-9]|msh*|ra*|sta*|ctc*|lcs*|hsi*", \
|
|
||||||
+KERNEL!="ath*|msh*|ra*|sta*|ctc*|lcs*|hsi*", \
|
|
||||||
GOTO="persistent_net_generator_end"
|
|
||||||
|
|
||||||
# ignore Xen virtual interfaces
|
|
|
@ -1,2 +1 @@
|
||||||
01-hosts.diff
|
01-hosts.diff
|
||||||
02-persistant-net.diff
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
install -m 644 files/ipv6.conf ${ROOTFS_DIR}/etc/modprobe.d/ipv6.conf
|
install -m 644 files/ipv6.conf ${ROOTFS_DIR}/etc/modprobe.d/ipv6.conf
|
||||||
install -m 644 files/interfaces ${ROOTFS_DIR}/etc/network/interfaces
|
|
||||||
install -m 644 files/hostname ${ROOTFS_DIR}/etc/hostname
|
install -m 644 files/hostname ${ROOTFS_DIR}/etc/hostname
|
||||||
|
|
||||||
on_chroot << EOF
|
on_chroot << EOF
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
ssh less fbset sudo psmisc strace module-init-tools ed ncdu crda
|
ssh less fbset sudo psmisc strace ed ncdu crda
|
||||||
console-setup keyboard-configuration debconf-utils parted unzip
|
console-setup keyboard-configuration debconf-utils parted unzip
|
||||||
build-essential manpages-dev python bash-completion gdb pkg-config
|
build-essential manpages-dev python bash-completion gdb pkg-config
|
||||||
python-rpi.gpio v4l-utils
|
python-rpi.gpio v4l-utils
|
||||||
|
|
|
@ -2,5 +2,4 @@
|
||||||
02-swap.diff
|
02-swap.diff
|
||||||
04-inputrc.diff
|
04-inputrc.diff
|
||||||
05-path.diff
|
05-path.diff
|
||||||
06-rc_local.diff
|
|
||||||
07-resize-init.diff
|
07-resize-init.diff
|
||||||
|
|
|
@ -11,6 +11,8 @@ install -m 644 files/50raspi ${ROOTFS_DIR}/etc/apt/apt.conf.d/
|
||||||
|
|
||||||
install -m 644 files/console-setup ${ROOTFS_DIR}/etc/default/
|
install -m 644 files/console-setup ${ROOTFS_DIR}/etc/default/
|
||||||
|
|
||||||
|
install -m 755 files/rc.local ${ROOTFS_DIR}/etc/
|
||||||
|
|
||||||
on_chroot << EOF
|
on_chroot << EOF
|
||||||
systemctl disable hwclock.sh
|
systemctl disable hwclock.sh
|
||||||
systemctl disable nfs-common
|
systemctl disable nfs-common
|
||||||
|
|
20
stage2/01-sys-tweaks/files/rc.local
Executable file
20
stage2/01-sys-tweaks/files/rc.local
Executable file
|
@ -0,0 +1,20 @@
|
||||||
|
#!/bin/sh -e
|
||||||
|
#
|
||||||
|
# rc.local
|
||||||
|
#
|
||||||
|
# This script is executed at the end of each multiuser runlevel.
|
||||||
|
# Make sure that the script will "exit 0" on success or any other
|
||||||
|
# value on error.
|
||||||
|
#
|
||||||
|
# In order to enable or disable this script just change the execution
|
||||||
|
# bits.
|
||||||
|
#
|
||||||
|
# By default this script does nothing.
|
||||||
|
|
||||||
|
# Print the IP address
|
||||||
|
_IP=$(hostname -I) || true
|
||||||
|
if [ "$_IP" ]; then
|
||||||
|
printf "My IP address is %s\n" "$_IP"
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
|
@ -1,2 +1,2 @@
|
||||||
NOOBS_NAME="Raspbian Lite"
|
NOOBS_NAME="Raspbian Lite"
|
||||||
NOOBS_DESCRIPTION="A port of Debian jessie for the Raspberry Pi (minimal version)"
|
NOOBS_DESCRIPTION="A port of Debian Stretch for the Raspberry Pi (minimal version)"
|
||||||
|
|
|
@ -8,11 +8,10 @@ python-serial python3-serial
|
||||||
python-picamera python3-picamera
|
python-picamera python3-picamera
|
||||||
debian-reference-en dillo x2x
|
debian-reference-en dillo x2x
|
||||||
raspberrypi-net-mods raspberrypi-ui-mods
|
raspberrypi-net-mods raspberrypi-ui-mods
|
||||||
smartsim penguinspuzzle
|
smartsim
|
||||||
python-pip python3-pip
|
python-pip python3-pip
|
||||||
python3-numpy
|
python3-numpy
|
||||||
pypy
|
pypy
|
||||||
python3-pifacecommon python3-pifacedigitalio python3-pifacedigital-scratch-handler python-pifacecommon python-pifacedigitalio
|
|
||||||
minecraft-pi python-minecraftpi
|
minecraft-pi python-minecraftpi
|
||||||
alacarte rc-gui sense-hat
|
alacarte rc-gui sense-hat
|
||||||
claws-mail
|
claws-mail
|
||||||
|
@ -30,7 +29,6 @@ python-twython python3-twython
|
||||||
python-smbus python3-smbus
|
python-smbus python3-smbus
|
||||||
python-flask python3-flask
|
python-flask python3-flask
|
||||||
python-picraft python3-picraft
|
python-picraft python3-picraft
|
||||||
python3-codebug-tether python3-codebug-i2c-tether
|
|
||||||
python-sense-emu python3-sense-emu sense-emu-tools python-sense-emu-doc
|
python-sense-emu python3-sense-emu sense-emu-tools python-sense-emu-doc
|
||||||
pprompt
|
pprompt
|
||||||
scratch2
|
scratch2
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
NOOBS_NAME="Raspbian"
|
NOOBS_NAME="Raspbian"
|
||||||
NOOBS_DESCRIPTION="A port of Debian jessie for the Raspberry Pi (full desktop version)"
|
NOOBS_DESCRIPTION="A port of Debian Stretch for the Raspberry Pi (full desktop version)"
|
||||||
|
|
Loading…
Reference in a new issue