Propósito da pasta da pasta binary-all architecture nos repositórios do Debian?

0

Qual é o objetivo da pasta binary-all architecture nos repositórios do Debian?

    
por ncomputers 31.01.2016 / 02:16

1 resposta

1

De o Manual de Políticas Debian :

Depending on context and the control file used, the Architecture field can include the following sets of values:

E de as práticas recomendadas de empacotamento :

6.7.5. Architecture-independent data

It is not uncommon to have a large amount of architecture-independent data packaged with a program. For example, audio files, a collection of icons, wallpaper patterns, or other graphic files. If the size of this data is negligible compared to the size of the rest of the package, it's probably best to keep it all in a single package.

However, if the size of the data is considerable, consider splitting it out into a separate, architecture-independent package (_all.deb). By doing this, you avoid needless duplication of the same data into eleven or more .debs, one per each architecture. While this adds some extra overhead into the Packages files, it saves a lot of disk space on Debian mirrors. Separating out architecture-independent data also reduces processing time of lintian (see Section A.2, “Package lint tools”) when run over the entire Debian archive.

Portanto, normalmente os pacotes binary-all são arquivos de dados ou executáveis que são independentes da arquitetura (como scripts). Mantendo estas separadas, a carga nos repositórios é reduzida.

    
por 31.01.2016 / 02:49