{"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":["gcc-cross-aarch64:do_populate_sysroot","gcc-runtime:do_populate_sysroot","glibc:do_populate_sysroot","pseudo-native:do_populate_sysroot","shadow-native:do_populate_sysroot","systemd-systemctl-native:do_populate_sysroot","weston-init:do_fetch"],"runtaskhashes":{"gcc-cross-aarch64:do_populate_sysroot":"31fe2421a62e8d9652f7322090638cc1821679b108e6d7a446987a910f600dc3","gcc-runtime:do_populate_sysroot":"c4f2dd0c596b3741f436ac18035a826cea5f63855b1f64efb93ad04d8ac00827","glibc:do_populate_sysroot":"c707df2e885ba049520f7ce1084d4d65cb70db28181700a5405dfebecfbd691e","pseudo-native:do_populate_sysroot":"e9cf02486c5d3fc56c095743fce82ba37331da09de744cde3e779d968e456e57","shadow-native:do_populate_sysroot":"52223acf92834cb5bdf6f08dd48bdf7c9a76f9acb3eff89231e7eb8c366a9ec7","systemd-systemctl-native:do_populate_sysroot":"c1e0273f3c87008b32ca31b1b95c83bc8e1c2f321eac763a4da3074a2d9aa347","weston-init:do_fetch":"bd5e4173597f6a5984511ba6a489147cf67a32eb05891d23eb75aca83c0579d0"},"task":"do_prepare_recipe_sysroot","taskdeps":{"_set_object":["useradd_sysroot_sstate"]},"taskhash":"1870ddd2575f7ef7bfd782a65f7ad807d9b4025d54dc02536e1d4e8d25e58b6f","taskhash_ignore_tasks":null,"unihash":"1870ddd2575f7ef7bfd782a65f7ad807d9b4025d54dc02536e1d4e8d25e58b6f","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"}}