Skip to content

Commit

Permalink
A note to combat chroot error (#451)
Browse files Browse the repository at this point in the history
* A note to combat chroot error

Just putting a note for time being. halium-install script should be updated to check for necessary binfmt-support configuration based on the provided architecture.

* attempt at fixing build errors

* one more

* Update Halium_install.rst

* Update Halium_install.rst
  • Loading branch information
thisisprateek committed Aug 29, 2021
1 parent caac867 commit 1e4e73e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion porting/build_and_boot/Halium_install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,7 @@ For **Halium 9.0 ports**, use this command::

where [SYSTEM_IMAGE] will be the file ``android-rootfs.img`` you downloaded and extracted, or alternatively the file ``system.img`` you built yourself.

The script will copy and extract the files to their proper places, then allow you to set the user password for your device (the *phablet* user's password).
The script will copy and extract the files to their proper places, then allow you to set the user password for your device (the *phablet* user's password).

.. Note::
halium-install might fail due to unconfigured bintfmt-support for qemu throwing errors such as 'chroot: failed to run command ‘passwd’: Exec format error'. To fix this, ``/proc/sys/fs/binfmt_misc/register`` should be updated. `binfmt-manager <https://github.com/mikkeloscar/binfmt-manager>`_ by `@mikkeloscar <https://github.com/mikkeloscar/>`_ can provide quickfix.

0 comments on commit 1e4e73e

Please sign in to comment.