Mayank
5 years ago
No known key found for this signature in database
GPG Key ID: D037D60476CE748C
2 changed files with
6 additions and
2 deletions
-
stage0/00-configure-apt/00-run.sh
-
stage2/01-sys-tweaks/files/rc.local
|
|
@ -27,9 +27,9 @@ chmod +x download-frozen-image-v2.sh |
|
|
|
./download-frozen-image-v2.sh docker-images getumbrel/middleware:latest |
|
|
|
ls docker-images/ |
|
|
|
mkdir -p ${ROOTFS_DIR}/tmp/docker-images |
|
|
|
cp -avr docker-images/ ${ROOTFS_DIR}/tmp/docker-images |
|
|
|
cp -avr docker-images/ ${ROOTFS_DIR}/tmp |
|
|
|
|
|
|
|
on_chroot << EOF |
|
|
|
ls /tmp |
|
|
|
echo "Verifying images on device" |
|
|
|
ls /tmp/docker-images |
|
|
|
EOF |
|
|
@ -54,6 +54,10 @@ if [ ! -f /home/umbrel/statuses/service-configured ]; then |
|
|
|
# Making this as done so we don't go through updates again |
|
|
|
touch /home/umbrel/statuses/service-configured |
|
|
|
chown -R umbrel.umbrel /home/umbrel/statuses/service-configured |
|
|
|
|
|
|
|
#Load docker images |
|
|
|
echo "Loading docker images" |
|
|
|
tar -cC '/tmp/docker-images' . | docker load |
|
|
|
fi |
|
|
|
|
|
|
|
# Next stage, check if service-configured |
|
|
|