Skip to content

Commit

Permalink
Add the siltronix modules to the kernel. issue #8
Browse files Browse the repository at this point in the history
  • Loading branch information
tim committed May 25, 2022
1 parent 16a201c commit 5ef9ed6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
5 changes: 5 additions & 0 deletions kernel/update_kernel_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,10 @@ add_config 'CONFIG_ZSWAP' 'y'
add_config 'CONFIG_VIDEO_SUNXI' 'y'
add_config 'CONFIG_VIDEO_SUNXI_CEDRUS' 'y'

add_config 'CONFIG_GPIOLIB' 'y'
add_config 'CONFIG_FB' 'y'
add_config 'CONFIG_FB_TFT' 'y'
add_config 'CONFIG_FB_TFT_ST7789V' 'y'

echo "Config File Follows #####################"
cat ${CONF_FILE}
19 changes: 13 additions & 6 deletions rootfs/multistrap_config.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/sh
#
# Author: Tim Molteno [email protected]
# (c) 2022
#
export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
export LC_ALL=C LANGUAGE=C LANG=C
dpkg --configure -a
Expand All @@ -7,21 +11,24 @@ dpkg --configure -a
umount /proc
# Needed because we get permissions problems for some reason
chmod 0666 /dev/null

#
# Change root password to 'licheerv'
#
# Change Root Password
# sed -i -e "s/^root:[^:]\+:/root:`openssl passwd -1 -salt root licheerv`:/" /etc/shadow
usermod --password $(echo licheerv | openssl passwd -1 -stdin) root

#
# Add a new user rv:lichee
# Add a new user rv
#
mkdir -p /home/rv
useradd --password dummy \
-G cdrom,floppy,sudo,audio,dip,video,plugdev \
--home-dir /home/rv --shell /bin/bash rv

chown rv:rv /home/rv
# sed -i -e "s/^rv:[^:]\+:/rv:`openssl passwd -1 -salt rv lichee`:/" /etc/shadow
# Set password to 'lichee'
usermod --password $(echo lichee | openssl passwd -1 -stdin) rv

# This is needed
#
# Enable system services
#
systemctl enable systemd-resolved.service

0 comments on commit 5ef9ed6

Please sign in to comment.