diff options
Diffstat (limited to 'documentation/dev-manual/common-tasks.rst')
-rw-r--r-- | documentation/dev-manual/common-tasks.rst | 75 |
1 files changed, 39 insertions, 36 deletions
diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst index cfa81176c3..1caf953901 100644 --- a/documentation/dev-manual/common-tasks.rst +++ b/documentation/dev-manual/common-tasks.rst | |||
@@ -2534,13 +2534,6 @@ doing the following: | |||
2534 | where you have installed them and whether those files are in | 2534 | where you have installed them and whether those files are in |
2535 | different locations than the defaults. | 2535 | different locations than the defaults. |
2536 | 2536 | ||
2537 | .. note:: | ||
2538 | |||
2539 | If image prelinking is enabled (e.g. :ref:`image-prelink <ref-classes-image-prelink>` is in :term:`USER_CLASSES` | ||
2540 | which it is by default), prelink will change the binaries in the generated images | ||
2541 | and this often catches people out. Remove that class to ensure binaries are | ||
2542 | preserved exactly if that is necessary. | ||
2543 | |||
2544 | Following Recipe Style Guidelines | 2537 | Following Recipe Style Guidelines |
2545 | --------------------------------- | 2538 | --------------------------------- |
2546 | 2539 | ||
@@ -8273,26 +8266,39 @@ in a format suitable for use in global configuration (e.g., | |||
8273 | output from this command:: | 8266 | output from this command:: |
8274 | 8267 | ||
8275 | $ buildhistory-collect-srcrevs -a | 8268 | $ buildhistory-collect-srcrevs -a |
8276 | # i586-poky-linux | ||
8277 | SRCREV:pn-glibc = "b8079dd0d360648e4e8de48656c5c38972621072" | ||
8278 | SRCREV:pn-glibc-initial = "b8079dd0d360648e4e8de48656c5c38972621072" | ||
8279 | SRCREV:pn-opkg-utils = "53274f087565fd45d8452c5367997ba6a682a37a" | ||
8280 | SRCREV:pn-kmod = "fd56638aed3fe147015bfa10ed4a5f7491303cb4" | ||
8281 | # x86_64-linux | ||
8282 | SRCREV:pn-gtk-doc-stub-native = "1dea266593edb766d6d898c79451ef193eb17cfa" | ||
8283 | SRCREV:pn-dtc-native = "65cc4d2748a2c2e6f27f1cf39e07a5dbabd80ebf" | ||
8284 | SRCREV:pn-update-rc.d-native = "eca680ddf28d024954895f59a241a622dd575c11" | ||
8285 | SRCREV_glibc:pn-cross-localedef-native = "b8079dd0d360648e4e8de48656c5c38972621072" | ||
8286 | SRCREV_localedef:pn-cross-localedef-native = "c833367348d39dad7ba018990bfdaffaec8e9ed3" | ||
8287 | SRCREV:pn-prelink-native = "faa069deec99bf61418d0bab831c83d7c1b797ca" | ||
8288 | SRCREV:pn-opkg-utils-native = "53274f087565fd45d8452c5367997ba6a682a37a" | ||
8289 | SRCREV:pn-kern-tools-native = "23345b8846fe4bd167efdf1bd8a1224b2ba9a5ff" | ||
8290 | SRCREV:pn-kmod-native = "fd56638aed3fe147015bfa10ed4a5f7491303cb4" | ||
8291 | # qemux86-poky-linux | ||
8292 | SRCREV_machine:pn-linux-yocto = "38cd560d5022ed2dbd1ab0dca9642e47c98a0aa1" | ||
8293 | SRCREV_meta:pn-linux-yocto = "a227f20eff056e511d504b2e490f3774ab260d6f" | ||
8294 | # all-poky-linux | 8269 | # all-poky-linux |
8295 | SRCREV:pn-update-rc.d = "eca680ddf28d024954895f59a241a622dd575c11" | 8270 | SRCREV:pn-ca-certificates = "07de54fdcc5806bde549e1edf60738c6bccf50e8" |
8271 | SRCREV:pn-update-rc.d = "8636cf478d426b568c1be11dbd9346f67e03adac" | ||
8272 | # core2-64-poky-linux | ||
8273 | SRCREV:pn-binutils = "87d4632d36323091e731eb07b8aa65f90293da66" | ||
8274 | SRCREV:pn-btrfs-tools = "8ad326b2f28c044cb6ed9016d7c3285e23b673c8" | ||
8275 | SRCREV_bzip2-tests:pn-bzip2 = "f9061c030a25de5b6829e1abf373057309c734c0" | ||
8276 | SRCREV:pn-e2fsprogs = "02540dedd3ddc52c6ae8aaa8a95ce75c3f8be1c0" | ||
8277 | SRCREV:pn-file = "504206e53a89fd6eed71aeaf878aa3512418eab1" | ||
8278 | SRCREV_glibc:pn-glibc = "24962427071fa532c3c48c918e9d64d719cc8a6c" | ||
8279 | SRCREV:pn-gnome-desktop-testing = "e346cd4ed2e2102c9b195b614f3c642d23f5f6e7" | ||
8280 | SRCREV:pn-init-system-helpers = "dbd9197569c0935029acd5c9b02b84c68fd937ee" | ||
8281 | SRCREV:pn-kmod = "b6ecfc916a17eab8f93be5b09f4e4f845aabd3d1" | ||
8282 | SRCREV:pn-libnsl2 = "82245c0c58add79a8e34ab0917358217a70e5100" | ||
8283 | SRCREV:pn-libseccomp = "57357d2741a3b3d3e8425889a6b79a130e0fa2f3" | ||
8284 | SRCREV:pn-libxcrypt = "50cf2b6dd4fdf04309445f2eec8de7051d953abf" | ||
8285 | SRCREV:pn-ncurses = "51d0fd9cc3edb975f04224f29f777f8f448e8ced" | ||
8286 | SRCREV:pn-procps = "19a508ea121c0c4ac6d0224575a036de745eaaf8" | ||
8287 | SRCREV:pn-psmisc = "5fab6b7ab385080f1db725d6803136ec1841a15f" | ||
8288 | SRCREV:pn-ptest-runner = "bcb82804daa8f725b6add259dcef2067e61a75aa" | ||
8289 | SRCREV:pn-shared-mime-info = "18e558fa1c8b90b86757ade09a4ba4d6a6cf8f70" | ||
8290 | SRCREV:pn-zstd = "e47e674cd09583ff0503f0f6defd6d23d8b718d3" | ||
8291 | # qemux86_64-poky-linux | ||
8292 | SRCREV_machine:pn-linux-yocto = "20301aeb1a64164b72bc72af58802b315e025c9c" | ||
8293 | SRCREV_meta:pn-linux-yocto = "2d38a472b21ae343707c8bd64ac68a9eaca066a0" | ||
8294 | # x86_64-linux | ||
8295 | SRCREV:pn-binutils-cross-x86_64 = "87d4632d36323091e731eb07b8aa65f90293da66" | ||
8296 | SRCREV_glibc:pn-cross-localedef-native = "24962427071fa532c3c48c918e9d64d719cc8a6c" | ||
8297 | SRCREV_localedef:pn-cross-localedef-native = "794da69788cbf9bf57b59a852f9f11307663fa87" | ||
8298 | SRCREV:pn-debianutils-native = "de14223e5bffe15e374a441302c528ffc1cbed57" | ||
8299 | SRCREV:pn-libmodulemd-native = "ee80309bc766d781a144e6879419b29f444d94eb" | ||
8300 | SRCREV:pn-virglrenderer-native = "363915595e05fb252e70d6514be2f0c0b5ca312b" | ||
8301 | SRCREV:pn-zstd-native = "e47e674cd09583ff0503f0f6defd6d23d8b718d3" | ||
8296 | 8302 | ||
8297 | .. note:: | 8303 | .. note:: |
8298 | 8304 | ||
@@ -8354,21 +8360,18 @@ Here is an example of ``image-info.txt``: | |||
8354 | .. code-block:: none | 8360 | .. code-block:: none |
8355 | 8361 | ||
8356 | DISTRO = poky | 8362 | DISTRO = poky |
8357 | DISTRO_VERSION = 1.7 | 8363 | DISTRO_VERSION = 3.4+snapshot-a0245d7be08f3d24ea1875e9f8872aa6bbff93be |
8358 | USER_CLASSES = buildstats image-prelink | 8364 | USER_CLASSES = buildstats |
8359 | IMAGE_CLASSES = image_types | 8365 | IMAGE_CLASSES = qemuboot qemuboot license_image |
8360 | IMAGE_FEATURES = debug-tweaks | 8366 | IMAGE_FEATURES = debug-tweaks |
8361 | IMAGE_LINGUAS = | 8367 | IMAGE_LINGUAS = |
8362 | IMAGE_INSTALL = packagegroup-core-boot run-postinsts | 8368 | IMAGE_INSTALL = packagegroup-core-boot speex speexdsp |
8363 | BAD_RECOMMENDATIONS = | 8369 | BAD_RECOMMENDATIONS = |
8364 | NO_RECOMMENDATIONS = | 8370 | NO_RECOMMENDATIONS = |
8365 | PACKAGE_EXCLUDE = | 8371 | PACKAGE_EXCLUDE = |
8366 | ROOTFS_POSTPROCESS_COMMAND = write_package_manifest; license_create_manifest; \ | 8372 | ROOTFS_POSTPROCESS_COMMAND = write_package_manifest; license_create_manifest; cve_check_write_rootfs_manifest; ssh_allow_empty_password; ssh_allow_root_login; postinst_enable_logging; rootfs_update_timestamp; write_image_test_data; empty_var_volatile; sort_passwd; rootfs_reproducible; |
8367 | write_image_manifest ; buildhistory_list_installed_image ; \ | 8373 | IMAGE_POSTPROCESS_COMMAND = buildhistory_get_imageinfo ; |
8368 | buildhistory_get_image_installed ; ssh_allow_empty_password; \ | 8374 | IMAGESIZE = 9265 |
8369 | postinst_enable_logging; rootfs_update_timestamp ; ssh_disable_dns_lookup ; | ||
8370 | IMAGE_POSTPROCESS_COMMAND = buildhistory_get_imageinfo ; | ||
8371 | IMAGESIZE = 6900 | ||
8372 | 8375 | ||
8373 | Other than ``IMAGESIZE``, | 8376 | Other than ``IMAGESIZE``, |
8374 | which is the total size of the files in the image in Kbytes, the | 8377 | which is the total size of the files in the image in Kbytes, the |