Compare commits
5 Commits
master
...
69ca3a957c
Author | SHA1 | Date | |
---|---|---|---|
69ca3a957c | |||
7c62016063 | |||
5d43526e85 | |||
749ef52656 | |||
d0c8b864ae |
@ -193,6 +193,7 @@ pacman -Su --needed --noconfirm \
|
|||||||
python-daemonize \
|
python-daemonize \
|
||||||
python-evdev \
|
python-evdev \
|
||||||
python-dbus \
|
python-dbus \
|
||||||
|
python-pyenchant \
|
||||||
python-pyte \
|
python-pyte \
|
||||||
raspberrypi-utils \
|
raspberrypi-utils \
|
||||||
realtime-privileges \
|
realtime-privileges \
|
||||||
@ -208,6 +209,8 @@ pacman -Su --needed --noconfirm \
|
|||||||
xdg-user-dirs \
|
xdg-user-dirs \
|
||||||
xdg-utils
|
xdg-utils
|
||||||
|
|
||||||
|
# Restart gpg agents.
|
||||||
|
gpgconf --kill all
|
||||||
# set the language
|
# set the language
|
||||||
sed -i "s/#$imageLanguage/$imageLanguage/" /etc/locale.gen
|
sed -i "s/#$imageLanguage/$imageLanguage/" /etc/locale.gen
|
||||||
echo "LANG=$imageLanguage" > /etc/locale.conf
|
echo "LANG=$imageLanguage" > /etc/locale.conf
|
||||||
@ -228,17 +231,23 @@ echo -e "root\nroot" | passwd "root"
|
|||||||
echo -e "stormux\nstormux" | passwd "stormux"
|
echo -e "stormux\nstormux" | passwd "stormux"
|
||||||
# Change to the stormux user and install some packages
|
# Change to the stormux user and install some packages
|
||||||
sudo -iu stormux
|
sudo -iu stormux
|
||||||
|
# suppress git spam about default branch name
|
||||||
|
git config --global init.defaultBranch master
|
||||||
# Create desktop, downloads, music, and other directories.
|
# Create desktop, downloads, music, and other directories.
|
||||||
xdg-user-dirs-update
|
xdg-user-dirs-update
|
||||||
# Build AUR packages
|
# Build AUR packages
|
||||||
export aurPackages=(fenrir-git \
|
export aurPackages=(fenrir \
|
||||||
growpartfs \
|
growpartfs \
|
||||||
log2ram \
|
log2ram \
|
||||||
|
python-pythondialog \
|
||||||
yay)
|
yay)
|
||||||
export PKGDEST=~/packages
|
export PKGDEST=~/packages
|
||||||
for p in "\${aurPackages[@]}" ; do
|
for p in "\${aurPackages[@]}" ; do
|
||||||
git clone https://aur.archlinux.org/\${p}.git
|
git clone https://aur.archlinux.org/\${p}.git
|
||||||
cd ~/\${p}
|
cd ~/\${p}
|
||||||
|
if [[ "\${p}" == "python-pythondialog" ]]; then
|
||||||
|
gpg --import keys/pgp/*.asc
|
||||||
|
fi
|
||||||
makepkg -A
|
makepkg -A
|
||||||
cd ~
|
cd ~
|
||||||
rm -rf \${p}
|
rm -rf \${p}
|
||||||
|
4
pi4/files/etc/X11/xorg.conf.d/10-fbdev.conf
Normal file
4
pi4/files/etc/X11/xorg.conf.d/10-fbdev.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
Section "Device"
|
||||||
|
Identifier "fbdev"
|
||||||
|
Driver "fbdev"
|
||||||
|
EndSection
|
@ -1,32 +0,0 @@
|
|||||||
Section "ServerLayout"
|
|
||||||
Identifier "Layout0"
|
|
||||||
Screen 0 "Screen0"
|
|
||||||
EndSection
|
|
||||||
|
|
||||||
Section "Monitor"
|
|
||||||
Identifier "Monitor0"
|
|
||||||
Option "DPMS" "true"
|
|
||||||
HorizSync 28.0-80.0
|
|
||||||
VertRefresh 48.0-75.0
|
|
||||||
Modeline "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118
|
|
||||||
EndSection
|
|
||||||
|
|
||||||
Section "Device"
|
|
||||||
Identifier "Card0"
|
|
||||||
# Try standard driver
|
|
||||||
Driver "modesetting"
|
|
||||||
# Fallback to dummy
|
|
||||||
Option "FallbackDriver" "dummy"
|
|
||||||
VideoRam 256000
|
|
||||||
EndSection
|
|
||||||
|
|
||||||
Section "Screen"
|
|
||||||
Identifier "Screen0"
|
|
||||||
Device "Card0"
|
|
||||||
Monitor "Monitor0"
|
|
||||||
DefaultDepth 24
|
|
||||||
SubSection "Display"
|
|
||||||
Depth 24
|
|
||||||
Modes "1920x1080"
|
|
||||||
EndSubSection
|
|
||||||
EndSection
|
|
20
pi4/files/etc/X11/xorg.conf.d/99-headless.conf
Normal file
20
pi4/files/etc/X11/xorg.conf.d/99-headless.conf
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
Section "Monitor"
|
||||||
|
Identifier "dummy_monitor"
|
||||||
|
HorizSync 28.0-80.0
|
||||||
|
VertRefresh 48.0-75.0
|
||||||
|
Modeline "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118
|
||||||
|
EndSection
|
||||||
|
|
||||||
|
Section "Device"
|
||||||
|
Identifier "dummy_card"
|
||||||
|
VideoRam 256000
|
||||||
|
Driver "dummy"
|
||||||
|
EndSection
|
||||||
|
|
||||||
|
Section "Screen"
|
||||||
|
Identifier "dummy_screen"
|
||||||
|
Device "dummy_card"
|
||||||
|
Monitor "dummy_monitor"
|
||||||
|
SubSection "Display"
|
||||||
|
EndSubSection
|
||||||
|
EndSection
|
1
pi4/files/etc/modprobe.d/brcmfmac.conf
Normal file
1
pi4/files/etc/modprobe.d/brcmfmac.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
options brcmfmac feature_disable=0x82000
|
Reference in New Issue
Block a user