Add scripts

This commit is contained in:
Waldemar Tomme 2023-11-20 09:10:28 +01:00
commit 2f370dc5b9
5 changed files with 37 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/tmp/

7
build.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash -xe
pmbootstrap install \
--password pw \
--android-recovery-zip --recovery-install-partition data \
pmbootstrap export

20
pmos.code-workspace Normal file
View File

@ -0,0 +1,20 @@
{
"folders": [
{
"path": "."
},
{
"path": "../../.local/var/pmbootstrap/cache_git/pmaports/device/testing/device-samsung-a7y18lte"
},
{
"path": "../../.local/var/pmbootstrap/cache_git/pmaports/device/testing/linux-samsung-a7y18lte"
},
{
"path": "../../.local/var/pmbootstrap/cache_git/pmaports/device/testing/firmware-samsung-universal7885"
},
{
"path": "../../.local/var/pmbootstrap/cache_git/pmaports/device/testing/firmware-samsung-a7y18lte"
}
],
"settings": {}
}

3
push.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash -xe
adb push /tmp/postmarketOS-export/pmos-samsung-a7y18lte.zip /external_sdcard/pmos-samsung-a7y18lte.zip

6
update-checksums.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash -xe
pmbootstrap checksum \
device-samsung-a7y18lte \
firmware-samsung-a7y18lte \
linux-samsung-a7y18lte