wip commit final script
This commit is contained in:
parent
2bd02e62c5
commit
d023b1c1b4
|
@ -32,6 +32,5 @@ systemctl switch-root /tmp/tmproot/
|
|||
`mount none /sys -t sysfs`
|
||||
`mount none /dev/pts -t devpts`
|
||||
|
||||
Fuck I need sshd
|
||||
|
||||
`wget -O - https://github.com/YunoHost/arm-images/releases/download/v2020.10/internetcube_4.0.8_v2020.10_lime2.img.gz | gzip -cd | dd iflag=fullblock bs=1M oflag=direct status=progress of=/dev/mmcblk0`
|
||||
|
|
|
@ -17,4 +17,5 @@ sudo swapoff -a
|
|||
sudo mkdir -p /sysroot
|
||||
sudo mount --rbind /tmp/sys /sysroot
|
||||
sudo touch /etc/initrd-release
|
||||
|
||||
# it will stop all other services (isolate) and call systemctl switch-root /sysroot
|
||||
sudo systemctl --no-block isolate initrd-switch-root
|
||||
|
|
Loading…
Reference in New Issue
Block a user