aboutsummaryrefslogtreecommitdiffstats
path: root/stage3
diff options
context:
space:
mode:
Diffstat (limited to 'stage3')
-rw-r--r--stage3/00-install-packages/00-packages8
-rw-r--r--stage3/00-install-packages/00-packages-nr6
-rw-r--r--stage3/01-tweaks/00-patches/01-lightdm.diff13
-rw-r--r--stage3/01-tweaks/00-patches/series1
-rwxr-xr-xstage3/01-tweaks/00-run.sh15
-rw-r--r--stage3/01-tweaks/files/55-storage.pkla6
-rw-r--r--stage3/01-tweaks/files/75source-profile2
-rwxr-xr-xstage3/prerun.sh4
8 files changed, 55 insertions, 0 deletions
diff --git a/stage3/00-install-packages/00-packages b/stage3/00-install-packages/00-packages
new file mode 100644
index 0000000..fe83adc
--- /dev/null
+++ b/stage3/00-install-packages/00-packages
@@ -0,0 +1,8 @@
+gstreamer1.0-x gstreamer1.0-omx gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-alsa gstreamer1.0-libav
+xpdf gtk2-engines alsa-utils
+desktop-base
+git-core rpi-update
+omxplayer
+raspberrypi-artwork
+policykit-1
+udisks
diff --git a/stage3/00-install-packages/00-packages-nr b/stage3/00-install-packages/00-packages-nr
new file mode 100644
index 0000000..3915e3a
--- /dev/null
+++ b/stage3/00-install-packages/00-packages-nr
@@ -0,0 +1,6 @@
+xserver-xorg-video-fbdev xserver-xorg xinit xserver-xorg-video-fbturbo
+epiphany-browser
+lxde lxtask menu-xdg gksu
+netsurf-gtk zenity xdg-utils
+gvfs-backends gvfs-fuse
+lightdm gnome-themes-standard-data gnome-icon-theme
diff --git a/stage3/01-tweaks/00-patches/01-lightdm.diff b/stage3/01-tweaks/00-patches/01-lightdm.diff
new file mode 100644
index 0000000..b2a8c8b
--- /dev/null
+++ b/stage3/01-tweaks/00-patches/01-lightdm.diff
@@ -0,0 +1,13 @@
+Index: jessie-stage3/rootfs/etc/lightdm/lightdm-gtk-greeter.conf
+===================================================================
+--- jessie-stage3.orig/rootfs/etc/lightdm/lightdm-gtk-greeter.conf
++++ jessie-stage3/rootfs/etc/lightdm/lightdm-gtk-greeter.conf
+@@ -16,7 +16,7 @@
+ # screensaver-timeout = Timeout (in seconds) until the screen blanks when the greeter is called as lockscreen
+ #
+ [greeter]
+-background=/usr/share/images/desktop-base/login-background.svg
++background=#ffffff
+ theme-name=Adwaita
+ #icon-theme-name=
+ #font-name=
diff --git a/stage3/01-tweaks/00-patches/series b/stage3/01-tweaks/00-patches/series
new file mode 100644
index 0000000..e8bdcf5
--- /dev/null
+++ b/stage3/01-tweaks/00-patches/series
@@ -0,0 +1 @@
+01-lightdm.diff
diff --git a/stage3/01-tweaks/00-run.sh b/stage3/01-tweaks/00-run.sh
new file mode 100755
index 0000000..0b0f1bc
--- /dev/null
+++ b/stage3/01-tweaks/00-run.sh
@@ -0,0 +1,15 @@
+#!/bin/bash -e
+
+on_chroot sh -e - <<EOF
+update-alternatives --set libgksu-gconf-defaults /usr/share/libgksu/debian/gconf-defaults.libgksu-sudo
+update-gconf-defaults
+EOF
+
+on_chroot sh -e - <<EOF
+update-alternatives --install /usr/share/images/desktop-base/desktop-background \
+desktop-background /usr/share/raspberrypi-artwork/raspberry-pi-logo.png 100
+EOF
+
+rm -f ${ROOTFS_DIR}/etc/systemd/system/dhcpcd.service.d/wait.conf
+install -m 644 files/55-storage.pkla ${ROOTFS_DIR}/etc/polkit-1/localauthority/50-local.d/
+install -m 644 files/75source-profile ${ROOTFS_DIR}/etc/X11/Xsession.d/
diff --git a/stage3/01-tweaks/files/55-storage.pkla b/stage3/01-tweaks/files/55-storage.pkla
new file mode 100644
index 0000000..2428d77
--- /dev/null
+++ b/stage3/01-tweaks/files/55-storage.pkla
@@ -0,0 +1,6 @@
+[Storage Permissions]
+Identity=unix-group:plugdev
+Action=org.freedesktop.udisks.filesystem-mount;org.freedesktop.udisks.drive-eject;org.freedesktop.udisks.drive-detach;org.freedesktop.udisks.luks-unlock;org.freedesktop.udisks.inhibit-polling;org.freedesktop.udisks.drive-set-spindown
+ResultAny=yes
+ResultActive=yes
+ResultInactive=no
diff --git a/stage3/01-tweaks/files/75source-profile b/stage3/01-tweaks/files/75source-profile
new file mode 100644
index 0000000..d93828b
--- /dev/null
+++ b/stage3/01-tweaks/files/75source-profile
@@ -0,0 +1,2 @@
+[ -f /etc/profile ] && . /etc/profile
+[ -f "$HOME/.profile" ] && . "$HOME/.profile"
diff --git a/stage3/prerun.sh b/stage3/prerun.sh
new file mode 100755
index 0000000..a5ea5f4
--- /dev/null
+++ b/stage3/prerun.sh
@@ -0,0 +1,4 @@
+#!/bin/bash -e
+if [ ! -d ${ROOTFS_DIR} ]; then
+ copy_previous
+fi