{"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":"fc6b2511ae08f5d0a271d3f6d26242572c55976ce47fa73fc9320d09ea2ba981","gcc-runtime:do_populate_sysroot":"dac6cc5fb2efee32caf58788503e6be0d0ce086872a9750ed07d1508617778cf","glibc:do_populate_sysroot":"24ee444dabb24c824e5046d8d9f04a8022aba29fedbe67fa95aadf565c991c12","pseudo-native:do_populate_sysroot":"bc6d8d78715b75ad0af140b2127bbaac6fbb3cff500165dc98634f9ce9dae35b","shadow-native:do_populate_sysroot":"72ba21fdf435d452a4be52879ba6aedb21b033e42a2707c83c6d9698a322f1ce","systemd-systemctl-native:do_populate_sysroot":"c994859aa3a5bebe041d8ed336fb8011ef0daf2d972f9a954625040689e0a257","weston-init:do_fetch":"c58555065aa2d4de59bc97f0efd442775304dece321875165c9b34adbbefa9c5"},"task":"do_prepare_recipe_sysroot","taskdeps":{"_set_object":["useradd_sysroot_sstate"]},"taskhash":"fdb014c65819fb24e01e4777e784083539c68a8ce87e24646bea3a14e3929620","taskhash_ignore_tasks":null,"unihash":"fdb014c65819fb24e01e4777e784083539c68a8ce87e24646bea3a14e3929620","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"}}