diff options
| author | Serge Schneider <serge@raspberrypi.org> | 2016-04-11 07:29:41 +0100 |
|---|---|---|
| committer | Serge Schneider <serge@raspberrypi.org> | 2016-04-11 07:34:01 +0100 |
| commit | 99bf2f4d61abd32e275592800c1367b8e58bb16c (patch) | |
| tree | 1d1f968829e592e70f10bb34ce32ff6c01afedc5 /stage3/01-tweaks | |
| parent | 5200b19f9a92de8ecee7476f366e0d2ce55516e4 (diff) | |
Add Raspbian stages
Diffstat (limited to 'stage3/01-tweaks')
| -rw-r--r-- | stage3/01-tweaks/00-patches/01-lightdm.diff | 13 | ||||
| -rw-r--r-- | stage3/01-tweaks/00-patches/series | 1 | ||||
| -rwxr-xr-x | stage3/01-tweaks/00-run.sh | 15 | ||||
| -rw-r--r-- | stage3/01-tweaks/files/55-storage.pkla | 6 | ||||
| -rw-r--r-- | stage3/01-tweaks/files/75source-profile | 2 |
5 files changed, 37 insertions, 0 deletions
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" |
