2015-07-12 03:04:09 -04:00
|
|
|
NAME='CentOS'
|
2015-07-24 04:50:51 -04:00
|
|
|
# Currently fails on installing software *inside* the chroot. Will troubleshoot and restore when figured out.
|
2015-07-12 03:04:09 -04:00
|
|
|
SUPPORTED='yes'
|
2015-07-14 01:29:27 -04:00
|
|
|
CHECK_METHOD='egrep "^CentOS" /etc/redhat-release'
|
|
|
|
PKG_MGR='yum -y install ${pkgname}'
|
2015-07-12 03:04:09 -04:00
|
|
|
PRE_RUN='none'
|
2015-07-14 01:29:27 -04:00
|
|
|
PKG_CHK='rpm -q ${pkgname} | egrep "^${pkgname}-[0-9]"'
|
|
|
|
URL='http://centos.org/'
|
2015-07-17 07:04:19 -04:00
|
|
|
|
|
|
|
function distro_specific_tweaks {
|
|
|
|
# NOTE: we handle installing of squashfs-tools (maybe) and xorriso in centos_is_stupid function.
|
|
|
|
# because they *suck*. Seriously. I need to install tk just to install xorriso. I mean, what?
|
2015-07-24 04:50:51 -04:00
|
|
|
# You need EPEL enabled, by the way.
|
2015-07-17 07:04:19 -04:00
|
|
|
|
|
|
|
echo "No tweaks found."
|
|
|
|
|
|
|
|
}
|