Add Raspbian stages
This commit is contained in:
8
stage3/00-install-packages/00-packages
Normal file
8
stage3/00-install-packages/00-packages
Normal file
@@ -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
|
6
stage3/00-install-packages/00-packages-nr
Normal file
6
stage3/00-install-packages/00-packages-nr
Normal file
@@ -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
|
13
stage3/01-tweaks/00-patches/01-lightdm.diff
Normal file
13
stage3/01-tweaks/00-patches/01-lightdm.diff
Normal file
@@ -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=
|
1
stage3/01-tweaks/00-patches/series
Normal file
1
stage3/01-tweaks/00-patches/series
Normal file
@@ -0,0 +1 @@
|
||||
01-lightdm.diff
|
15
stage3/01-tweaks/00-run.sh
Executable file
15
stage3/01-tweaks/00-run.sh
Executable file
@@ -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/
|
6
stage3/01-tweaks/files/55-storage.pkla
Normal file
6
stage3/01-tweaks/files/55-storage.pkla
Normal file
@@ -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
|
2
stage3/01-tweaks/files/75source-profile
Normal file
2
stage3/01-tweaks/files/75source-profile
Normal file
@@ -0,0 +1,2 @@
|
||||
[ -f /etc/profile ] && . /etc/profile
|
||||
[ -f "$HOME/.profile" ] && . "$HOME/.profile"
|
4
stage3/prerun.sh
Executable file
4
stage3/prerun.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash -e
|
||||
if [ ! -d ${ROOTFS_DIR} ]; then
|
||||
copy_previous
|
||||
fi
|
Reference in New Issue
Block a user