mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-30 21:11:19 +00:00
Compare commits
5 Commits
1d89b0c47e
...
fa163575e1
Author | SHA1 | Date | |
---|---|---|---|
![]() |
fa163575e1 | ||
![]() |
347c83dced | ||
![]() |
b1653ee588 | ||
![]() |
245c84a473 | ||
![]() |
3b40fe9805 |
23
.github/workflows/docker_manifest.yml
vendored
23
.github/workflows/docker_manifest.yml
vendored
@ -128,9 +128,14 @@ jobs:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
with open(os.environ['GITHUB_OUTPUT'], 'a') as fh:
|
with open(os.environ["GITHUB_OUTPUT"], "a") as fh:
|
||||||
fh.write(f"debian={','.join(tags[release_channel]['debian'])}\n")
|
fh.write("debian<<EOF\n")
|
||||||
fh.write(f"alpine={','.join(tags[release_channel]['alpine'])}\n")
|
fh.write("\n".join(tags[release_channel]["debian"]))
|
||||||
|
fh.write("\nEOF\n")
|
||||||
|
|
||||||
|
fh.write("alpine<<EOF\n")
|
||||||
|
fh.write("\n".join(tags[release_channel]["alpine"]))
|
||||||
|
fh.write("\nEOF\n")
|
||||||
id: tags
|
id: tags
|
||||||
|
|
||||||
- name: Docker login
|
- name: Docker login
|
||||||
@ -144,14 +149,16 @@ jobs:
|
|||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: meshtastic/meshtasticd
|
images: meshtastic/meshtasticd
|
||||||
tags: ${{ steps.tags.outputs.debian }}
|
tags: |
|
||||||
|
${{ steps.tags.outputs.debian }}
|
||||||
flavor: latest=false
|
flavor: latest=false
|
||||||
|
|
||||||
- name: Create Docker manifest (Debian)
|
- name: Create Docker manifest (Debian)
|
||||||
id: manifest_debian
|
id: manifest_debian
|
||||||
uses: int128/docker-manifest-create-action@v2
|
uses: int128/docker-manifest-create-action@v2
|
||||||
with:
|
with:
|
||||||
tags: ${{ steps.meta_debian.outputs.tags }}
|
tags: |
|
||||||
|
${{ steps.meta_debian.outputs.tags }}
|
||||||
push: true
|
push: true
|
||||||
sources: |
|
sources: |
|
||||||
meshtastic/meshtasticd@${{ needs.docker-debian-amd64.outputs.digest }}
|
meshtastic/meshtasticd@${{ needs.docker-debian-amd64.outputs.digest }}
|
||||||
@ -163,13 +170,15 @@ jobs:
|
|||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: meshtastic/meshtasticd
|
images: meshtastic/meshtasticd
|
||||||
tags: ${{ steps.tags.outputs.alpine }}
|
tags: |
|
||||||
|
${{ steps.tags.outputs.alpine }}
|
||||||
|
|
||||||
- name: Create Docker manifest (Alpine)
|
- name: Create Docker manifest (Alpine)
|
||||||
id: manifest_alpine
|
id: manifest_alpine
|
||||||
uses: int128/docker-manifest-create-action@v2
|
uses: int128/docker-manifest-create-action@v2
|
||||||
with:
|
with:
|
||||||
tags: ${{ steps.meta_alpine.outputs.tags }}
|
tags: |
|
||||||
|
${{ steps.meta_alpine.outputs.tags }}
|
||||||
push: true
|
push: true
|
||||||
sources: |
|
sources: |
|
||||||
meshtastic/meshtasticd@${{ needs.docker-alpine-amd64.outputs.digest }}
|
meshtastic/meshtasticd@${{ needs.docker-alpine-amd64.outputs.digest }}
|
||||||
|
@ -8,7 +8,6 @@ static File openFile(const char *filename, bool fullAtomic)
|
|||||||
concurrency::LockGuard g(spiLock);
|
concurrency::LockGuard g(spiLock);
|
||||||
LOG_DEBUG("Opening %s, fullAtomic=%d", filename, fullAtomic);
|
LOG_DEBUG("Opening %s, fullAtomic=%d", filename, fullAtomic);
|
||||||
#ifdef ARCH_NRF52
|
#ifdef ARCH_NRF52
|
||||||
lfs_assert_failed = false;
|
|
||||||
FSCom.remove(filename);
|
FSCom.remove(filename);
|
||||||
return FSCom.open(filename, FILE_O_WRITE);
|
return FSCom.open(filename, FILE_O_WRITE);
|
||||||
#endif
|
#endif
|
||||||
|
@ -1103,6 +1103,7 @@ bool NodeDB::saveProto(const char *filename, size_t protoSize, const pb_msgdesc_
|
|||||||
bool fullAtomic)
|
bool fullAtomic)
|
||||||
{
|
{
|
||||||
bool okay = false;
|
bool okay = false;
|
||||||
|
#ifdef FSCom
|
||||||
auto f = SafeFile(filename, fullAtomic);
|
auto f = SafeFile(filename, fullAtomic);
|
||||||
|
|
||||||
LOG_INFO("Save %s", filename);
|
LOG_INFO("Save %s", filename);
|
||||||
|
Loading…
Reference in New Issue
Block a user