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

Does building require Arch-linux usage? #47

Closed
abderraouf-adjal opened this issue Apr 4, 2022 · 4 comments
Closed

Does building require Arch-linux usage? #47

abderraouf-adjal opened this issue Apr 4, 2022 · 4 comments

Comments

@abderraouf-adjal
Copy link

Hi,

I'm trying to build the 1.9GB full-binary in Fedora 35.
After running create-arch-bootstrap.sh then create-conty.sh, I got a 170MB conty.sh.

Does the script require running it under Arch-linux?

@Kron4ek
Copy link
Owner

Kron4ek commented Apr 5, 2022

Hi,

No, Arch Linux as a host system is not required, the scripts should work on any distro. I'll try to figure out why they do not work on Fedora.

For now you can remove clear from the end of the scripts and see what errors they give.

@Kron4ek
Copy link
Owner

Kron4ek commented Apr 5, 2022

I found and fixed the problem, it was not Fedora-specific. One package has been removed from the Arch repo so the create-arch-bootstrap.sh script wasn't able to install it and skipped all other packages too.

Reclone the repo and try again with the updated script, should work now.

@abderraouf-adjal
Copy link
Author

I can confirm that 616f7c9 did fix the issue.
However when I run ./create-conty.sh I see a warning: Unrecognised xattr prefix system.posix_acl_default.
Is that issue concerning?

$ sudo ./create-conty.sh 

Creating Conty...

Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on /mnt/x/Conty-616f7c9/image, block size 262144.
[\                                                                                                                                                 ]    334/142835   0%
Unrecognised xattr prefix system.posix_acl_default
[-                                                                                                                                                 ]    497/142835   0%
^C
cat: /mnt/x/Conty-616f7c9/image: No such file or directory
Conty created and ready to use!

@Kron4ek
Copy link
Owner

Kron4ek commented Apr 5, 2022

I see a warning: Unrecognised xattr prefix system.posix_acl_default. Is that issue concerning?

That is ok, you can just ignore this warning. There are also some other errors from mksquashfs, but they are harmless too.

By the way, sudo is not needed for create-conty.sh, it is only needed for create-arch-bootstrap.sh.

@Kron4ek Kron4ek closed this as completed Apr 19, 2022
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