debian+makefile: expose POSTIT_RUNTIME override for arm64 builds
Default stays linux-x64 (the only architecture built today). Override on the command line to target arm64 (or any other RID supported by Avalonia 12 on Linux): make deb POSTIT_RUNTIME=linux-arm64 The Makefile passes POSTIT_RUNTIME through to dpkg-buildpackage, which propagates it to debian/rules, which threads it into dotnet publish --runtime. Note: the .deb is mono-architecture. For a multi-arch .deb, the build must run twice (once per RID) and the resulting .debs can be combined with dpkg-gencontrol / Multi-Arch: same. Update README accordingly.
This commit is contained in:
parent
a0b9912709
commit
28303435cc
3 changed files with 25 additions and 6 deletions
15
README.md
15
README.md
|
|
@ -61,9 +61,22 @@ sudo apt -f install # résout les dépendances manquantes
|
|||
Pour installer sur **arm64** :
|
||||
|
||||
```bash
|
||||
make clean && make deb # sur une machine arm64, le .deb sera _arm64.deb
|
||||
# Sur une machine arm64 :
|
||||
make clean && make deb # le .deb sera _arm64.deb
|
||||
```
|
||||
|
||||
Le `debian/rules` publie avec `--runtime linux-x64` pour
|
||||
amd64. Pour produire un .deb arm64, override :
|
||||
|
||||
```bash
|
||||
make deb POSTIT_RUNTIME=linux-arm64
|
||||
```
|
||||
|
||||
(le paramètre est exposé par `debian/rules` ; bump à ajouter si
|
||||
besoin). À noter : **un seul runtime par build** — le `--runtime`
|
||||
exclut les autres plateformes, donc le .deb est portable mais
|
||||
mono-architecture.
|
||||
|
||||
## Vérification
|
||||
|
||||
Après installation :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue