Compare commits

...

1 Commits

Author SHA1 Message Date
HugoPoi
d023b1c1b4 wip commit final script 2021-03-20 20:13:01 +01:00
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 /sys -t sysfs`
`mount none /dev/pts -t devpts` `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` `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 mkdir -p /sysroot
sudo mount --rbind /tmp/sys /sysroot sudo mount --rbind /tmp/sys /sysroot
sudo touch /etc/initrd-release 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