Upgrade pkgs separately before installing new ones

Upgrade the existing packages before installing new ones.
It's better to have a fully up-to-date system to work on and it could
also fix/prevent an installation issue if a package depends on an
existing, but un-upgraded one. With this change we get
"and 0 not upgraded", which was not always the case before.

Also add a '/' after the 'build' directory to make it clear it is a dir.
This commit is contained in:
Diederik de Haas 2022-11-05 12:23:03 +01:00
parent ab0c16505b
commit b5ad7ef916
No known key found for this signature in database
GPG Key ID: D76E5BCE787EDB6E
1 changed files with 4 additions and 3 deletions

7
debian/salsa-ci.yml vendored
View File

@ -12,11 +12,12 @@ build-yamls:
image: $BASE_CI_IMAGES:unstable image: $BASE_CI_IMAGES:unstable
dependencies: [] dependencies: []
script: script:
- apt-get update && eatmydata apt-get install -y vmdb2 dosfstools qemu-utils qemu-user-static debootstrap binfmt-support time kpartx bmap-tools python3 fakemachine make - apt-get update && apt-get upgrade -y
- eatmydata apt-get install -y vmdb2 dosfstools qemu-utils qemu-user-static debootstrap binfmt-support time kpartx bmap-tools python3 fakemachine make
- make yaml - make yaml
- mkdir build - mkdir build
- cp raspi*.yaml build - cp raspi*.yaml build/
artifacts: artifacts:
paths: paths:
- build - build/