mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-09-30 19:33:46 +08:00
hostname with serial number (#180)
* hostname with serial number * add systemd.hostname kernel param * /etc/hostname is now a symlink * probably shouldn't have moved that * fix path * force symlink * update kernel load script to support passing in device name * remove kernel param * change hostname from tici to comma * bump kernel
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash -e
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
DEVICE=tici-ethernet
|
||||
DEVICE=${DEVICE:-comma-ethernet}
|
||||
|
||||
scp output/boot.img $DEVICE:/tmp/
|
||||
ssh $DEVICE "sudo dd if=/tmp/boot.img of=/dev/disk/by-partlabel/boot_a && sudo dd if=/tmp/boot.img of=/dev/disk/by-partlabel/boot_b && sudo reboot"
|
||||
|
||||
Reference in New Issue
Block a user