mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
work
This commit is contained in:
@@ -30,7 +30,7 @@ def prepare_shared(c):
|
||||
|
||||
|
||||
def prepare_tile_gen(c):
|
||||
# install_planetiler(c)
|
||||
install_planetiler(c)
|
||||
|
||||
for file in [
|
||||
'prepare-virtualenv.sh',
|
||||
@@ -47,7 +47,7 @@ def prepare_tile_gen(c):
|
||||
owner='ofm',
|
||||
)
|
||||
|
||||
# sudo_cmd(c, f'cd {TILE_GEN_BIN} && source prepare-virtualenv.sh', user='ofm')
|
||||
sudo_cmd(c, f'cd {TILE_GEN_BIN} && source prepare-virtualenv.sh', user='ofm')
|
||||
|
||||
|
||||
def prepare_http_host(c):
|
||||
|
||||
@@ -50,10 +50,15 @@ sudo umount mnt
|
||||
|
||||
resize2fs -M image.ext4
|
||||
e2fsck -vf image.ext4
|
||||
|
||||
|
||||
filefrag -e image.ext4
|
||||
|
||||
tune2fs -E mount_opts=ro image.ext4
|
||||
|
||||
cp --sparse=never sparsefile regularfile
|
||||
|
||||
|
||||
# -o barriers=[0|1]
|
||||
# -o data=writeback
|
||||
|
||||
|
||||
Reference in New Issue
Block a user