-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fs_config_generator.py fsconfig: error: argument --all-partitions: expected one argument #5
Comments
vendor partition is missing? vendor partition is no longer optional. |
I'm sure there is right way to change script in build folder. Thanks, |
You can modify it locally anyway you want but that change is highly unlikely to go in AOSP. But yeah you can modify the script and other dependencies if any. For an older device of mine, I use cache (now obsolete) partition as vendor partition. That way I don't have to worry about modifying the existing partition layout. |
in the end, this did not work for me. can't put all together when compiling AOSP branch (Pie) , problem is non-treble compliance of this repo. Any help or guidance greatly appreciated. |
solved by changing aosp\out\build-hikey970.ninja,
two places,
command = /bin/bash -c "build/make/tools/fs_config/fs_config_generator.py fsconfig --aid-header system/core/include/private/android_filesystem_config.h --capability-header bionic/libc/kernel/uapi/linux/capability.h --partition system --all-partitions '' --dirs --out_file out/target/product/hikey970/obj/ETC/fs_config_dirs_system_intermediates/fs_config_dirs_system /dev/null"
command = /bin/bash -c "build/make/tools/fs_config/fs_config_generator.py fsconfig --aid-header system/core/include/private/android_filesystem_config.h --capability-header bionic/libc/kernel/uapi/linux/capability.h --partition system --all-partitions '' --files --out_file out/target/product/hikey970/obj/ETC/fs_config_files_system_intermediates/fs_config_files_system /dev/null"
The text was updated successfully, but these errors were encountered: