Update to bullseye

This commit is contained in:
ericgaspar 2022-08-13 12:14:27 +02:00
parent 236546ca51
commit 5405556ee5
2 changed files with 4 additions and 5 deletions

View file

@ -101,13 +101,13 @@ Then test your packages :
Install the package `qemu-user-static` and `binfmt-support`, then list of all available images :
```
lxc image list images:debian/buster
lxc image list images:debian/bullseye
```
Export the image of the architecture you want to run (for example armhf):
```
lxc image export images:debian/buster/armhf
lxc image export images:debian/bullseye/armhf
```
This command will create two files.

View file

@ -9,7 +9,7 @@ TEST_USER="package_checker"
[[ -e "./config" ]] && source "./config"
ARCH=${ARCH:-amd64}
DIST=${DIST:-buster}
DIST=${DIST:-bullseye}
# Yunohost version: stable, testing or unstable
YNH_BRANCH=${YNH_BRANCH:-stable}
@ -20,8 +20,7 @@ LXC_NAME="ynh-appci-$DIST-$ARCH-$YNH_BRANCH-test-${WORKER_ID}"
readonly lock_file="./pcheck-${WORKER_ID}.lock"
DEFAULT_PHP_VERSION="7.3"
[[ "$DIST" == "bullseye" ]] && DEFAULT_PHP_VERSION="7.4"
DEFAULT_PHP_VERSION="7.4"
#=================================================
# LXC helpers