{"basehash":"f1765915e3b9a96f10fe2915f786881cef90940c62d0183b5f86d6cb5480a0f8","basehash_ignore_vars":{"_set_object":["BBPATH","BBSERVER","BB_CURRENTTASK","BB_HASHSERVE","BB_LIMITEDDEPS","BB_TASKHASH","BB_UNIHASH","BB_WORKERCONTEXT","BUILDHISTORY_DIR","BUILD_ARCH","CCACHE","CCACHE_DIR","CCACHE_NOHASHDIR","CCACHE_TOP_DIR","COREBASE","DEPLOY_DIR","DL_DIR","EXTERNAL_TOOLCHAIN","FILE","FILESEXTRAPATHS","FILESPATH","FILE_DIRNAME","GIT_CEILING_DIRECTORIES","HOME","LICENSE_PATH","LOGNAME","OMP_NUM_THREADS","PARALLEL_MAKE","PATH","PKGDATA_DIR","PLNX_SCRIPTS_PATH","PRSERV_DUMPDIR","PRSERV_DUMPFILE","PRSERV_HOST","PRSERV_LOCKDOWN","PSEUDO_IGNORE_PATHS","PWD","RUST_BUILD_SYS","RUST_HOST_SYS","RUST_TARGET_SYS","SDKPKGSUFFIX","SHELL","SOURCE_DATE_EPOCH","SSTATE_DIR","SSTATE_HASHEQUIV_METHOD","SSTATE_HASHEQUIV_OWNER","SSTATE_HASHEQUIV_REPORT_TASKDATA","SSTATE_PKGARCH","STAGING_DIR_HOST","STAGING_DIR_TARGET","STAMPCLEAN","STAMPS_DIR","THISDIR","TMPDIR","USER","WARN_QA","WORKDIR","extend_recipe_sysroot"]},"file_checksum_values":[],"gendeps":{"useradd_sysroot_sstate":{"_set_object":[]}},"runtaskdeps":["autoconf-native:do_populate_sysroot","automake-native:do_populate_sysroot","gcc-cross-arm:do_populate_sysroot","gcc-runtime:do_populate_sysroot","glibc:do_populate_sysroot","libtirpc:do_populate_sysroot","libtool-cross:do_populate_sysroot","libtool-native:do_populate_sysroot","pkgconfig-native:do_populate_sysroot","pseudo-native:do_populate_sysroot","quota:do_populate_sysroot","rpcbind:do_fetch","shadow-native:do_populate_sysroot","update-rc.d:do_populate_sysroot"],"runtaskhashes":{"autoconf-native:do_populate_sysroot":"a2e00867c2a16799b5c614087365dcd07d8ae0b6066900fd290e1e75c7dea66d","automake-native:do_populate_sysroot":"6dd1da562cfe43f6256a04e24b8e733e9dc9466a55a73e44d95e84bdda5ed3c6","gcc-cross-arm:do_populate_sysroot":"c02cd7f0f364e067477554cadfe02051a4854fa4e9a26a6b9ba740c8d664e524","gcc-runtime:do_populate_sysroot":"589fa63148a242ee3f3203acb5262b2cfe026af2a57694a3e8f5cc33b2fb4879","glibc:do_populate_sysroot":"d2bc7af5e19eb79b2f2200f74530ea26c8af824f489669600e18a8b26ecb3f8f","libtirpc:do_populate_sysroot":"c6bd08f1f87ed1797fc72f06fd3903ec32080082e5407067dd483e5eb253317f","libtool-cross:do_populate_sysroot":"573d94f1766b048b87fce66080119f1be367260f6261bd98e8a7ac22d55f2adf","libtool-native:do_populate_sysroot":"1103ccf54c686690e8da5e2ce1eeb5db664f675c4c7d35f21fbfe8abe8f213a9","pkgconfig-native:do_populate_sysroot":"33215e49ef7bba9c567b9fe8645166054b271e557f1548ebb1ca9d87f7ac8d6d","pseudo-native:do_populate_sysroot":"6f3b11f4a4f484275b568f806ed7286ae5b90cee9f2424a317c0e0bafeeee390","quota:do_populate_sysroot":"99539d2899239e848fd9df150f0d575b33b6b56d6d574b975de489280c67c5aa","rpcbind:do_fetch":"ea76299d704278d48829f61072f3f3092e914fae23ba19ac09a31a5020bc7eee","shadow-native:do_populate_sysroot":"93c8fcd35cd8daea3180cbe0b52fe718ae85ed6dd51bacbbad03dc8240e937bf","update-rc.d:do_populate_sysroot":"b2ae8c43412bc6fd81afdb0c71fdd6faa7bc5b791634c0e8deda2225eb59291f"},"task":"do_prepare_recipe_sysroot","taskdeps":{"_set_object":["useradd_sysroot_sstate"]},"taskhash":"5824641a6298cfbc93e9c52bed3f29c07ee78dd611f4c301bc2fc044e537c7eb","taskhash_ignore_tasks":null,"unihash":"5824641a6298cfbc93e9c52bed3f29c07ee78dd611f4c301bc2fc044e537c7eb","varvals":{"do_prepare_recipe_sysroot":"    bb.build.exec_func(\"extend_recipe_sysroot\", d)\n","useradd_sysroot_sstate":"    for type, sort_prefix in [(\"group\", \"01\"), (\"user\", \"02\"), (\"groupmems\", \"03\")]:\n        scriptfile = None\n        task = d.getVar(\"BB_CURRENTTASK\")\n        if task == \"package_setscene\":\n            bb.build.exec_func(type + \"add_sysroot\", d)\n        elif task == \"prepare_recipe_sysroot\":\n            # Used to update this recipe's own sysroot so the user/groups are available to do_install\n\n            # If do_populate_sysroot is triggered and we write the file here, there would be an overlapping\n            # files. See usergrouptests.UserGroupTests.test_add_task_between_p_sysroot_and_package\n            scriptfile = d.expand(\"${RECIPE_SYSROOT}${bindir}/postinst-useradd-\" + sort_prefix + type + \"-${PN}-recipedebug\")\n\n            bb.build.exec_func(type + \"add_sysroot\", d)\n        elif task == \"populate_sysroot\":\n            # Used when installed in dependent task sysroots\n            scriptfile = d.expand(\"${SYSROOT_DESTDIR}${bindir}/postinst-useradd-\" + sort_prefix + type + \"-${PN}\")\n\n        if scriptfile:\n            bb.utils.mkdirhier(os.path.dirname(scriptfile))\n            with open(scriptfile, 'w') as script:\n                script.write(\"#!/bin/sh -e\\n\")\n                bb.data.emit_func(type + \"add_sysroot\", script, d)\n                script.write(type + \"add_sysroot\\n\")\n            os.chmod(scriptfile, 0o755)\n"}}