Skip to content

Commit 8e5f370

Browse files
scaronniConan-Kudo
authored andcommitted
Update Azure Linux configurations
1 parent 2ce1ce4 commit 8e5f370

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

mock-core-configs/etc/mock/templates/azure-linux-2.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
config_opts['chroot_setup_cmd'] = 'install bash binutils bzip2 coreutils cpio diffutils dnf findutils gawk glibc-devel grep gzip kernel-headers patch redhat-rpm-config rpm-build sed tar unzip util-linux which xz'
1+
config_opts['chroot_setup_cmd'] = 'install bash binutils bzip2 coreutils cpio diffutils dnf findutils gawk glibc-devel grep gzip kernel-headers patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz'
22
config_opts['dist'] = 'cm2'
33
config_opts['releasever'] = '2.0'
44
config_opts['package_manager'] = 'dnf'

mock-core-configs/etc/mock/templates/azure-linux-3.tpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
config_opts['chroot_setup_cmd'] = 'install bash binutils bzip2 coreutils cpio diffutils dnf findutils gawk glibc-devel grep gzip kernel-headers patch redhat-rpm-config rpm-build sed tar unzip util-linux which xz'
1+
config_opts['chroot_setup_cmd'] = 'install bash binutils bzip2 coreutils cpio diffutils dnf findutils gawk glibc-devel grep gzip kernel-headers patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz'
22
config_opts['dist'] = 'azl3'
3+
config_opts['macros']['%dist'] = '.azl3'
34
config_opts['releasever'] = '3.0'
45
config_opts['package_manager'] = 'dnf'
56
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Update the list of packages installed by default in the Azure Linux 2 & 3 chroot to include shadow-utils. Due to recent changes, the useradd/groupadd commands are required by other packages in the list, but the requirements are not specified correctly.
2+
Add %dist macro to the Azure Linux 3 template.

0 commit comments

Comments
 (0)