File tree Expand file tree Collapse file tree 2 files changed +27
-11
lines changed Expand file tree Collapse file tree 2 files changed +27
-11
lines changed Original file line number Diff line number Diff line change 2121 - name : raspi
2222 script : ./install_pi.sh
2323 base_image : https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2023-12-11/2023-12-11-raspios-bookworm-arm64-lite.img.xz
24- # Orange pi default user seems bjork? also I can't find the where this file ends up in the image? https://github.com/Joshua-Riek/ubuntu-rockchip/blob/0710bd81f5619c25ccddb4e9d69ddbe73827f850/overlay/boot/firmware/user-data#L4
25- # - name: opi5
26- # script: ./install_opi5.sh
27- # base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v1.30/ubuntu-22.04.3-preinstalled-server-arm64-orangepi-5.img.xz
24+ - name : opi5
25+ script : ./install_opi5.sh
26+ base_image : https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v1.30/ubuntu-22.04.3-preinstalled-server-arm64-orangepi-5.img.xz
2827
2928 name : " Build for ${{ matrix.name }}"
3029
Original file line number Diff line number Diff line change 1- find /
21
3- find / -name user-data
2+ # Create pi/raspberry login
3+ if id " $1 " > /dev/null 2>&1 ; then
4+ echo ' user found'
5+ else
6+ echo " creating pi user"
7+ useradd pi -b /home
8+ usermod -a -G sudo pi
9+ mkdir /home/pi
10+ chown -R pi /home/pi
11+ fi
12+ echo " pi:raspberry" | chpasswd
413
514apt-get update
6- apt-get upgrade -y
7-
8- cd /tmp
915wget https://git.io/JJrEP -O install.sh
1016chmod +x install.sh
1117
1218sed -i ' s/# AllowedCPUs=4-7/AllowedCPUs=4-7/g' install.sh
1319
1420./install.sh
21+ rm install.sh
22+
23+ sudo apt-get update
24+ apt-get install -y network-manager net-tools libatomic1
25+ apt-mark manual netplan.io
26+ apt-mark manual libatomic1
27+
28+ cat > /etc/netplan/00-default-nm-renderer.yaml << EOF
29+ network:
30+ renderer: NetworkManager
31+ EOF
1532
16- # Remove extra packages too
33+ # Remove extra packages
1734
18- apt-get purge -y python3 gdb gcc g++ linux-headers* libgcc* -dev * qt *
35+ apt-get remove -y gdb gcc g++ linux-headers* libgcc* -dev
1936apt-get autoremove -y
2037
2138rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments