Skip to content

Conversation

@martyone
Copy link

Attention: (not only) due to the removal of the lines

rm -f ${uburoot}$1
mkdir -p ${uburoot}$1

this requires modification of the chroot - currently it contains /run/shm as a symlink to /dev/shm. This has to be replaced with a directory.

Note: the explicit umount will complain... this will be gone once the use of unshare -m is fixed and the workaround removed.

The main motivation for this is the issue with varying status of
moving from /dev/shm to /run/shm among distributions.

By "less dangerous" I mean removing the lines

rm -f ${uburoot}$1
mkdir -p ${uburoot}$1

which can have unintentional effects outside the chroot.

Signed-off-by: Martin Kampas <[email protected]>
@mkosola
Copy link

mkosola commented May 4, 2018

I applied pull-request here sailfishos/android-tools-hadk@b1e3d69

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants