cookutils rev 1094

doc/cookopts.txt: explain force-arch option
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 26 12:13:01 2018 +0200 (2018-11-26)
parents e1bb2a3a467a
children 5378eaa65099
files doc/cookopts.txt
line diff
     1.1 --- a/doc/cookopts.txt	Sat Nov 24 14:58:06 2018 +0200
     1.2 +++ b/doc/cookopts.txt	Mon Nov 26 12:13:01 2018 +0200
     1.3 @@ -174,3 +174,18 @@
     1.4      Presence of this option will pack the SET packages instantly before
     1.5      to switch to another SET. So, packages created in the first SET will be
     1.6      immediately available to use in the second SET and so on.
     1.7 +
     1.8 +force-arch
     1.9 +    Architecture of the package determined by examining executable files on
    1.10 +    a packing stage. System with "i486" architecture may produce packages with
    1.11 +    architecture "i486" or "any" (if there's no architecture-dependent files
    1.12 +    like shared libraries or binaries were found, but only Shell, Python, Perl
    1.13 +    scripts, fonts, icons, and so on). System with "x86_64" architecture may
    1.14 +    produce packages with architecture "x86_64" or "any".
    1.15 +    In rare cases architecture-independent packages built in "i486" and "x86_64"
    1.16 +    environments may have architecture-dependent settings in configuration
    1.17 +    files. Or package may provide architecture-dependent paths (Perl modules
    1.18 +    packages) - this checking not implemented yet. Or package may contain some
    1.19 +    files for other architecture and you need to override default behavior.
    1.20 +    In all these cases you can use this option and architecture of all packages
    1.21 +    produced with this receipt will be the same as build environment has.