diff --git a/debian-live-config/config/hooks/normal/9999-wrolpi.hook.chroot b/debian-live-config/config/hooks/normal/9999-wrolpi.hook.chroot index 43d3d956..550a43b7 100644 --- a/debian-live-config/config/hooks/normal/9999-wrolpi.hook.chroot +++ b/debian-live-config/config/hooks/normal/9999-wrolpi.hook.chroot @@ -39,6 +39,7 @@ chmod 0440 /etc/sudoers.d/90-wrolpi visudo -c -f /etc/sudoers.d/90-wrolpi git clone https://github.com/lrnselfreliance/openstreetmap-carto.git /opt/openstreetmap-carto +git config --global --add safe.directory /opt/openstreetmap-carto (cd /opt/openstreetmap-carto && carto project.mml >/opt/openstreetmap-carto/mapnik.xml) # Change default postgresql port to 5432. diff --git a/scripts/install_debian_12.sh b/scripts/install_debian_12.sh index 567b2d27..9400a28e 100755 --- a/scripts/install_debian_12.sh +++ b/scripts/install_debian_12.sh @@ -30,6 +30,7 @@ grep wrolpi: /etc/passwd || useradd -md /home/wrolpi wrolpi -s "$(command -v bas # Get map dependencies. [ -d /opt/openstreetmap-carto ] && chown -R wrolpi:wrolpi /opt/openstreetmap-carto git clone https://github.com/lrnselfreliance/openstreetmap-carto.git /opt/openstreetmap-carto || : +git config --global --add safe.directory /opt/openstreetmap-carto (cd /opt/openstreetmap-carto && git fetch && git checkout master && git reset --hard origin/master && git pull --ff) chown -R _renderd:_renderd /opt/openstreetmap-carto diff --git a/scripts/install_raspberrypios.sh b/scripts/install_raspberrypios.sh index 0f634935..9f64df41 100755 --- a/scripts/install_raspberrypios.sh +++ b/scripts/install_raspberrypios.sh @@ -30,6 +30,7 @@ grep wrolpi: /etc/passwd || useradd -md /home/wrolpi wrolpi -s "$(command -v bas # Get map dependencies. [ -d /opt/openstreetmap-carto ] && chown -R wrolpi:wrolpi /opt/openstreetmap-carto git clone https://github.com/lrnselfreliance/openstreetmap-carto.git /opt/openstreetmap-carto || : +git config --global --add safe.directory /opt/openstreetmap-carto (cd /opt/openstreetmap-carto && git fetch && git checkout master && git reset --hard origin/master && git pull --ff) chown -R _renderd:_renderd /opt/openstreetmap-carto diff --git a/wrolpi/version.txt b/wrolpi/version.txt index bfc168b9..39e8174c 100644 --- a/wrolpi/version.txt +++ b/wrolpi/version.txt @@ -1 +1 @@ -0.12.1-beta \ No newline at end of file +0.12.2-beta \ No newline at end of file