should work this time
This commit is contained in:
parent
c53c02f8c9
commit
7a683735b3
|
@ -1,4 +1,4 @@
|
||||||
FROM debian:buster
|
FROM i386/debian:buster
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cgroup_enable=memory cgroup_memory=1
|
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- stage2.orig/rootfs/boot/cmdline.txt
|
--- stage2.orig/rootfs/boot/cmdline.txt
|
||||||
+++ stage2/rootfs/boot/cmdline.txt
|
+++ stage2/rootfs/boot/cmdline.txt
|
||||||
@@ -1 +1 @@
|
@@ -1 +1 @@
|
||||||
-console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
|
-dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
|
||||||
+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 quiet init=/usr/lib/raspi-config/init_resize.sh
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
nodejs
|
nodejs
|
||||||
npm
|
|
||||||
|
|
|
@ -5,6 +5,7 @@ install -m 644 files/greengrass.service /etc/systemd/system/greengrass.service
|
||||||
install -m 755 files/S02greengrass /etc/init.d/S02greengrass
|
install -m 755 files/S02greengrass /etc/init.d/S02greengrass
|
||||||
|
|
||||||
on_chroot << EOF
|
on_chroot << EOF
|
||||||
|
sed -i -e 's/$/"splash plymouth.ignore-serial-consoles cgroup_enable=memory cgroup_memory=1"/' /boot/cmdline.txt
|
||||||
/bin/install-greengrass.sh bootstrap-greengrass
|
/bin/install-greengrass.sh bootstrap-greengrass
|
||||||
modprobe configs
|
modprobe configs
|
||||||
systemctl enable greengrass.service
|
systemctl enable greengrass.service
|
||||||
|
|
Loading…
Reference in New Issue
Block a user