Skip to content
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

fail to build los-7.1-r5 iso #108

Open
promeneur opened this issue Feb 24, 2021 · 5 comments
Open

fail to build los-7.1-r5 iso #108

promeneur opened this issue Feb 24, 2021 · 5 comments

Comments

@promeneur
Copy link

Hello

i tried to compile and lake an iso for los-7.1-r5

i get los-7.1-r5 with

mkdir android-x86 cd android-x86 repo init -u git://git.osdn.net/gitroot/android-x86/manifest -b android-x86-7.1-r5 -m cm.xml repo sync --no-tags --no-clone-bundle
I build los-7.1-r5 with
cd android-x86 source build/envsetup.sh lunch cm_android_x86_64-user make -j4 iso_img TARGET_PRODUCT=cm_android_x86_64

at the end the job fails because it can't find the command "mkdosfs"

With openSuse all dosfs tools are root's tools
see the log
compile.log

@utzcoz
Copy link
Contributor

utzcoz commented Feb 24, 2021

Try sudo apt-get install -y dosfstools to install dosfstools with mkdosfs command, and execute your build command again.

@promeneur
Copy link
Author

i did not well explain. Dosfs tools are installed but they are root's tools. You must be root user to use them.

And i use openSuse then apt-get is not an openSuse tool

@utzcoz
Copy link
Contributor

utzcoz commented Feb 24, 2021

Looks like the missing mkdosfs doesn't need in Ubuntu. The Google recommends to use Ubuntu to build the AOSP based source code, because they only test and ensure tool chains on Ubuntu. So I recommend you use Ubuntu to build. If you want to use your openSUSE to do it, maybe you can try docker.

@promeneur
Copy link
Author

Can i use this

sudo -E make -j4 iso_img TARGET_PRODUCT=cm_android_x86_64

@utzcoz
Copy link
Contributor

utzcoz commented Feb 25, 2021

Can i use this

sudo -E make -j4 iso_img TARGET_PRODUCT=cm_android_x86_64

Actually I don't recommend to use sudo to build system, because it will cause running problem, because generated files will get wrong user info. The docker is my recommendation for you.

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

No branches or pull requests

2 participants