This repository has been archived by the owner on Mar 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathimage-data
executable file
·62 lines (54 loc) · 2.6 KB
/
image-data
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#! /bin/sh -e
#
if [ -f /USING_COPR ]; then
echo "---------------------- This is using a COPR DNF ----------------------"
echo "DNF: https://copr.fedorainfracloud.org/coprs/mhatina/DNF-Modules/"
if [ "x$1" = "xall" ]; then
dnf --showdup list dnf libdnf
else
dnf --disablerepo=\* list installed dnf libdnf
fi
rpm -q --qf '%{name} Built on: %{buildtime:date}\n' libdnf
rpm -q --qf '%{name} Built on: %{buildtime:date}\n' dnf
echo "----------------------------------------------------------------------"
else
echo "------------------------------- DNF ----------------------------------"
if [ "x$1" = "xall" ]; then
dnf --showdup list dnf libdnf
else
dnf --disablerepo=\* list installed dnf libdnf
fi
echo "----------------------------------------------------------------------"
fi
echo "Image built with (KOJI composes):"
echo -e "\t\tGIT: \thttps://github.com/container-images/boltron-27"
echo -e "\t\tBase: \t$(cat latest-Fedora-Modular-27.COMPOSE_ID)"
if [ -f /etc/yum.repos.d/bikeshed.repo ] && \
fgrep -q enabled=1 /etc/yum.repos.d/bikeshed.repo ; then
echo -e "\t\tBikeshed: \t$(cat latest-Fedora-Modular-Bikeshed.COMPOSE_ID)"
fi
echo "Image running aginst (KOJI Composes):"
echo -e "\t\tBase: \t$(curl -s https://kojipkgs.fedoraproject.org/compose/latest-Fedora-Modular-27/COMPOSE_ID)"
# echo -e "\t\tBike: \t$(curl -s https://kojipkgs.fedoraproject.org/compose/latest-Fedora-Modular-Bikeshed/COMPOSE_ID)"
if [ -f /etc/yum.repos.d/bikeshed.repo ] && \
fgrep -q enabled=1 /etc/yum.repos.d/bikeshed.repo ; then
echo -e "\t\tBikeshed: \t$(curl -s https://kojipkgs.fedoraproject.org/compose/latest-Fedora-Modular-Bikeshed/COMPOSE_ID)"
fi
if [ -f /etc/yum.repos.d/mod-hack.repo ] && \
fgrep -q enabled=1 /etc/yum.repos.d/mod-hack.repo ; then
echo "Image running aginst (Modularity server):"
echo -e " http://modularity.fedorainfracloud.org/modularity/hack-fedora-f27-mods/..."
echo -e "\t\tnodejs: \tnodejs-@6-20170925160215"
echo -e "\t\tnodejs: \tnodejs-@6-20171006145641"
echo -e "\t\tnodejs: \tnodejs-@master-20170925073359"
fi
if [ -f /etc/yum.repos.d/bikey-mcbikeshed-*.repo ] && \
fgrep -q enabled=1 /etc/yum.repos.d/bikey-mcbikeshed-* ; then
echo "Image running aginst (Modularity server):"
echo -e " http://modularity.fedorainfracloud.org/modularity/$(basename /etc/yum.repos.d/bikey-mcbikeshed-*.repo)"
fi
if rpm -q coreutils-single > /dev/null; then
echo " ** NOTE: coreutils-single is installed, this will make things fail."
echo " ** you can fix it by: dnf --allowerasing install coreutils"
echo " ** at which point @freeipa will install."
fi