{"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":"3125a519cd20a332450511c09f823dd7e313757d6453915d92e3f73b5f7a4319","gcc-runtime:do_populate_sysroot":"0a4310314197982492aac610eb9902e854d3d3f0f3cc80ad129808b5d85113f2","glibc:do_populate_sysroot":"3dfcdfdaeefc5ae5ed6a8bb10f168f7b2b41a33f5c1c28befaedbc2a4b842a20","pseudo-native:do_populate_sysroot":"ffb1079fbd42d6bbbfa23292fc084b58c68402af14b47aa102fe92e62bf84e05","shadow-native:do_populate_sysroot":"95a5c2ba430f5e42c6ea3f2a4ed5ed068f2d6c420cc09e03f5e3c007bf030562","systemd-systemctl-native:do_populate_sysroot":"71f82ce34f395cae1d93a2f68ac20b406dc44f72b8791ca47f78162a19890b25","weston-init:do_fetch":"363ec55356abc00f404eeb1a4535cb80eafe916f4df7113842ee041e7c9a461a"},"task":"do_prepare_recipe_sysroot","taskdeps":{"_set_object":["useradd_sysroot_sstate"]},"taskhash":"3fb7552a3b259792fffd2f043dc73bcc481d7589a24f60b2325d4d0494a3dc22","taskhash_ignore_tasks":null,"unihash":"3fb7552a3b259792fffd2f043dc73bcc481d7589a24f60b2325d4d0494a3dc22","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"}}