Ho aha bocha - Sisteme ea Independent Binary Package Verification bakeng sa Arch Linux

E tsosolositsoe

Haufinyane ho tsebisoa ha "Rebuilderd" ho phatlalalitsoe e emeng joalo ka sistimi e ikemetseng ea netefatso bakeng sa liphutheloana tsa binary bashagak e lumella ho hlophisa netefatso ea liphutheloana tsa kabo ka ho kenya tšebetsong ts'ebetso ea kaho e tsoelang pele e bapisang liphutheloana tse ka jarolloang le liphutheloana tse fumanoeng ka lebaka la ho aha bocha tsamaisong ea lehae.

Ka mantsoe a mang, sistimi ena e fana ka ts'ebeletso e lekolang boemo ba lenane la lipakete 'me ka bohona u qale ho aha bocha lipakana tse ncha tikolohong ea litšupiso, eo boemo ba eona bo lumellanang le maemo a tikoloho Arch Linux sephutheloana se seholo sa kaho.

Ha u ngola hape, Ho hlokomeloa makolopetso a tšoanang le mangolo a tobileng a litšepiso, ts'ebeliso ea lihahi tse sa fetoheng le mefuta ea lisebelisoa tsa ho aha, likhetho tse ts'oanang le likhetho tsa kamehla, le ho boloka tatellano ea kopano ea faele (ho sebelisa mekhoa e ts'oanang ea ho hlopha).

Litlhophiso tsa ts'ebetso ea ho aha ha li kenyelletse moqapi ho kenyelletsong leseli le sa lumellaneng la tlhaiso-leseling joalo ka litekanyetso tse sa reroang, lihokela tsa litselana tsa faele, le tlhaiso-leseling mabapi le letsatsi le nako ea ho bokella.

Mabapi le Ho aha botjha

Hajoale tšehetso ea liteko e teng bakeng sa ho hlahloba liphutheloana tsa Arch Linux le ho aha bocha, empa e rera ho kenya ts'ehetso ea Debian haufinyane.

Hona joale, Lihahi tse phetoang li fanoa bakeng sa liphutheloana tse 84.1% ho tsoa polokelong ea mantlha ea Arch Linux, o 83.8% ho tsoa polokelong ea litlatsetso le 76.9% ho tsoa polokelong ea sechaba. Ha ho bapisoa, ho Debian 10 palo ena ke 94,1%.

Athe, lihahi ke karolo ea bohlokoa ea ts'ireletso kamoo li u lumellang fa mosebedisi ofe kapa ofe monyetla wa ho netefatsa hore liphutheloana tsa byte-for-byte tse fanoang ke sephutheloana sa kabo li tšoana le tse hlophisitsoeng ka kotloloho ho tsoa mohloling.

Ntle le bokhoni ba ho netefatsa boits'oaro ba k'homphieutha e hlophisitsoeng, mosebelisi a ka tšepa ka mokhoa o sa bonahaleng hore na motho e mong o haha ​​meralo ea motheo joang, a beha sekhahla sa lisebelisoa tsa ho bokella kapa tsa ho bokella moo a ka lebisang ho emeng lesupa le patiloeng.

Ho kenya le ho etsa

Maemong a bonolo ka ho fetisisa, ho qala ho aha bocha ho lekane ho kenya sephutheloana se ahileng bocha polokelong e tloaelehileng, kenya senotlolo sa GPG ho netefatsa tikoloho le ho kenya ts'ebeletso ea sistimi e tsamaellanang. Hoa khoneha ho kenya ts'ebetsong marang-rang a liketsahalo tse ngata tse hahiloeng bocha.

Ho kenya, re tlameha ho bula sesebelisoa ebe re ngola ho sona taelo e latelang:

sudo pacman -S rebuilderd

E entse sena, joale re tlameha ho kenya senotlolo sa GPG, ho tloha Ho aha botjha ho tlameha ho netefatsa setšoantšo sa boot sa Arch Linux, hobane sena setsing sa terminal re tla tlameha ho thaepa taelo e latelang:

gpg --auto-key-locate nodefault,wkd --locate-keys pierre@archlinux.de

Kamora mona re tlameha ho eketsa mosebelisi sehlopheng sa Bahahi bocha, ho tloha ka nako eo re ka fumana phoso:

usermod -aG rebuilderd $USER

Hona joale Re tlameha feela ho netefatsa hore Rebuilderd e se e ntse e sebetsa mabapi le sistimi, bakeng sa sena, re tlameha feela ho thaepa:

rebuildctl status

Mme haeba re batla ho arolelana liphetho marang-rang, re tlameha ho thaepa:

systemctl e nolofalletsa mosebeletsi ea hahiloeng bocha ea tsosolositsoeng @ alpha

Joale ho bohlokoa ho ela hloko hore Rebuilderd a ke ke a sebetsa ho fihlela e hlalositsoe ka mokhoa o hlakileng ho tloha moo liphutheloana tsa sistimi li hokahaneng, hobane sena re tlameha ho se fetola file ea /etc/rebuilderd-sync.conf moo lifaele tsa khokahano li hlophisitsoeng 'me mabitso ao a boemo a ikhethile:

Mohlala oa sena ke o latelang:

## rebuild all of core
[profile."archlinux-core"] distro = "archlinux"
suite = "core"
architecture = "x86_64"
source = "https://ftp.halifax.rwth-aachen.de/archlinux/core/os/x86_64/core.db"


## rebuild community packages of specific maintainers
#[profile."archlinux-community"] #distro = "archlinux"
#suite = "community"
#architecture = "x86_64"
#source = "https://ftp.halifax.rwth-aachen.de/archlinux/community/os/x86_64/community.db"
#maintainer = ["somebody"]

Hang ha faele e fetotsoe, o tlameha feela ho nolofalletsa sebali nako hore se ikamahanye le boemo ka bo eona.

systemctl enable --now rebuilderd-sync@archlinux-core.timer

Qetellong haeba u batla ho tseba haholoanyane ka Rebuilderd, Ba lokela ho tseba hore e ngotsoe ka mafome 'me e ajoa tlasa laesense ea GPLv3 mme o ka sheba lintlha tsohle tsa eona le khoutu Ka sehokela se latelang.


Litaba tsa sengoloa sena li latela melao-motheo ea rona ea melao ea boitšoaro ea bongoli. Ho tlaleha phoso tlanya mona.

E-ba oa pele ho fana ka maikutlo

Siea maikutlo a hau

aterese ya hao ya imeile ke ke ho phatlalatswa. masimo a hlokahala a tšoailoe ka *

*

*

  1. E ikarabella bakeng sa data: Miguel Ángel Gatón
  2. Morero oa data: Laola SPAM, tsamaiso ea maikutlo.
  3. Molao: Tumello ea hau
  4. Puisano ea data: Lintlha li ke ke tsa tsebisoa batho ba boraro ntle le ka tlamo ea molao.
  5. Polokelo ea data: Database e hapiloeng ke Occentus Networks (EU)
  6. Litokelo: Nako efe kapa efe o ka fokotsa, oa hlaphoheloa mme oa hlakola tlhaiso-leseling ea hau.