diff --git a/lib/prereqs/Fedora/meta b/lib/prereqs/Fedora/meta index 96ae174..e92bea7 100644 --- a/lib/prereqs/Fedora/meta +++ b/lib/prereqs/Fedora/meta @@ -1,7 +1,7 @@ NAME='Fedora' SUPPORTED='yes' CHECK_METHOD='egrep '^Fedora' /etc/redhat-release' -PKG_MGR='yum -y install ${pkgname}' +PKG_MGR='dnf -y install ${pkgname}' PRE_RUN='none' PKG_CHK='rpm -q ${pkgname} | egrep "^${pkgname}-[0-9]"' URL='https://getfedora.org/' diff --git a/lib/prereqs/Fedora/pkgs b/lib/prereqs/Fedora/pkgs index 0691c4e..ab94131 100644 --- a/lib/prereqs/Fedora/pkgs +++ b/lib/prereqs/Fedora/pkgs @@ -1,9 +1,21 @@ +binutils +binutils-devel curl +gcc git libisofs lynx +make +mtools +patch +perl rsync sed squashfs-tools +syslinux +syslinux-devel xorriso xz +xz-devel +zlib +zlib-devel diff --git a/lib/prereqs/elementaryOS/meta b/lib/prereqs/elementaryOS/meta new file mode 100644 index 0000000..63003d0 --- /dev/null +++ b/lib/prereqs/elementaryOS/meta @@ -0,0 +1,7 @@ +NAME='elementaryOS' +SUPPORTED='yes' +CHECK_METHOD='egrep "^DISTRIB_ID=\"elementary OS\"$" /etc/lsb-release' +PKG_MGR='apt-get -y install ${pkgname}' +PRE_RUN='apt-get -y update' +PKG_CHK='dpkg-query -l ${pkgname} | egrep "^ii[[:space:]]*${pkgname}"' +URL='https://elementary.io/' diff --git a/lib/prereqs/elementaryOS/pkgs b/lib/prereqs/elementaryOS/pkgs new file mode 120000 index 0000000..518a5f2 --- /dev/null +++ b/lib/prereqs/elementaryOS/pkgs @@ -0,0 +1 @@ +../Ubuntu/pkgs \ No newline at end of file