Compare commits

..

14 Commits

Author SHA1 Message Date
Storm Dragon
034c561a53 Moved the journald configuration to a file in it's drop in directory. Also, explicitly set volatile storage to cut down on SD card writes. 2025-02-09 17:36:02 -05:00
Storm Dragon
2108f02719 Removed some packages that can be installed after the build is completed. 2025-01-24 12:21:02 -05:00
Storm Dragon
06282f5ea8 Fixed the removal of packages at the end of image creation. 2025-01-17 01:35:21 -05:00
Storm Dragon
6bb5267b91 Chroot message just because I'm paranoid now. 2025-01-04 20:47:18 -05:00
Storm Dragon
b87647756f After scary encounter with some problems, clearly indicate when build system is in chroot. 2025-01-04 20:34:49 -05:00
Storm Dragon
505028ab44 Dependencies added for package building and removed at completion. 2025-01-04 19:46:08 -05:00
Storm Dragon
9657719613 In process of moving headless X driver stuff to configure-stormux. 2025-01-04 19:19:44 -05:00
Storm Dragon
3e4c4d18ee Revert to old working headless driver. 2025-01-04 19:15:52 -05:00
Storm Dragon
9beea608ed Python accessible_output2 library added. 2025-01-04 15:40:08 -05:00
Storm Dragon
69ca3a957c Added file to fix wifi for Raspbery Pi 500. It was necessary a while back for the Pi 4 as well, so I don't think it will break anything. 2024-12-16 13:22:29 -05:00
Storm Dragon
7c62016063 added a configureation file for the Raspberry Pi Monitor, moved 10-headless.conf so it is the last thing tried. 2024-12-14 09:20:48 -05:00
Storm Dragon
5d43526e85 Reverted to old dummy driver because new one fails in lots of configurations. 2024-12-13 16:23:01 -05:00
Storm Dragon
749ef52656 Updated installed version of Fenrir to stable, added new dependencies. 2024-12-10 23:30:13 -05:00
Storm Dragon
d0c8b864ae Another attempt at using video and falling back to headless if nothing is found. Hopefully with better hardware support. 2024-12-01 19:54:04 -05:00
5 changed files with 16 additions and 81 deletions

View File

@ -152,7 +152,8 @@ fi
bsdtar -xpf "${imageFileName}" -C /mnt bsdtar -xpf "${imageFileName}" -C /mnt
# Set -e in case it got unset for 32 bit image # Set -e in case it got unset for 32 bit image
set -e set -e
arch-chroot /mnt << EOF PS1="(Chroot) [\u@\h \W] \$" arch-chroot /mnt << EOF
echo "Chroot started."
# set up pacman # set up pacman
pacman-key --init pacman-key --init
pacman-key --populate archlinuxarm pacman-key --populate archlinuxarm
@ -193,6 +194,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 +210,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 +232,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}

View File

@ -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

View File

@ -0,0 +1 @@
options brcmfmac feature_disable=0x82000

View File

@ -1,47 +0,0 @@
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in
# the journald.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins.
#
# Use 'systemd-analyze cat-config systemd/journald.conf' to display the full config.
#
# See journald.conf(5) for details.
[Journal]
#Storage=auto
#Compress=yes
#Seal=yes
#SplitMode=uid
#SyncIntervalSec=5m
#RateLimitIntervalSec=30s
#RateLimitBurst=10000
SystemMaxUse=20M
#SystemKeepFree=
#SystemMaxFileSize=
#SystemMaxFiles=100
#RuntimeMaxUse=
#RuntimeKeepFree=
#RuntimeMaxFileSize=
#RuntimeMaxFiles=100
#MaxRetentionSec=
#MaxFileSec=1month
#ForwardToSyslog=no
#ForwardToKMsg=no
#ForwardToConsole=no
#ForwardToWall=yes
#TTYPath=/dev/console
#MaxLevelStore=debug
#MaxLevelSyslog=debug
#MaxLevelKMsg=notice
#MaxLevelConsole=info
#MaxLevelWall=emerg
#LineMax=48K
#ReadKMsg=yes
#Audit=yes

View File

@ -0,0 +1,3 @@
[Journal]
Storage=volatile
SystemMaxUse=20M