From 5dda664cf4667edff9088a77496091dd9de941c1 Mon Sep 17 00:00:00 2001 From: openoms Date: Sat, 9 Feb 2019 20:31:59 +0000 Subject: [PATCH 1/2] update build_sdcard.sh link test bootstrap Type=oneshot --- dietpi/README.md | 12 +++++++----- home.admin/assets/bootstrap.service | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/dietpi/README.md b/dietpi/README.md index 1d9938c95..ac4ac7e6b 100644 --- a/dietpi/README.md +++ b/dietpi/README.md @@ -83,17 +83,17 @@ Reboots again In the desktop terminal in Linux / MacOS or Putty in Windows: `ssh root@[IP-OF-DIETPI]` -password: `dietpi` +password: `dietpi` Should end up here on version v6.20.6 or higher: ![](pictures/bash_prompt.png) run the SDcard build script in this format: -`wget https://raw.githubusercontent.com/[GITHUB-USERNAME]/raspiblitz/[BRANCH]/build_sdcard/raspbianStretchDesktop.sh && sudo bash raspbianStretchDesktop.sh [BRANCH] [GITHUB-USERNAME]` +`wget https://raw.githubusercontent.com/[GITHUB-USERNAME]/raspiblitz/[BRANCH]/build_sdcard.sh && sudo bash build_sdcard.sh [BRANCH] [GITHUB-USERNAME]` Be aware of that the fork needs to be called `raspiblitz` for the git download to work. if you intend to use @openoms`s forked version: -`wget https://raw.githubusercontent.com/openoms/raspiblitz/raspiblitz-dev/build.sdcard/raspbianStretchDesktop.sh && sudo bash raspbianStretchDesktop.sh raspiblitz-dev openoms` +`wget https://raw.githubusercontent.com/openoms/raspiblitz/raspiblitz-dev/build_sdcard.sh && sudo bash build_sdcard.sh raspiblitz-dev openoms` See my example output on the Odorid HC1: [HC1_sdcard_build_output](logs/HC1_sdcard_build_output) @@ -123,8 +123,10 @@ To test a new configuration run XXcleanHDD.sh and strictly restart --- -Currently the DietPi update process has a bug causing bootloop if left alone. Will be sorted once the current, >6.2 version is uploaded as the starting image. -Here find some excerpts from the deafult dietpi.txt (https://github.com/Fourdee/DietPi/blob/master/dietpi.txt) to be used once the automatic install is feasible: +Currently the DietPi update process has a bug causing bootloop if left alone. Will be sorted once the current, >6.2 version is uploaded as the starting image. + +## Excerpts from the default dietpi.txt +(https://github.com/Fourdee/DietPi/blob/master/dietpi.txt) to be used once the automatic install is feasible. ### Automate installation with the dietpi.txt Need to copy to SDcard /boot/dietpi.txt after burning the image with Etcher. diff --git a/home.admin/assets/bootstrap.service b/home.admin/assets/bootstrap.service index c83db1fe6..11244a582 100644 --- a/home.admin/assets/bootstrap.service +++ b/home.admin/assets/bootstrap.service @@ -8,7 +8,7 @@ After=network.target [Service] User=root Group=root -Type=simple +Type=oneshot RemainAfterExit=true ExecStart=/home/admin/_bootstrap.sh StandardOutput=journal From f0b8f46e5c540dffc5e73d3a0adaef5393906d13 Mon Sep 17 00:00:00 2001 From: openoms Date: Sun, 10 Feb 2019 07:19:40 +0000 Subject: [PATCH 2/2] fix bootsrap.service Type=simple --- home.admin/assets/bootstrap.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/assets/bootstrap.service b/home.admin/assets/bootstrap.service index 11244a582..c83db1fe6 100644 --- a/home.admin/assets/bootstrap.service +++ b/home.admin/assets/bootstrap.service @@ -8,7 +8,7 @@ After=network.target [Service] User=root Group=root -Type=oneshot +Type=simple RemainAfterExit=true ExecStart=/home/admin/_bootstrap.sh StandardOutput=journal