{"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","cronie:do_fetch","gcc-cross-arm:do_populate_sysroot","gcc-runtime:do_populate_sysroot","glibc:do_populate_sysroot","libpam:do_populate_sysroot","libtool-cross:do_populate_sysroot","libtool-native:do_populate_sysroot","pseudo-native:do_populate_sysroot","shadow-native:do_populate_sysroot","update-rc.d:do_populate_sysroot"],"runtaskhashes":{"autoconf-native:do_populate_sysroot":"edc74babcfd626e7f206f62f859884e2049fbd691b5ba6b370991246231c17f2","automake-native:do_populate_sysroot":"07d4c3fa66ae3e72caa892dea3a2bcf90a91c0c918db6b216f4bd3e030789d92","cronie:do_fetch":"512b9e769784a004f9a673bbcf4e6ae6822152d415ff8dddc2b804b920546328","gcc-cross-arm:do_populate_sysroot":"b23e1494b0ea3fad8959579ed53022c8c373910a8690d7bea4d376fea4a39df8","gcc-runtime:do_populate_sysroot":"092b4214521a95cfec883c7b2a34e50184cad54fa0f052900deaf8bbabc37c31","glibc:do_populate_sysroot":"8212482279a6361e360bfec561a634297348d8707ae4d0d32e9b90e37540c2dc","libpam:do_populate_sysroot":"1658c6a59a83a9515089ad49bde7d3d53d062a8fc1d82d6b249e3abea5b11b94","libtool-cross:do_populate_sysroot":"f5964ee3dc7cdbbf90e28bdfc6258c19065321102bcacc537d4683b1a421b382","libtool-native:do_populate_sysroot":"be8d0e2e8c5f667269ef846003bae526c2eb4543a14bbb110a87fe9bfd84e555","pseudo-native:do_populate_sysroot":"e9cf02486c5d3fc56c095743fce82ba37331da09de744cde3e779d968e456e57","shadow-native:do_populate_sysroot":"52223acf92834cb5bdf6f08dd48bdf7c9a76f9acb3eff89231e7eb8c366a9ec7","update-rc.d:do_populate_sysroot":"ddae265d8efce796cba7d6168005e6bb86d235f76360455fa56df6db18f0ad20"},"task":"do_prepare_recipe_sysroot","taskdeps":{"_set_object":["useradd_sysroot_sstate"]},"taskhash":"98155ad8ac978349010e389cc2f6a419b3317df4e22a1c07784dc01a9f1ceb37","taskhash_ignore_tasks":null,"unihash":"98155ad8ac978349010e389cc2f6a419b3317df4e22a1c07784dc01a9f1ceb37","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"}}