Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd0c0aed authored by Romain Hunault's avatar Romain Hunault
Browse files

Revert "Add begin and end scripts"

This reverts commit 40c5cdfc.
parent 11502389
Loading
Loading
Loading
Loading
+0 −5
Original line number Original line Diff line number Diff line
@@ -166,11 +166,6 @@ RUN mkdir -p $KEYS_DIR
RUN mkdir -p $LOGS_DIR
RUN mkdir -p $LOGS_DIR
RUN mkdir -p $USERSCRIPTS_DIR
RUN mkdir -p $USERSCRIPTS_DIR



# Copy required files
#####################
COPY userscripts /srv/userscripts/

# Install build dependencies
# Install build dependencies
############################
############################
RUN echo 'deb http://deb.debian.org/debian sid main' >> /etc/apt/sources.list
RUN echo 'deb http://deb.debian.org/debian sid main' >> /etc/apt/sources.list

userscripts/begin.sh

deleted100755 → 0
+0 −7
Original line number Original line Diff line number Diff line
#!/bin/bash

# Get local manifests (especiially for specific devices)
cd /srv/local_manifests
if [ ! -d ".git" ]; then git init && git remote add -f origin ssh://git@gitlab.eelo.io:2222/eelo/local_manifests.git; fi
git checkout master
git pull

userscripts/end.sh

deleted100755 → 0
+0 −5
Original line number Original line Diff line number Diff line
#!/bin/bash

# Publish packages
/usr/bin/rsync -avz /srv/zips/ root@images.eelo.io:/eelo/builds/full/
/usr/bin/rsync -avz /srv/zips/ root@ota.eelo.io:/mnt/docker/ota/builds/full/