wip commit final script

This commit is contained in:
HugoPoi 2021-03-20 20:13:01 +01:00
parent 2bd02e62c5
commit d023b1c1b4
3 changed files with 2 additions and 2 deletions

View File

@ -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`

View File

@ -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