Public
Authored by isaagar

Dep11 additions in Release file

#1. Download the dep11 data from upstream

Below is for main section , do same for contrib and non-free

wget -nd -nc -np -r -l 1 -A gz,xz --reject-regex 'arm|mips|s390x|ppc'  http://ftp.debian.org/debian/dists/buster/main/dep11

#2. Copy dep11 files to respective section in hamara repo with same structure as upstream

#3. Calculate checksum

From dists/namaste directory, run calculate_checksum_dep11 script to generate checksums in below format Following are MD5Sum checksum,

3632b3871d01e9e4cf6b837bd99499a4e8784b97 10218766 main/dep11/Components-amd64.yml
8af39b0b688f144722ae1fd11142ec10563267d6 10214087 main/dep11/Components-i386.yml
b004990f0108a2406b76aaaaf55d6b461d7138cbcf792f1ffe7f59e9493aca99 10218766 main/dep11/Components-amd64.yml
018fe6ecea363ef57898f503da4b9a6ed5a4db47650018905f1669fad22ccace 10214087 main/dep11/Components-i386.yml

Also, calculate the same for SHA1 and SHA256

#4. Update the InRelease and Release file

4.1 Existing InRelease file is alreay GPG signed with our key. Remove PGP signature block manually.

4.2 Now, add the content generated in step 3 to Release and InRelease file in respective checksum section.

4.3 Since , we need InRelease to be signed with using gpg

 gpg --clearsign --digest-algo SHA512 --default-key 08A05F60 InRelease

It will create InRelease.asc which we should rename it to InRelease

Edited
calculate_checksum_dep11 142 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment