From 43cd3ab4b95b19efd82e440f96dfbd07b519c941 Mon Sep 17 00:00:00 2001 From: r00t Date: Thu, 16 Jul 2015 03:13:36 -0400 Subject: [PATCH] Fedora pkgs list done, added elementaryOS. both untested. --- lib/prereqs/Fedora/meta | 2 +- lib/prereqs/Fedora/pkgs | 12 ++++++++++++ lib/prereqs/elementaryOS/meta | 7 +++++++ lib/prereqs/elementaryOS/pkgs | 1 + 4 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 lib/prereqs/elementaryOS/meta create mode 120000 lib/prereqs/elementaryOS/pkgs 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