Skip to content

Commit 6b0009e

Browse files
committed
setup for buster - wip
1 parent d803133 commit 6b0009e

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

scripts/image/setup.sh

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,30 @@
1+
#qemu-system-arm -kernel c:\dev\qemu-rpi-kernel\kernel-qemu-4.19.50-buster -cpu arm1176 -m 256 -M versatilepb -dtb c:\dev\qemu-rpi-kernel\versatile-pb-buster.dtb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" -drive "file=c:\dev\omnipy.img,index=0,media=disk,format=raw" -net user,hostfwd=tcp::5022-:22 -net nic
2+
13
#!/usr/bin/env bash
24
sudo touch /boot/ssh
35

46
sudo passwd pi
57
sudo raspi-config
68

79
# hostname: omnipy
8-
# adv, memory split, 16
10+
#? adv, memory split, 16
911
# enable predictive intf names
1012
# timezone other/utc
11-
#reboot
13+
# adv resize fs
14+
# reboot
1215

1316

1417
sudo apt update && sudo apt upgrade -y
15-
sudo apt install -y screen git python3 python3-pip vim jq bluez-tools libglib2.0-dev python3-rpi.gpio
16-
#expect build-essential libglib2.0-dev libdbus-1-dev libudev-dev libical-dev libreadline-dev rpi-update
17-
#reboot
18+
sudo apt autoremove
19+
20+
### omnipy-bare image end
21+
22+
### omnipy-base image start
23+
24+
sudo apt install -y screen git python3 python3-pip vim jq bluez-tools libglib2.0-dev python3-rpi.gpio ntp fake-hwclock \
25+
bluez-tools python3-pip python3-venv gobject-introspection libgirepository1.0-dev libcairo2-dev expect build-essential \
26+
libdbus-1-dev libudev-dev libical-dev libreadline-dev rpi-update
27+
1828

1929

2030
# sudo apt install -y hostapd dnsmasq

0 commit comments

Comments
 (0)