sonic-buildimage/sonic-slave-bullseye
Saikrishna Arcot 91f9b6f4e4 Add cron and the python 3 mock packages to the Bullseye slave image
When using dpkg with the --root flag to install a deb package in a
chroot, dpkg checks to see if the users and groups specified in the
/var/lib/dpkg/statoverride file are valid. The problem is, it checks
against the host system's /etc/passwd and /etc/group files, instead of
/etc/passwd and /etc/group inside the chroot.

In the slave image for Buster, cron appears to have been automatically
installed, and so the crontab group existed. This doesn't appear to be
true for Bullseye, so explicitly install it. This makes sure that the
crontab group exists on the slave image itself.

Also install the mock python 3 package, this is needed by some test.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
2021-08-12 23:18:01 -07:00
..
Dockerfile.j2 Add cron and the python 3 mock packages to the Bullseye slave image 2021-08-12 23:18:01 -07:00
Dockerfile.user.j2 Define the Bullseye-based slave container 2021-07-15 00:02:18 -07:00
no-check-valid-until Define the Bullseye-based slave container 2021-07-15 00:02:18 -07:00
sonic-jenkins-id_rsa.pub Define the Bullseye-based slave container 2021-07-15 00:02:18 -07:00