mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Adding pi-gen sources as of v9-beta3
This commit is contained in:
5
pi-gen-sources/00-patches/01-cmdline-update.diff
Normal file
5
pi-gen-sources/00-patches/01-cmdline-update.diff
Normal file
@@ -0,0 +1,5 @@
|
||||
--- stage7/rootfs/boot/cmdline.txt
|
||||
+++ stage7/rootfs/boot/cmdline.txt
|
||||
@@ -1 +1 @@
|
||||
-dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet init=/usr/lib/raspi-config/init_resize.sh
|
||||
+dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait modules-load=dwc2,g_ether quiet
|
||||
7
pi-gen-sources/00-patches/02-config-update.diff
Normal file
7
pi-gen-sources/00-patches/02-config-update.diff
Normal file
@@ -0,0 +1,7 @@
|
||||
--- stage7/rootfs/boot/config.txt
|
||||
+++ stage7/rootfs/boot/config.txt
|
||||
@@ -54,3 +54,4 @@
|
||||
|
||||
# Enable audio (loads snd_bcm2835)
|
||||
dtparam=audio=on
|
||||
+dtoverlay=dwc2
|
||||
9
pi-gen-sources/00-patches/03-hosts-update.diff
Normal file
9
pi-gen-sources/00-patches/03-hosts-update.diff
Normal file
@@ -0,0 +1,9 @@
|
||||
--- stage7/rootfs/etc/hosts
|
||||
+++ stage7/rootfs/etc/hosts
|
||||
@@ -3,4 +3,5 @@
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
||||
|
||||
-127.0.1.1 raspberrypi
|
||||
+127.0.0.1 teslausb
|
||||
+
|
||||
5
pi-gen-sources/00-patches/04-hostname-update.diff
Normal file
5
pi-gen-sources/00-patches/04-hostname-update.diff
Normal file
@@ -0,0 +1,5 @@
|
||||
--- stage7/rootfs/etc/hostname
|
||||
+++ stage7/rootfs/etc/hostname
|
||||
@@ -1 +1 @@
|
||||
-raspberrypi
|
||||
+teslausb
|
||||
4
pi-gen-sources/00-patches/series
Normal file
4
pi-gen-sources/00-patches/series
Normal file
@@ -0,0 +1,4 @@
|
||||
01-cmdline-update.diff
|
||||
02-config-update.diff
|
||||
03-hosts-update.diff
|
||||
04-hostname-update.diff
|
||||
Reference in New Issue
Block a user