Tso tawm tshiab ntawm RPM 4.15, uas twb suav nrog hauv Fedora 31 beta

Tom qab yuav luag ob xyoos ntawm txoj kev loj hlob, kev pib tshaj ntawm cov tshiab version los ntawm cov tswj hwm pob RPM 4.15.0. RPM Tus Tuav Tswj Khoom (lossis RPM, Ameslikas hu ua Red Hat Pob Tus Thawj Tswj, tab sis dhau los ua qhov rov hais dua) yog ib lub pob tswj hwm qhov tseem ceeb npaj rau GNU / Linux. Nws muaj peev xwm los txhim kho, kho tshiab, rub tawm, kuaj xyuas thiab thov cov phiaj xwm.

RPM4 qhov haujlwm yog tsim los ntawm Red Hat thiab yog siv hauv cov chaw faib khoom zoo li RHEL (suav nrog cov haujlwm ua los ntawm CentOS, Scientific Linux, AsiaLinux, Liab chij Linux, Oracle Linux), Fedora, SUSE, openSUSE, ALT Linux, OpenMandriva, Mageia, PCLinuxOS, Tizen, thiab lwm yam.

Yav dhau los, pab pawg tsim kho txoj kev ywj pheej tau tsim qhov RPM5 qhov project, uas tsis cuam tshuam txog RPM4 thiab tam sim no raug tso tseg (nws tsis tau hloov kho txij xyoo 2010).

RPM pob tuaj yeem muaj cov txheej txheem cov cai. Feem ntau cov Cov ntaub ntawv RPM yog "binary RPM" (lossis BRPM) uas muaj cov ntawv tso ua ke ntawm qee cov software.

Tseem muaj "qhov RPMs" (lossis SRPM) uas muaj cov kab ntsig los siv los tsim cov binary pob.

Cov no muaj cov cim npe tsim nyog hauv cov ntawv sau cov ntawv sib txawv ntawm qhov txawv ntawm RPMs, ua rau lawv raug rho tawm mus rau / usr / src ntawm kev teeb tsa.

SRPMs feem ntau muaj cov ntawv txuas ntxiv ".src.rpm" (.spm hauv cov ntaub ntawv kaw lus txwv tsuas pub 3 cim ntev ntev, piv txwv li DOS FATs).

RPM nta suav nrog:

  • Cov pob ntawv tuaj yeem tawm thiab txheeb xyuas nrog GPG thiab MD5.
  • Cov ntaub ntawv cov cai (piv txwv .tar.gz, .tar.bz2) suav nrog hauv SRPMs, cia rau kev soj ntsuam tom qab
  • PatchRPMs thiab DeltaRPMs, uas sib npaug rau cov ntaub ntawv thaj, tuaj yeem nce ntxiv hloov kho cov pob RPM.
  • Qhov kev tuaj yeem tuaj yeem daws tau sai sai los ntawm tus tswj hwm pob.

Dab tsi tshiab nyob rau RPM 4.15

Hauv tsab ntawv tshiab no ntawm RPM 4.15 Rpmbuild ntxiv kev txhawb nqa rau kev vam khom lub tsev zoo nrog nws suav nrog hauv src.rpm. Ntxiv rau kev txhawb nqa rau "% tsim tawm-tsim tawm" hauv cov ntawv tshwj xeeb, cov ntsiab lus ntawm uas tau kho raws li daim ntawv teev npe ntawm cov neeg tsis tuaj yeem (BuildRequires) uas yuav tsum muaj pov thawj (yog tias tsis muaj qhov tos, yuav muaj qhov yuam kev)

Lwm qhov tshiab nyob rau hauv qhov kev tso tawm no yog tias ntxiv cov kev sim rau kev txhawb nqa rau chroot-dependes tsis ua haujlwm lub hauv paus (los ntawm kev siv ntawm cov neeg siv lub npe chaw) nrog uas nws yuav muaj peev xwm los ua cov compilations tsis muaj cai hauv chroot chaw.

Rau lwm cov tes, Parallelization pob teeb tsa kev them nyiaj yug tau siv rau ntau qhov system. Qhov txwv ntawm tus naj npawb ntawm cov xov yog tsim los ntawm cov ntawv loj "% _smp_build_ncpus" thiab cov sib txawv $ RPM_.

Tsis tas li ntawd kev txhawb rau ARM architecture tau zoo dua, ntxiv rau kev txhawb nqa rau armv8 tau ntxiv.

Ib qho tseem ceeb hloov yog ntxiv qhov dummy database backend pab RPM khiav ntawm cov-RPMDB systems zoo li Debian.

Ntawm lwm qhov kev hloov pauv uas tau hais tseg nyob hauv ad:

  • Ntxiv "–scm" kev xaiv los pab "% autosetup SCM" hom
  • Ntxiv cov ntawv tsim ua "macro"% {expr: ...} "los xam cov ncauj lus tseem ceeb (hom ntawv"% [expr] "kuj tau npaj siab rau ob peb hnub dhau los)
  • UTF-8 encoding siv los ntawm lub neej ntawd rau cov hlua cov ntaub ntawv hauv headers
  • Ntxiv thoob ntiaj teb macros% build_cflags,% build_cxxflags,% build_fflags thiab% build_ldflags nrog tus chij rau cov sau thiab txuas
  • Ntxiv rau macro "% dnl" (Pov tseg rau kab txuas ntxiv) los ntxig cov lus
  • Kev khi rau nab hab sej 3 muab cov hlua rov los ua daim qauv ntawm daim hlau thaiv UTF-8 hloov chaw ua cov ntaub ntawv byte.
  • Kev pab txuas mus ntxiv yog muab rau Lua 5.2-5.3, uas tsis tas yuav muaj cov lus txhais nyob hauv kev cai.
  • Ntxiv ntu tshiab "% patchlist" thiab "% sourcelist", uas tuaj yeem siv los ntxiv thaj ua rau thaj thiab cov cai los ntawm cov npe yooj yim uas tsis tau teev meej cov lej teev tseg (piv txwv, hloov "Patch0: - popt 1,16-pkgconfig.patch »ntu ntu, koj tuaj yeem hais kom meej%« popt-1.16-pkgconfig.patch »);

Thaum kawg, rau cov neeg uas txaus siab nyob hauv kev sim kev txhim kho ntawm cov ntawv tshiab no ntawm tus tswj hwm pob, lawv yuav tsum paub qhov ntawd Fedora 31 beta yog ib tus thawj cuam tshuam los siv qhov no tshiab ntawm RPM 4.15.

Yog tias koj xav paub ntxiv txog nws koj tuaj yeem sab laj kev txuas mus ntxiv.


Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

Yog thawj tus tuaj tawm tswv yim

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm. Yuav tsum tau teb cov cim nrog *

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.