{"id":246,"date":"2025-02-04T02:10:39","date_gmt":"2025-02-04T07:10:39","guid":{"rendered":"https:\/\/dpm.darkhorselinux.org\/?page_id=246"},"modified":"2025-02-14T06:01:17","modified_gmt":"2025-02-14T11:01:17","slug":"dpm-configuration-options","status":"publish","type":"page","link":"https:\/\/dpm.darkhorselinux.org\/?page_id=246","title":{"rendered":"DPM Configuration Options"},"content":{"rendered":"\n<p>These are identified options in the DPM configuration file. The DPM configuration file is intended to be places at <code>\/etc\/dpm\/config<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">force_signature_validation<\/h2>\n\n\n\n<p>Enables the signature validation requirement for a package to install. Can still be overridden with an optional switch.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">force_integrity_validation<\/h2>\n\n\n\n<p>Enables the package integrity validation requirement for a package to install. Can still be overridden with an optional switch.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">signature_method<\/h2>\n\n\n\n<p>Defaults to SHA-256.  Other options will be available provided by the library that supplies supported cryptographic methods to use.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">target_rootfs<\/h2>\n\n\n\n<p>Defaults to <code>'\/'<\/code>. This tells DPM when working with package contents the root directory of where to install those contents. So, for instance, if you had a custom solution you were building, like a chroot, container directory tree, or a sysroot, or some other use, you could set this to the top-level directory of where that would be so that you could populate that directory as opposed to the root filesystem of the linux distribution.<\/p>\n\n\n\n<p>This can also be supplied as a commandline option when installing a package.  If supplied as a commandline option, the supplied commandline option will take priority over this value.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">accepted_architectures<\/h2>\n\n\n\n<p>A comma delimited list of acceptable architectures. <\/p>\n\n\n\n<p>For example, on a multilib x86_64 system, you&#8217;d probably want:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>accepted_architectures = i686, noarch, x86_64<\/code><\/pre>\n\n\n\n<p>Or perhaps for an aarch64 system, you&#8217;d set this to <code>noarch, x86_64<\/code>.<\/p>\n<div class=\"pdfprnt-buttons pdfprnt-buttons-page pdfprnt-bottom-right\"><a href=\"https:\/\/dpm.darkhorselinux.org\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F246&print=pdf\" class=\"pdfprnt-button pdfprnt-button-pdf\" target=\"_blank\" ><span class=\"pdfprnt-button-title pdfprnt-button-pdf-title\">[ EXPORT TO PDF ]<\/span><\/a><a href=\"https:\/\/dpm.darkhorselinux.org\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F246&print=print\" class=\"pdfprnt-button pdfprnt-button-print\" target=\"_blank\" ><\/a><\/div>","protected":false},"excerpt":{"rendered":"<p>These are identified options in the DPM configuration file. The DPM configuration file is intended to be places at \/etc\/dpm\/config. force_signature_validation Enables the signature validation requirement for a package to install. Can still be overridden with an optional switch. force_integrity_validation Enables the package integrity validation requirement for a package to install. Can still be overridden &hellip; <a href=\"https:\/\/dpm.darkhorselinux.org\/?page_id=246\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">DPM Configuration Options<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-246","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/dpm.darkhorselinux.org\/index.php?rest_route=\/wp\/v2\/pages\/246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dpm.darkhorselinux.org\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dpm.darkhorselinux.org\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dpm.darkhorselinux.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dpm.darkhorselinux.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=246"}],"version-history":[{"count":11,"href":"https:\/\/dpm.darkhorselinux.org\/index.php?rest_route=\/wp\/v2\/pages\/246\/revisions"}],"predecessor-version":[{"id":516,"href":"https:\/\/dpm.darkhorselinux.org\/index.php?rest_route=\/wp\/v2\/pages\/246\/revisions\/516"}],"wp:attachment":[{"href":"https:\/\/dpm.darkhorselinux.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}