Skip to content
This repository has been archived by the owner on Sep 15, 2018. It is now read-only.

update-binary fails if tmp files already exist #10

Open
aggregate1166877 opened this issue Mar 9, 2018 · 0 comments
Open

update-binary fails if tmp files already exist #10

aggregate1166877 opened this issue Mar 9, 2018 · 0 comments

Comments

@aggregate1166877
Copy link

I had a situation where a problem outside of the scope of this flasher meant I had to reflash the zip. Upon rerunning, I got the error "Recovery busybox setup failed. Aborting..."

Some hacking revealed that update-binary runs $bb ln -s $bb /tmp/anykernel/bin/$i;, which failed in my case because the soft links already existed. I resolved the issue by changing the ln command to $bb ln -sfn $bb /tmp/anykernel/bin/$i;.

I am unsure if the -fn options work with all versions of busybox, but I thought I'd mention this here in case it'd helpful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant