记录rpm的打包过程
1、执行docker-build.sh
[root@opt8 rpm]# ./docker-build.sh
Sending build context to Docker daemon 2.076 GBGB
Step 1/8 : FROM fedora:24
---> 971e0f0a8b71
Step 2/8 : MAINTAINER Devan Goodwin <dgoodwin@redhat.com>
---> Running in 5a061ac48960
---> bdbb08c2f308
Removing intermediate container 5a061ac48960
Step 3/8 : RUN dnf install -y rpm-build rpmdevtools createrepo && dnf clean all
---> Running in 0578e2b9ce55
^@^@Last metadata expiration check: 0:00:28 ago on Wed Mar 14 02:31:49 2018.
Dependencies resolved.
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
binutils x86_64 2.26.1-1.fc24 updates 5.9 M
bzip2 x86_64 1.0.6-21.fc24 updates 57 k
cpio x86_64 2.12-3.fc24 fedora 261 k
cpp x86_64 6.1.1-2.fc24 fedora 9.0 M
createrepo noarch 0.10.3-3.fc21 fedora 94 k
dnf-plugins-core noarch 0.1.21-5.fc24 updates 16 k
dwz x86_64 0.12-2.fc24 fedora 107 k
elfutils x86_64 0.166-2.fc24 fedora 299 k
fakeroot x86_64 1.20.2-4.fc24 fedora 101 k
fakeroot-libs x86_64 1.20.2-4.fc24 fedora 35 k
file x86_64 5.25-6.fc24 fedora 68 k
findutils x86_64 1:4.6.0-7.fc24 updates 521 k
fpc-srpm-macros noarch 1.0-1.fc24 fedora 7.8 k
gc x86_64 7.4.2-6.fc24 fedora 104 k
gcc x86_64 6.1.1-2.fc24 fedora 20 M
gcc-gdb-plugin x86_64 6.1.1-2.fc24 fedora 78 k
gdb x86_64 7.11.1-86.fc24 updates 3.3 M
ghc-srpm-macros noarch 1.4.2-4.fc24 fedora 8.7 k
glibc-devel x86_64 2.23.1-7.fc24 fedora 934 k
glibc-headers x86_64 2.23.1-7.fc24 fedora 500 k
gnat-srpm-macros noarch 4-1.fc24 fedora 9.0 k
go-srpm-macros noarch 2-6.fc24 fedora 8.5 k
groff-base x86_64 1.22.3-8.fc24 fedora 1.0 M
guile x86_64 5:2.0.13-1.fc24 updates 3.5 M
isl x86_64 0.14-5.fc24 fedora 482 k
kernel-headers x86_64 4.11.12-100.fc24 updates 1.1 M
libatomic_ops x86_64 7.4.2-9.fc24 fedora 32 k
libbabeltrace x86_64 1.2.4-4.fc24 fedora 151 k
libgomp x86_64 6.1.1-2.fc24 fedora 183 k
libipt x86_64 1.4.4-2.fc24 fedora 38 k
libmpc x86_64 1.0.2-5.fc24 fedora 54 k
libtool-ltdl x86_64 2.4.6-13.fc24 updates 54 k
mpfr x86_64 3.1.5-1.fc24 updates 215 k
ocaml-srpm-macros noarch 2-4.fc24 fedora 8.0 k
patch x86_64 2.7.5-3.fc24 fedora 125 k
perl x86_64 4:5.22.4-372.fc24 updates 6.0 M
perl-Carp noarch 1.38-2.fc24 fedora 28 k
perl-Encode x86_64 3:2.84-11.fc24 updates 1.5 M
perl-Errno x86_64 1.23-372.fc24 updates 65 k
perl-Exporter noarch 5.72-349.fc24 fedora 33 k
perl-Fedora-VSP noarch 0.001-2.fc24 fedora 23 k
perl-File-Path noarch 2.12-3.fc24 updates 33 k
perl-File-Temp noarch 0.23.04-347.fc24 fedora 61 k
perl-Getopt-Long noarch 2.49.1-1.fc24 updates 61 k
perl-HTTP-Tiny noarch 0.056-5.fc24 updates 53 k
perl-IO x86_64 1.35-372.fc24 updates 130 k
perl-MIME-Base64 x86_64 3.15-349.fc24 fedora 29 k
perl-PathTools x86_64 3.62-3.fc24 updates 88 k
perl-Pod-Escapes noarch 1:1.07-349.fc24 fedora 20 k
perl-Pod-Perldoc noarch 3.26-1.fc24 updates 86 k
perl-Pod-Simple noarch 1:3.35-1.fc24 updates 211 k
perl-Pod-Usage noarch 4:1.69-1.fc24 fedora 33 k
perl-Scalar-List-Utils x86_64 3:1.46-1.fc24 updates 64 k
perl-Socket x86_64 3:2.024-1.fc24 updates 56 k
perl-Term-ANSIColor noarch 4.03-347.fc24 fedora 45 k
perl-Term-Cap noarch 1.17-2.fc24 fedora 22 k
perl-Text-ParseWords noarch 3.30-347.fc24 fedora 17 k
perl-Text-Tabs+Wrap noarch 2013.0523-347.fc24 fedora 23 k
perl-Time-Local noarch 1:1.250-1.fc24 updates 30 k
perl-Unicode-Normalize x86_64 1.25-2.fc24 fedora 80 k
perl-constant noarch 1.33-348.fc24 fedora 24 k
perl-generators noarch 1.10-1.fc24 updates 16 k
perl-libs x86_64 4:5.22.4-372.fc24 updates 1.4 M
perl-macros x86_64 4:5.22.4-372.fc24 updates 61 k
perl-parent noarch 1:0.234-4.fc24 fedora 18 k
perl-podlators noarch 4.09-1.fc24 updates 114 k
perl-srpm-macros noarch 1-18.fc24 fedora 9.8 k
perl-threads x86_64 1:2.02-3.fc24 fedora 58 k
perl-threads-shared x86_64 1.48-347.fc24 fedora 44 k
pyliblzma x86_64 0.5.3-15.fc24 fedora 53 k
python x86_64 2.7.13-2.fc24 updates 96 k
python-deltarpm x86_64 3.6-15.fc24 fedora 37 k
python-libs x86_64 2.7.13-2.fc24 updates 6.2 M
python-libxml2 x86_64 2.9.3-3.fc24 fedora 226 k
python-pip noarch 8.0.2-1.fc24 fedora 1.7 M
python-pycurl x86_64 7.43.0-2.fc24 fedora 204 k
python-six noarch 1.10.0-2.fc24 fedora 34 k
python-srpm-macros noarch 3-7.fc24 fedora 8.1 k
python-urlgrabber noarch 3.10.1-8.fc24 fedora 112 k
python2-iniparse noarch 0.4-19.fc24 fedora 45 k
python2-pygpgme x86_64 0.3-18.fc24 updates 90 k
python2-setuptools noarch 20.1.1-1.fc24 fedora 417 k
python3-dnf-plugins-core noarch 0.1.21-5.fc24 updates 69 k
pyxattr x86_64 0.5.3-7.fc24 fedora 33 k
redhat-rpm-config noarch 42-2.fc24 updates 59 k
rpm-build x86_64 4.13.0.1-1.fc24 updates 138 k
rpm-python x86_64 4.13.0.1-1.fc24 updates 101 k
rpmdevtools noarch 8.9-1.fc24 updates 105 k
tar x86_64 2:1.28-8.fc24 updates 944 k
unzip x86_64 6.0-31.fc24 updates 184 k
xemacs-filesystem noarch 21.5.34-17.20160603hga561e02bb626.fc24
updates 21 k
xz x86_64 5.2.2-2.fc24 fedora 148 k
yum noarch 3.4.3-509.fc24 fedora 1.2 M
yum-metadata-parser x86_64 1.1.4-16.fc24 fedora 39 k
zip x86_64 3.0-16.fc24 fedora 272 k
Upgrading:
rpm x86_64 4.13.0.1-1.fc24 updates 514 k
rpm-build-libs x86_64 4.13.0.1-1.fc24 updates 117 k
rpm-libs x86_64 4.13.0.1-1.fc24 updates 300 k
rpm-plugin-selinux x86_64 4.13.0.1-1.fc24 updates 53 k
rpm-plugin-systemd-inhibit x86_64 4.13.0.1-1.fc24 updates 53 k
rpm-python3 x86_64 4.13.0.1-1.fc24 updates 101 k
Transaction Summary
================================================================================
Install 95 Packages
Upgrade 6 Packages
Total download size: 72 M
Downloading Packages:
^@^@^@^@/usr/share/locale/fi/LC_MESSAGES/rpm.mo: No such file or directory
cannot reconstruct rpm from disk files
rpm-4.13.0.1-1.fc24.x86_64: Delta RPM rebuild failed
--------------------------------------------------------------------------------
Total 322 kB/s | 72 MB 03:49
Delta RPMs reduced 72.2 MB of updates to 72.1 MB (0.1% saved)
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Installing : perl-Exporter-5.72-349.fc24.noarch 1/107
Installing : perl-libs-4:5.22.4-372.fc24.x86_64 2/107
Installing : perl-Carp-1.38-2.fc24.noarch 3/107
Installing : python-libs-2.7.13-2.fc24.x86_64 4/107
Installing : python-pip-8.0.2-1.fc24.noarch 5/107
Installing : python2-setuptools-20.1.1-1.fc24.noarch 6/107
Installing : python-2.7.13-2.fc24.x86_64 7/107
Upgrading : rpm-plugin-selinux-4.13.0.1-1.fc24.x86_64 8/107
Upgrading : rpm-libs-4.13.0.1-1.fc24.x86_64 9/107
Upgrading : rpm-4.13.0.1-1.fc24.x86_64 10/107
Installing : perl-Scalar-List-Utils-3:1.46-1.fc24.x86_64 11/107
Upgrading : rpm-build-libs-4.13.0.1-1.fc24.x86_64 12/107
Installing : mpfr-3.1.5-1.fc24.x86_64 13/107
Installing : libmpc-1.0.2-5.fc24.x86_64 14/107
Installing : rpm-python-4.13.0.1-1.fc24.x86_64 15/107
Installing : pyliblzma-0.5.3-15.fc24.x86_64 16/107
Installing : yum-metadata-parser-1.1.4-16.fc24.x86_64 17/107
Installing : perl-Text-ParseWords-3.30-347.fc24.noarch 18/107
Installing : unzip-6.0-31.fc24.x86_64 19/107
Installing : binutils-2.26.1-1.fc24.x86_64 20/107
Installing : findutils-1:4.6.0-7.fc24.x86_64 21/107
Installing : file-5.25-6.fc24.x86_64 22/107
Installing : cpio-2.12-3.fc24.x86_64 23/107
Installing : zip-3.0-16.fc24.x86_64 24/107
Installing : cpp-6.1.1-2.fc24.x86_64 25/107
Upgrading : rpm-python3-4.13.0.1-1.fc24.x86_64 26/107
Installing : python-deltarpm-3.6-15.fc24.x86_64 27/107
Installing : pyxattr-0.5.3-7.fc24.x86_64 28/107
Installing : python-pycurl-7.43.0-2.fc24.x86_64 29/107
Installing : python-urlgrabber-3.10.1-8.fc24.noarch 30/107
Installing : python-six-1.10.0-2.fc24.noarch 31/107
Installing : python2-iniparse-0.4-19.fc24.noarch 32/107
Installing : python-libxml2-2.9.3-3.fc24.x86_64 33/107
Installing : python2-pygpgme-0.3-18.fc24.x86_64 34/107
Installing : yum-3.4.3-509.fc24.noarch 35/107
Installing : perl-Term-ANSIColor-4.03-347.fc24.noarch 36/107
Installing : perl-Fedora-VSP-0.001-2.fc24.noarch 37/107
Installing : perl-macros-4:5.22.4-372.fc24.x86_64 38/107
Installing : perl-Errno-1.23-372.fc24.x86_64 39/107
Installing : perl-Socket-3:2.024-1.fc24.x86_64 40/107
Installing : perl-constant-1.33-348.fc24.noarch 41/107
Installing : perl-parent-1:0.234-4.fc24.noarch 42/107
Installing : perl-Text-Tabs+Wrap-2013.0523-347.fc24.noarch 43/107
Installing : perl-Unicode-Normalize-1.25-2.fc24.x86_64 44/107
Installing : perl-threads-shared-1.48-347.fc24.x86_64 45/107
Installing : perl-threads-1:2.02-3.fc24.x86_64 46/107
Installing : perl-File-Path-2.12-3.fc24.noarch 47/107
Installing : perl-PathTools-3.62-3.fc24.x86_64 48/107
Installing : perl-IO-1.35-372.fc24.x86_64 49/107
Installing : perl-4:5.22.4-372.fc24.x86_64 50/107
Installing : perl-File-Temp-0.23.04-347.fc24.noarch 51/107
Installing : perl-MIME-Base64-3.15-349.fc24.x86_64 52/107
Installing : perl-generators-1.10-1.fc24.noarch 53/107
Installing : perl-Term-Cap-1.17-2.fc24.noarch 54/107
Installing : perl-Pod-Escapes-1:1.07-349.fc24.noarch 55/107
Installing : perl-Time-Local-1:1.250-1.fc24.noarch 56/107
Installing : perl-HTTP-Tiny-0.056-5.fc24.noarch 57/107
Installing : kernel-headers-4.11.12-100.fc24.x86_64 58/107
Installing : glibc-headers-2.23.1-7.fc24.x86_64 59/107
Installing : glibc-devel-2.23.1-7.fc24.x86_64 60/107
Installing : isl-0.14-5.fc24.x86_64 61/107
Installing : libgomp-6.1.1-2.fc24.x86_64 62/107
Installing : gcc-6.1.1-2.fc24.x86_64 63/107
Installing : python3-dnf-plugins-core-0.1.21-5.fc24.noarch 64/107
Installing : libtool-ltdl-2.4.6-13.fc24.x86_64 65/107
Installing : groff-base-1.22.3-8.fc24.x86_64 66/107
Installing : perl-Encode-3:2.84-11.fc24.x86_64 67/107
Installing : perl-Pod-Simple-1:3.35-1.fc24.noarch 68/107
Installing : perl-Getopt-Long-2.49.1-1.fc24.noarch 69/107
Installing : perl-podlators-4.09-1.fc24.noarch 70/107
Installing : perl-Pod-Perldoc-3.26-1.fc24.noarch 71/107
Installing : perl-Pod-Usage-4:1.69-1.fc24.noarch 72/107
Installing : tar-2:1.28-8.fc24.x86_64 73/107
Installing : python-srpm-macros-3-7.fc24.noarch 74/107
Installing : perl-srpm-macros-1-18.fc24.noarch 75/107
Installing : ocaml-srpm-macros-2-4.fc24.noarch 76/107
Installing : go-srpm-macros-2-6.fc24.noarch 77/107
Installing : gnat-srpm-macros-4-1.fc24.noarch 78/107
Installing : ghc-srpm-macros-1.4.2-4.fc24.noarch 79/107
Installing : fpc-srpm-macros-1.0-1.fc24.noarch 80/107
Installing : dwz-0.12-2.fc24.x86_64 81/107
Installing : redhat-rpm-config-42-2.fc24.noarch 82/107
Installing : libatomic_ops-7.4.2-9.fc24.x86_64 83/107
Installing : gc-7.4.2-6.fc24.x86_64 84/107
Installing : guile-5:2.0.13-1.fc24.x86_64 85/107
Installing : libipt-1.4.4-2.fc24.x86_64 86/107
Installing : libbabeltrace-1.2.4-4.fc24.x86_64 87/107^@
Installing : gdb-7.11.1-86.fc24.x86_64 88/107
Installing : bzip2-1.0.6-21.fc24.x86_64 89/107
Installing : xemacs-filesystem-21.5.34-17.20160603hga561e02bb626.f 90/107
Installing : fakeroot-libs-1.20.2-4.fc24.x86_64 91/107
Installing : fakeroot-1.20.2-4.fc24.x86_64 92/107
Installing : elfutils-0.166-2.fc24.x86_64 93/107
Installing : xz-5.2.2-2.fc24.x86_64 94/107
Installing : patch-2.7.5-3.fc24.x86_64 95/107
Installing : rpm-build-4.13.0.1-1.fc24.x86_64 96/107
Installing : rpmdevtools-8.9-1.fc24.noarch 97/107
Installing : dnf-plugins-core-0.1.21-5.fc24.noarch 98/107
Installing : gcc-gdb-plugin-6.1.1-2.fc24.x86_64 99/107
Installing : createrepo-0.10.3-3.fc21.noarch 100/107
Upgrading : rpm-plugin-systemd-inhibit-4.13.0.1-1.fc24.x86_64 101/107
Cleanup : rpm-python3-4.13.0-0.rc1.27.fc24.x86_64 102/107
Cleanup : rpm-build-libs-4.13.0-0.rc1.27.fc24.x86_64 103/107
/sbin/ldconfig: Cannot lstat /lib64/librpmbuild.so.7.0.0: No such file or directory
/sbin/ldconfig: Cannot lstat /lib64/librpmsign.so.7.0.0: No such file or directory
Cleanup : rpm-plugin-systemd-inhibit-4.13.0-0.rc1.27.fc24.x86_6 104/107
Cleanup : rpm-plugin-selinux-4.13.0-0.rc1.27.fc24.x86_64 105/107
Cleanup : rpm-libs-4.13.0-0.rc1.27.fc24.x86_64 106/107
/sbin/ldconfig: Cannot lstat /lib64/librpm.so.7.0.0: No such file or directory
/sbin/ldconfig: Cannot lstat /lib64/librpmbuild.so.7.0.0: No such file or directory
/sbin/ldconfig: Cannot lstat /lib64/librpmio.so.7.0.0: No such file or directory
/sbin/ldconfig: Cannot lstat /lib64/librpmsign.so.7.0.0: No such file or directory
Cleanup : rpm-4.13.0-0.rc1.27.fc24.x86_64 107/107
Verifying : createrepo-0.10.3-3.fc21.noarch 1/107
Verifying : pyliblzma-0.5.3-15.fc24.x86_64 2/107
Verifying : python-deltarpm-3.6-15.fc24.x86_64 3/107
Verifying : yum-3.4.3-509.fc24.noarch 4/107
Verifying : yum-metadata-parser-1.1.4-16.fc24.x86_64 5/107
Verifying : cpio-2.12-3.fc24.x86_64 6/107
Verifying : python-urlgrabber-3.10.1-8.fc24.noarch 7/107
Verifying : python2-iniparse-0.4-19.fc24.noarch 8/107
Verifying : pyxattr-0.5.3-7.fc24.x86_64 9/107
Verifying : python-pycurl-7.43.0-2.fc24.x86_64 10/107
Verifying : python-six-1.10.0-2.fc24.noarch 11/107
Verifying : rpm-build-4.13.0.1-1.fc24.x86_64 12/107
Verifying : file-5.25-6.fc24.x86_64 13/107
Verifying : patch-2.7.5-3.fc24.x86_64 14/107
Verifying : xz-5.2.2-2.fc24.x86_64 15/107
Verifying : rpm-python-4.13.0.1-1.fc24.x86_64 16/107
Verifying : rpmdevtools-8.9-1.fc24.noarch 17/107
Verifying : fakeroot-1.20.2-4.fc24.x86_64 18/107
Verifying : perl-File-Temp-0.23.04-347.fc24.noarch 19/107
Verifying : perl-Carp-1.38-2.fc24.noarch 20/107
Verifying : perl-Exporter-5.72-349.fc24.noarch 21/107
Verifying : perl-constant-1.33-348.fc24.noarch 22/107
Verifying : perl-parent-1:0.234-4.fc24.noarch 23/107
Verifying : elfutils-0.166-2.fc24.x86_64 24/107
Verifying : python-libxml2-2.9.3-3.fc24.x86_64 25/107
Verifying : python-2.7.13-2.fc24.x86_64 26/107
Verifying : python-libs-2.7.13-2.fc24.x86_64 27/107
Verifying : python-pip-8.0.2-1.fc24.noarch 28/107
Verifying : python2-setuptools-20.1.1-1.fc24.noarch 29/107
Verifying : python2-pygpgme-0.3-18.fc24.x86_64 30/107
Verifying : perl-4:5.22.4-372.fc24.x86_64 31/107
Verifying : perl-libs-4:5.22.4-372.fc24.x86_64 32/107
Verifying : perl-Text-Tabs+Wrap-2013.0523-347.fc24.noarch 33/107
Verifying : perl-Unicode-Normalize-1.25-2.fc24.x86_64 34/107
Verifying : perl-threads-1:2.02-3.fc24.x86_64 35/107
Verifying : perl-threads-shared-1.48-347.fc24.x86_64 36/107
Verifying : perl-Errno-1.23-372.fc24.x86_64 37/107
Verifying : perl-File-Path-2.12-3.fc24.noarch 38/107
Verifying : perl-IO-1.35-372.fc24.x86_64 39/107
Verifying : perl-PathTools-3.62-3.fc24.x86_64 40/107
Verifying : perl-Scalar-List-Utils-3:1.46-1.fc24.x86_64 41/107
Verifying : fakeroot-libs-1.20.2-4.fc24.x86_64 42/107
Verifying : findutils-1:4.6.0-7.fc24.x86_64 43/107
Verifying : perl-Getopt-Long-2.49.1-1.fc24.noarch 44/107
Verifying : perl-Pod-Usage-4:1.69-1.fc24.noarch 45/107
Verifying : perl-Text-ParseWords-3.30-347.fc24.noarch 46/107
Verifying : xemacs-filesystem-21.5.34-17.20160603hga561e02bb626.f 47/107
Verifying : binutils-2.26.1-1.fc24.x86_64 48/107
Verifying : bzip2-1.0.6-21.fc24.x86_64 49/107
Verifying : gdb-7.11.1-86.fc24.x86_64 50/107
Verifying : gc-7.4.2-6.fc24.x86_64 51/107
Verifying : libbabeltrace-1.2.4-4.fc24.x86_64 52/107
Verifying : libipt-1.4.4-2.fc24.x86_64 53/107
Verifying : libatomic_ops-7.4.2-9.fc24.x86_64 54/107
Verifying : perl-generators-1.10-1.fc24.noarch 55/107
Verifying : perl-Fedora-VSP-0.001-2.fc24.noarch 56/107
Verifying : redhat-rpm-config-42-2.fc24.noarch 57/107
Verifying : dwz-0.12-2.fc24.x86_64 58/107
Verifying : fpc-srpm-macros-1.0-1.fc24.noarch 59/107
Verifying : ghc-srpm-macros-1.4.2-4.fc24.noarch 60/107
Verifying : gnat-srpm-macros-4-1.fc24.noarch 61/107
Verifying : go-srpm-macros-2-6.fc24.noarch 62/107
Verifying : ocaml-srpm-macros-2-4.fc24.noarch 63/107
Verifying : perl-srpm-macros-1-18.fc24.noarch 64/107
Verifying : python-srpm-macros-3-7.fc24.noarch 65/107
Verifying : zip-3.0-16.fc24.x86_64 66/107
Verifying : tar-2:1.28-8.fc24.x86_64 67/107
Verifying : unzip-6.0-31.fc24.x86_64 68/107
Verifying : perl-Socket-3:2.024-1.fc24.x86_64 69/107
Verifying : perl-macros-4:5.22.4-372.fc24.x86_64 70/107
Verifying : guile-5:2.0.13-1.fc24.x86_64 71/107
Verifying : perl-Pod-Perldoc-3.26-1.fc24.noarch 72/107
Verifying : groff-base-1.22.3-8.fc24.x86_64 73/107
Verifying : perl-podlators-4.09-1.fc24.noarch 74/107
Verifying : perl-Term-ANSIColor-4.03-347.fc24.noarch 75/107
Verifying : perl-Term-Cap-1.17-2.fc24.noarch 76/107
Verifying : perl-Encode-3:2.84-11.fc24.x86_64 77/107
Verifying : perl-MIME-Base64-3.15-349.fc24.x86_64 78/107
Verifying : perl-Pod-Simple-1:3.35-1.fc24.noarch 79/107
Verifying : perl-Pod-Escapes-1:1.07-349.fc24.noarch 80/107
Verifying : perl-HTTP-Tiny-0.056-5.fc24.noarch 81/107
Verifying : perl-Time-Local-1:1.250-1.fc24.noarch 82/107
Verifying : libtool-ltdl-2.4.6-13.fc24.x86_64 83/107
Verifying : dnf-plugins-core-0.1.21-5.fc24.noarch 84/107
Verifying : python3-dnf-plugins-core-0.1.21-5.fc24.noarch 85/107
Verifying : gcc-gdb-plugin-6.1.1-2.fc24.x86_64 86/107
Verifying : gcc-6.1.1-2.fc24.x86_64 87/107
Verifying : cpp-6.1.1-2.fc24.x86_64 88/107
Verifying : libmpc-1.0.2-5.fc24.x86_64 89/107
Verifying : libgomp-6.1.1-2.fc24.x86_64 90/107
Verifying : mpfr-3.1.5-1.fc24.x86_64 91/107
Verifying : isl-0.14-5.fc24.x86_64 92/107
Verifying : glibc-devel-2.23.1-7.fc24.x86_64 93/107
Verifying : glibc-headers-2.23.1-7.fc24.x86_64 94/107
Verifying : kernel-headers-4.11.12-100.fc24.x86_64 95/107
Verifying : rpm-4.13.0.1-1.fc24.x86_64 96/107
Verifying : rpm-python3-4.13.0.1-1.fc24.x86_64 97/107
Verifying : rpm-libs-4.13.0.1-1.fc24.x86_64 98/107
Verifying : rpm-plugin-selinux-4.13.0.1-1.fc24.x86_64 99/107
Verifying : rpm-plugin-systemd-inhibit-4.13.0.1-1.fc24.x86_64 100/107
Verifying : rpm-build-libs-4.13.0.1-1.fc24.x86_64 101/107
Verifying : rpm-build-libs-4.13.0-0.rc1.27.fc24.x86_64 102/107
Verifying : rpm-libs-4.13.0-0.rc1.27.fc24.x86_64 103/107
Verifying : rpm-plugin-selinux-4.13.0-0.rc1.27.fc24.x86_64 104/107
Verifying : rpm-plugin-systemd-inhibit-4.13.0-0.rc1.27.fc24.x86_6 105/107
Verifying : rpm-python3-4.13.0-0.rc1.27.fc24.x86_64 106/107
Verifying : rpm-4.13.0-0.rc1.27.fc24.x86_64 107/107
Installed:
binutils.x86_64 2.26.1-1.fc24
bzip2.x86_64 1.0.6-21.fc24
cpio.x86_64 2.12-3.fc24
cpp.x86_64 6.1.1-2.fc24
createrepo.noarch 0.10.3-3.fc21
dnf-plugins-core.noarch 0.1.21-5.fc24
dwz.x86_64 0.12-2.fc24
elfutils.x86_64 0.166-2.fc24
fakeroot.x86_64 1.20.2-4.fc24
fakeroot-libs.x86_64 1.20.2-4.fc24
file.x86_64 5.25-6.fc24
findutils.x86_64 1:4.6.0-7.fc24
fpc-srpm-macros.noarch 1.0-1.fc24
gc.x86_64 7.4.2-6.fc24
gcc.x86_64 6.1.1-2.fc24
gcc-gdb-plugin.x86_64 6.1.1-2.fc24
gdb.x86_64 7.11.1-86.fc24
ghc-srpm-macros.noarch 1.4.2-4.fc24
glibc-devel.x86_64 2.23.1-7.fc24
glibc-headers.x86_64 2.23.1-7.fc24
gnat-srpm-macros.noarch 4-1.fc24
go-srpm-macros.noarch 2-6.fc24
groff-base.x86_64 1.22.3-8.fc24
guile.x86_64 5:2.0.13-1.fc24
isl.x86_64 0.14-5.fc24
kernel-headers.x86_64 4.11.12-100.fc24
libatomic_ops.x86_64 7.4.2-9.fc24
libbabeltrace.x86_64 1.2.4-4.fc24
libgomp.x86_64 6.1.1-2.fc24
libipt.x86_64 1.4.4-2.fc24
libmpc.x86_64 1.0.2-5.fc24
libtool-ltdl.x86_64 2.4.6-13.fc24
mpfr.x86_64 3.1.5-1.fc24
ocaml-srpm-macros.noarch 2-4.fc24
patch.x86_64 2.7.5-3.fc24
perl.x86_64 4:5.22.4-372.fc24
perl-Carp.noarch 1.38-2.fc24
perl-Encode.x86_64 3:2.84-11.fc24
perl-Errno.x86_64 1.23-372.fc24
perl-Exporter.noarch 5.72-349.fc24
perl-Fedora-VSP.noarch 0.001-2.fc24
perl-File-Path.noarch 2.12-3.fc24
perl-File-Temp.noarch 0.23.04-347.fc24
perl-Getopt-Long.noarch 2.49.1-1.fc24
perl-HTTP-Tiny.noarch 0.056-5.fc24
perl-IO.x86_64 1.35-372.fc24
perl-MIME-Base64.x86_64 3.15-349.fc24
perl-PathTools.x86_64 3.62-3.fc24
perl-Pod-Escapes.noarch 1:1.07-349.fc24
perl-Pod-Perldoc.noarch 3.26-1.fc24
perl-Pod-Simple.noarch 1:3.35-1.fc24
perl-Pod-Usage.noarch 4:1.69-1.fc24
perl-Scalar-List-Utils.x86_64 3:1.46-1.fc24
perl-Socket.x86_64 3:2.024-1.fc24
perl-Term-ANSIColor.noarch 4.03-347.fc24
perl-Term-Cap.noarch 1.17-2.fc24
perl-Text-ParseWords.noarch 3.30-347.fc24
perl-Text-Tabs+Wrap.noarch 2013.0523-347.fc24
perl-Time-Local.noarch 1:1.250-1.fc24
perl-Unicode-Normalize.x86_64 1.25-2.fc24
perl-constant.noarch 1.33-348.fc24
perl-generators.noarch 1.10-1.fc24
perl-libs.x86_64 4:5.22.4-372.fc24
perl-macros.x86_64 4:5.22.4-372.fc24
perl-parent.noarch 1:0.234-4.fc24
perl-podlators.noarch 4.09-1.fc24
perl-srpm-macros.noarch 1-18.fc24
perl-threads.x86_64 1:2.02-3.fc24
perl-threads-shared.x86_64 1.48-347.fc24
pyliblzma.x86_64 0.5.3-15.fc24
python.x86_64 2.7.13-2.fc24
python-deltarpm.x86_64 3.6-15.fc24
python-libs.x86_64 2.7.13-2.fc24
python-libxml2.x86_64 2.9.3-3.fc24
python-pip.noarch 8.0.2-1.fc24
python-pycurl.x86_64 7.43.0-2.fc24
python-six.noarch 1.10.0-2.fc24
python-srpm-macros.noarch 3-7.fc24
python-urlgrabber.noarch 3.10.1-8.fc24
python2-iniparse.noarch 0.4-19.fc24
python2-pygpgme.x86_64 0.3-18.fc24
python2-setuptools.noarch 20.1.1-1.fc24
python3-dnf-plugins-core.noarch 0.1.21-5.fc24
pyxattr.x86_64 0.5.3-7.fc24
redhat-rpm-config.noarch 42-2.fc24
rpm-build.x86_64 4.13.0.1-1.fc24
rpm-python.x86_64 4.13.0.1-1.fc24
rpmdevtools.noarch 8.9-1.fc24
tar.x86_64 2:1.28-8.fc24
unzip.x86_64 6.0-31.fc24
xemacs-filesystem.noarch 21.5.34-17.20160603hga561e02bb626.fc24
xz.x86_64 5.2.2-2.fc24
yum.noarch 3.4.3-509.fc24
yum-metadata-parser.x86_64 1.1.4-16.fc24
zip.x86_64 3.0-16.fc24
Upgraded:
rpm.x86_64 4.13.0.1-1.fc24
rpm-build-libs.x86_64 4.13.0.1-1.fc24
rpm-libs.x86_64 4.13.0.1-1.fc24
rpm-plugin-selinux.x86_64 4.13.0.1-1.fc24
rpm-plugin-systemd-inhibit.x86_64 4.13.0.1-1.fc24
rpm-python3.x86_64 4.13.0.1-1.fc24
Complete!
20 files removed
---> 295a2b248a98
Removing intermediate container 0578e2b9ce55
Step 4/8 : RUN rpmdev-setuptree
---> Running in aec87b56defa
---> f43a229b7230
Removing intermediate container aec87b56defa
Step 5/8 : USER root
---> Running in 7549fcc85980
---> a6e5dbebfb6d
Removing intermediate container 7549fcc85980
Step 6/8 : ADD entry.sh /root/
---> 3484f1f7b28b
Removing intermediate container e4c31edbf1b7
Step 7/8 : COPY ./ /root/rpmbuild/SPECS
^@^@^@ ---> b61e9f1b4dae
Removing intermediate container d0d131b9086e
Step 8/8 : ENTRYPOINT /root/entry.sh
---> Running in 9f47fb92dabf
---> ce9655e630be
Removing intermediate container 9f47fb92dabf
Successfully built ce9655e630be
Cleaning output directory...
Building RPM's for amd64.....
Building target platforms: x86_64
Building for target x86_64
warning: bogus date in %changelog: Mon Jun 30 2017 Mike Danese <mikedanese@google.com> - 1.7.0
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AhtePd
+ umask 022
+ cd /root/rpmbuild/BUILD
+ ln -s 10-kubeadm-post-1.8.conf /root/rpmbuild/SOURCES/x86_64/10-kubeadm.conf
+ cp -p /root/rpmbuild/SOURCES/x86_64/kubelet /root/rpmbuild/BUILD/
+ cp -p /root/rpmbuild/SOURCES/x86_64/kubelet.service /root/rpmbuild/BUILD/
+ cp -p /root/rpmbuild/SOURCES/x86_64/kubectl /root/rpmbuild/BUILD/
+ cp -p /root/rpmbuild/SOURCES/x86_64/kubeadm /root/rpmbuild/BUILD/
+ cp -p /root/rpmbuild/SOURCES/x86_64/10-kubeadm.conf /root/rpmbuild/BUILD/
+ cd /root/rpmbuild/BUILD
+ /usr/bin/mkdir -p cni-plugins
+ cd cni-plugins
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/x86_64/cni-amd64-0799f5732f2a11b329d9e3d51b9c8f2e3759f2ff.tar.gz
+ /usr/bin/tar -xvvof -
drwxr-xr-x root/root 0 2017-03-22 20:04 bin/
-rwxr-xr-x root/root 4000236 2017-03-22 20:04 bin/ptp
-rwxr-xr-x root/root 3170507 2017-03-22 20:04 bin/loopback
-rwxr-xr-x root/root 2909669 2017-03-22 20:03 bin/tuning
-rwxr-xr-x root/root 2733314 2017-03-22 20:04 bin/noop
-rwxr-xr-x root/root 3102946 2017-03-22 20:04 bin/host-local
-rwxr-xr-x root/root 3609358 2017-03-22 20:04 bin/ipvlan
-rwxr-xr-x root/root 4026452 2017-03-22 20:04 bin/bridge
-rwxr-xr-x root/root 9636499 2017-03-22 20:04 bin/dhcp
-rwxr-xr-x root/root 2910884 2017-03-22 20:03 bin/flannel
-rwxr-xr-x root/root 2901956 2017-03-22 20:03 bin/cnitool
-rwxr-xr-x root/root 3640336 2017-03-22 20:04 bin/macvlan
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Bwbwj3
+ umask 022
+ cd /root/rpmbuild/BUILD
+ '[' /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64 '!=' / ']'
+ rm -rf /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64
++ dirname /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64
+ mkdir -p /root/rpmbuild/BUILDROOT
+ mkdir /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64
+ cd cni-plugins
+ cd /root/rpmbuild/BUILD
+ install -m 755 -d /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64/usr/bin
+ install -m 755 -d /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64/etc/systemd/system/
+ install -m 755 -d /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64/etc/systemd/system/kubelet.service.d/
+ install -m 755 -d /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64/etc/cni/net.d/
+ install -m 755 -d /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64/etc/kubernetes/manifests/
+ install -m 755 -d /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64/var/lib/kubelet/
+ install -p -m 755 -t /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64/usr/bin/ kubelet
+ install -p -m 755 -t /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64/usr/bin/ kubectl
+ install -p -m 755 -t /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64/usr/bin/ kubeadm
^@+ install -p -m 755 -t /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64/etc/systemd/system/ kubelet.service
+ install -p -m 755 -t /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64/etc/systemd/system/kubelet.service.d/ 10-kubeadm.conf
+ install -m 755 -d /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64/opt/cni/bin
+ mv cni-plugins/bin/ /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64/opt/cni/
+ '[' '%{buildarch}' = noarch ']'
+ QA_CHECK_RPATHS=1
+ case "${QA_CHECK_RPATHS:-}" in
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: kubelet-1.8.8-0.x86_64
Provides: kubelet = 1.8.8-0 kubelet(x86-64) = 1.8.8-0
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) rtld(GNU_HASH)
Processing files: kubernetes-cni-0.5.1-0.x86_64
Provides: kubernetes-cni = 0.5.1-0 kubernetes-cni(x86-64) = 0.5.1-0
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: kubectl-1.8.8-0.x86_64
Provides: kubectl = 1.8.8-0 kubectl(x86-64) = 1.8.8-0
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: kubeadm-1.8.8-0.x86_64
Provides: kubeadm = 1.8.8-0 kubeadm(x86-64) = 1.8.8-0
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64
Wrote: /root/rpmbuild/RPMS/x86_64/kubelet-1.8.8-0.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/kubernetes-cni-0.5.1-0.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/kubectl-1.8.8-0.x86_64.rpm
Wrote: /root/rpmbuild/RPMS/x86_64/kubeadm-1.8.8-0.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Fcm7SF
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd cni-plugins
+ /usr/bin/rm -rf /root/rpmbuild/BUILDROOT/kubelet-1.8.8-0.x86_64
+ exit 0
Spawning worker 0 with 4 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
----------------------------------------
RPMs written to:
kubeadm-1.8.8-0.x86_64.rpm kubectl-1.8.8-0.x86_64.rpm kubelet-1.8.8-0.x86_64.rpm kubernetes-cni-0.5.1-0.x86_64.rpm repodata
Yum repodata written to:
09954ce8a2bfc9330aa1596d76c2c764ef65bb2023f23a667cf193b53e1e28e2-primary.xml.gz 78e0b66f5f1973d9e2776d3a0404d1ed608ac8596bef947617c4396d01fedcde-filelists.sqlite.bz2
17f049e21c69cd6aeba18158ff48e3b7adfe32e1710ba0ca99c90daf4ce7c54d-primary.sqlite.bz2 b2f1de02474133b9f68ccecc9b95b279c3dc23d3343515359a475b5b6fe68a91-other.xml.gz
30e6372ee67fc74b5bf60c7f13ba45ae6e08ba8d3db80f90329e3ae871c2079a-other.sqlite.bz2 repomd.xml
37f4dc5b66b39f06337d21ac6f0b540f7c27f2f5b42deb4f6a149cda3df3fd82-filelists.xml.gz
2、查看
[root@opt8 rpm]# ll
总用量 2027784
-rw-r--r--. 1 root root 1016 3月 10 07:32 10-kubeadm-post-1.8.conf
-rw-r--r--. 1 root root 856 3月 10 07:32 10-kubeadm-pre-1.8.conf
-rwxr-xr-x. 1 root root 54237747 3月 10 16:22 apiextensions-apiserver
-rwxr-xr-x. 1 root root 110880768 3月 10 16:22 cloud-controller-manager
-rw-r--r--. 1 root root 14082201 3月 10 18:13 cni-amd64-0799f5732f2a11b329d9e3d51b9c8f2e3759f2ff.tar.gz
-rwxr-xr-x. 1 root root 6740450 3月 10 16:22 conversion-gen
-rwxr-xr-x. 1 root root 6742107 3月 10 16:22 deepcopy-gen
-rwxr-xr-x. 1 root root 6718271 3月 10 16:22 defaulter-gen
-rwxr-xr-x. 1 root root 408 3月 10 07:32 docker-build.sh
-rw-r--r--. 1 root root 244 3月 10 07:32 Dockerfile
-rwxr-xr-x. 1 root root 988 3月 10 11:09 entry.sh
-rwxr-xr-x. 1 root root 52011243 3月 10 16:22 gendocs
-rwxr-xr-x. 1 root root 140484555 3月 10 16:22 genfeddocs
-rwxr-xr-x. 1 root root 156373023 3月 10 16:22 genkubedocs
-rwxr-xr-x. 1 root root 164402757 3月 10 16:22 genman
-rwxr-xr-x. 1 root root 4974927 3月 10 16:22 genswaggertypedocs
-rwxr-xr-x. 1 root root 51952109 3月 10 16:22 genyaml
-rwxr-xr-x. 1 root root 10084277 3月 10 16:22 ginkgo
-rwxr-xr-x. 1 root root 38472295 3月 10 16:22 gke-certificates-controller
-rwxr-xr-x. 1 root root 2649945 3月 10 16:22 go-bindata
-rwxr-xr-x. 1 root root 235923770 3月 10 16:22 hyperkube
-rwxr-xr-x. 1 root root 137715128 3月 10 16:22 kubeadm
-rwxr-xr-x. 1 root root 53087245 3月 10 16:22 kube-aggregator
-rwxr-xr-x. 1 root root 193591708 3月 10 16:23 kube-apiserver
-rwxr-xr-x. 1 root root 129514813 3月 10 16:23 kube-controller-manager
-rwxr-xr-x. 1 root root 51900572 3月 10 16:23 kubectl
-rwxr-xr-x. 1 root root 55276524 3月 10 16:23 kubefed
-rwxr-xr-x. 1 root root 138920515 3月 10 16:23 kubelet
-rw-r--r--. 1 root root 221 3月 10 07:32 kubelet.service
-rw-r--r--. 1 root root 7248 3月 10 16:32 kubelet.spec
-rwxr-xr-x. 1 root root 137851393 3月 10 16:23 kubemark
-rwxr-xr-x. 1 root root 47428667 3月 10 16:23 kube-proxy
-rwxr-xr-x. 1 root root 53075318 3月 10 16:23 kube-scheduler
-rwxr-xr-x. 1 root root 6210494 3月 10 16:23 linkcheck
-rwxr-xr-x. 1 root root 12325899 3月 10 16:23 openapi-gen
drwxr-xr-x. 3 root root 19 3月 13 22:47 output
-rwxr-xr-x. 1 root root 2724358 3月 10 16:24 teststale
[root@opt8 rpm]# cd output/
[root@opt8 output]# ll
总用量 4
drwxr-xr-x. 3 root root 4096 3月 13 22:47 x86_64
[root@opt8 output]# cd x86_64/
[root@opt8 x86_64]# l
总用量 47112
-rw-r--r--. 1 root root 15862502 3月 13 22:47 kubeadm-1.8.8-0.x86_64.rpm
-rw-r--r--. 1 root root 7722922 3月 13 22:47 kubectl-1.8.8-0.x86_64.rpm
-rw-r--r--. 1 root root 16844318 3月 13 22:47 kubelet-1.8.8-0.x86_64.rpm
-rw-r--r--. 1 root root 7800954 3月 13 22:47 kubernetes-cni-0.5.1-0.x86_64.rpm
drwxr-xr-x. 2 root root 4096 3月 13 22:47 repodata