-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
Clean up unrooted boot patching log errors #7047
base: master
Are you sure you want to change the base?
Conversation
cp: can't preserve ownership of 'busybox': Operation not permitted cp: can't preserve ownership of 'magisk32': Operation not permitted cp: can't preserve ownership of 'magisk64': Operation not permitted cp: can't preserve ownership of 'magiskboot': Operation not permitted cp: can't preserve ownership of 'magiskinit': Operation not permitted cp: can't preserve ownership of 'magiskpolicy': Operation not permitted remove call since cp_readlink shouldn't be necessary with installDir getting cleaned up regularly
d8b9404
to
7a51b9c
Compare
srcBoot.delete() | ||
"cp_readlink $installDir".sh() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why though? It produces the errors in the commit message when run on an unrooted device, the actual .img patching happens before the call/errors and all works fine, and the app is continually deleting the internal installDir to start fresh anyway.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
c5cd392
to
03b5d16
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
03b5d16
to
9c900a2
Compare
9c900a2
to
00daad4
Compare
00daad4
to
43bd7cf
Compare
I see the new built-in avb 1.0 signing adds a new error/warning to the install logs on all AVB2 (VBMETA) signed imgs, rooted and unrooted:
But I don't think I can figure out how to fix that one. |
e46cdcd
to
8e7186e
Compare
ec54aed
to
f61827c
Compare
Clean up unrooted boot patching cp errors in log
remove call since cp_readlink shouldn't be necessary with installDir getting cleaned up regularly
cp: can't preserve ownership of 'busybox': Operation not permitted
cp: can't preserve ownership of 'magisk32': Operation not permitted
cp: can't preserve ownership of 'magisk64': Operation not permitted
cp: can't preserve ownership of 'magiskboot': Operation not permitted
cp: can't preserve ownership of 'magiskinit': Operation not permitted
cp: can't preserve ownership of 'magiskpolicy': Operation not permitted
See: magisk_install_log_2023-06-04T20.03.33.log