Add rocky to configure.ac

This commit is contained in:
Neil Hanlon 2022-08-06 10:28:40 -04:00
parent 27df421530
commit 4899eb526e
Signed by: neil
GPG Key ID: 705BC21EC3C70F34
2 changed files with 5 additions and 1 deletions

View File

@ -27,6 +27,7 @@ if test "z$with_distro" = "z"; then
AC_CHECK_FILE(/etc/oracle-release,with_distro="oracle")
AC_CHECK_FILE(/etc/sparclinux-release,with_distro="sparclinux")
AC_CHECK_FILE(/etc/centos-release,with_distro="centos")
AC_CHECK_FILE(/etc/rocky-release,with_distro="rocky")
AC_CHECK_FILE(/etc/fedora-release,with_distro="fedora")
AC_CHECK_FILE(/etc/SuSE-release,with_distro="suse")
AC_CHECK_FILE(/etc/gentoo-release,with_distro="gentoo")
@ -54,7 +55,7 @@ case $with_distro in
ubuntu|raspbian)
distrosysconf="$sysconfdir/default"
;;
redhat|centos|fedora|oracle|oracleserver|sparclinux|altlinux|suse|opensuse*|plamo|pld)
redhat|centos|rocky|fedora|oracle|oracleserver|sparclinux|altlinux|suse|opensuse*|plamo|pld)
distrosysconf="$sysconfdir/sysconfig"
;;
*)
@ -183,6 +184,8 @@ AC_CONFIG_FILES([
config/ubuntu.lucid.conf
config/ubuntu.userns.conf
config/openwrt.common.conf
config/rocky.common.conf
config/rocky.userns.conf
config/sparclinux.common.conf
config/sparclinux.userns.conf
config/voidlinux.common.conf
@ -209,6 +212,7 @@ AC_CONFIG_FILES([
templates/lxc-pld
templates/lxc-slackware
templates/lxc-sshd
templates/lxc-rocky
templates/lxc-ubuntu
templates/lxc-ubuntu-cloud
templates/lxc-sparclinux