ドッキングウィンドウ调用YUM时「 "は/ usr / libexecに/ urlgrabber-EXTダウン" がインストールされていません」

理由:

高fedora30の1つのドッカー鏡像バージョン:最新画像、YUM自体がDNFに置換されているが、いくつかの機能はまだ不完全;として:YUM-builddepのSPECS / xxx.spec

ソリューション:

プラグは、DNF DNFコア・プラグインを搭載しました

2のyum-builddep置き換えDNFのbuilddepのSPECS / xxx.spec

次のようにDokerfileを読み取ります。

シム・ビルドFedoraのFROM:v1.0をの
#FROMのフェドーラ:最新の

RUN / binに/ RM /etc/yum.repos.d/*.repo 
COPY newstart-V3-シム・ビルドdeps.repo /etc/yum.repos .D / 
RUNのyumはredhat-rpmの-config設定回転数-構築wgetのDNFのDNF-プラグインコア作る-yのbinutils gccのGNU-EFI GNU-EFI-develのインストール
COPYシム・符号なし-x64.spec / builddir /ビルド/ SPECS / 
COPY shimx64.efi / /builddir/build/SPECS/shim-unsigned-x64.spec -y RUN DNFのbuilddep 
COPYのrpmmacros /root/.rpmmacros 
WORKDIR /構築
#RUNのwgetのhttps://github.com/rhboot/shim/releases/ / 15 /シム・15.tar.bz2 -O /builddir/build/SOURCES/shim-15.tar.bz2ダウンロード
COPYシム-15.tar.bz2 / builddir /ビルド/ SOURCES / 
COPY * .patchファイル/ builddir /ビルドを/ SOURCES /

rpmbuildの-ba /builddir/build/SPECS/shim-unsigned-x64.spec --noclean --define 'distの.el8' RUN 
'シム* .efi' RUNを見つける/ builddir /ビルド/ -nameを
RUNのsha256sum / builddir /ビルド/BUILDROOT/shim*/usr/share/shim/*/*/shim*.efi 
RUN sha256sum /shimx64.efi 
RUN hexdumpが-Cv / builddir /構築/ BUILDROOT /シム*を/ usr / share /シム/ * / * / shimx64.efi> /built.hex 
RUN hexdumpが-Cv /shimx64.efi> /orig.hexの
RUN diffの-u /orig.hex /built.hex || 
#RUN objdumpの-x /shimx64.efi | ヘッド-n 60 
#RUN objdumpの-x /build/builddir/BUILDROOT/shim*/usr/share/shim/*/*/shim*.efi | ヘッド-n 60

  

 

おすすめ

転載: www.cnblogs.com/noxy/p/11313241.html
おすすめ