We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With a recent 'make sync', I started seeing the following error on a clean build when running the 'make config-galaxy-s2' step:
cp: cannot create regular file `../../../vendor/samsung/c1-common/proprietary/etc/mdnie_tune_bypass_mode': No such file or directory
I tracked it down to copy_file() in .../gonk/device/samsung/galaxys2/extract-files.sh.
copy_file()
.../gonk/device/samsung/galaxys2/extract-files.sh
Fix:
diff --git a/extract-files.sh b/extract-files.sh index 5f6cc0b..69e01af 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -132,14 +132,18 @@ EOF # $4 = directory name in $PROPRIETARY_COMMON_DIR copy_file() { - echo Pulling \"$1\" if [[ -z "${ANDROIDFS_DIR}" ]]; then + echo Pulling \"$1\" adb pull /$3/$1 $PROPRIETARY_COMMON_DIR/$4/$2 else # Hint: Uncomment the next line to populate a fresh ANDROIDFS_DIR # (TODO: Make this a command-line option or something.) # adb pull /$3/$1 ${ANDROIDFS_DIR}/$3/$1 - cp ${ANDROIDFS_DIR}/$3/$1 $PROPRIETARY_COMMON_DIR/$4/$2 + echo Copying \"$1\" + local TARGET=$PROPRIETARY_COMMON_DIR/$4/$2 + local TARGET_DIR=$(dirname "$TARGET") + mkdir -p $TARGET_DIR + cp ${ANDROIDFS_DIR}/$3/$1 $TARGET fi if [[ -f $PROPRIETARY_COMMON_DIR/$4/$2 ]]; then
The text was updated successfully, but these errors were encountered:
Workaround: mkdir glue/gonk/vendor/samsung/c1-common/proprietary/etc
#249 (comment)
Sorry, something went wrong.
Yeah--I've got a pull-req waiting on a fix: joneschrisg/android_device_samsung_galaxys2#24
No branches or pull requests
With a recent 'make sync', I started seeing the following error on a clean build when running the 'make config-galaxy-s2' step:
I tracked it down to
copy_file()
in.../gonk/device/samsung/galaxys2/extract-files.sh
.Fix:
The text was updated successfully, but these errors were encountered: