-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
fix issues 1261 #1262
base: main
Are you sure you want to change the base?
fix issues 1261 #1262
Conversation
I think this may cause other issues |
我检查了你给的这个 issue,发现如果用 假设 CASE1REMOVE="
/system/product/app/A
"
模块内文件结构如下
/data/adb/modules/myapp
└── system
└── product
└── app
└── B 此时 mkdir -p /data/adb/modules/myapp/system/product/app
mknod /data/adb/modules/myapp/system/product/app/A c 0 0
chmod 644 /data/adb/modules/myapp/system/product/app/A 接下来
执行完模块结构是这样的
CASE1 执行结果符合预期 CASE2REMOVE="
/product/app/A
"
模块内文件结构如下
/data/adb/modules/myapp
└── system
└── product
└── app
└── B 此时 mkdir -p /data/adb/modules/myapp/product/app
mknod /data/adb/modules/myapp/product/app/A c 0 0
chmod 644 /data/adb/modules/myapp/product/app/A 接下来
执行完模块结构是这样的
CASE2 执行结果符合预期 |
Why not merge it?It works properly |
在没有充分的证据之前,我认为这个修复会带来更多的问题。而本 issue 的问题,可以通过其他的方式规避。 |
Sorry I don't speak chinese and I translated with google, I hope is correct, but cp can preserve timestamp, owernship, device, symbolic link with parameter -a
|
fix #1261