Customized distribution using alpine rootfs to use u-boot and mainline kernel in rpi4 - issue
Hi,
https://github.com/microhobby/seadog-gaia/blob/main/rootfs/common/prepare
I'm challenging myself to upload this custom distribution to rpi4 based on alpine rootfs, kernel 5.15 and uboot.
I manage to build and after running these two commands (fatload mmc 0:1 ${kernel_addr_r} Image && booti ${kernel_addr_r} - ${fdt_addr}) and putting a new start4.elf I get to the login screen:
The correct thing would be for me to type seadog and seadog (as shown in the prepare file, whose github link is right at the beginning of this issue) and get access, but that doesn't happen
I have already made several attempts to change this file, before coming to ask for help:
# add user
adduser -D seadog
echo -e 'seadog\nseadog\n' | sudo passwd seadog
# username=seadog
# password=seadog
# echo "$password
# $password" | adduser "$username"
# add user
# sudo adduser -D seadog
#/usr/bin/useradd -d seadog
# echo -e "seadog\nseadog" | passwd seadog
# username=seadog
# password=seadog
# adduser --gecos "" --disabled-password $username
# chpasswd <<<"$username:$password"
# sudo addgroup seadog
# sudo adduser -D seadog -G seadog
# echo -e "seadog\nseadog" | passwd seadog
# adduser -D -g seadog seadog
# PW=$(head -c 32 /dev/urandom | base64) && echo -e "$PW\n$PW" | passwd seadog && unset PW
# add user
#adduser -D seadog -w seadog # -r "Load Tester" -u admin -p myadminpassword
# echo -e "seadog\nseadog" | passwd seadog
# add seadog on sudo
sudo adduser seadog wheel
sed -i '/%wheel/s/^# //' /etc/sudoers
Screen to login: https://postlmg.cc/yJc3hkPY
How can I solve it? Pls []s