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

[Question] How do you extract the root filesystem of a distro to use in wsldl? #97

Closed
ghost opened this issue Jun 25, 2021 · 5 comments
Closed

Comments

@ghost
Copy link

ghost commented Jun 25, 2021

The docs say you have to place the compressed root filesystem(rootfs.tar.gz) in the same repository as wsldl, but how do you get the rootfs.tar.gz in the first place?(I have absolutely no knowledge of what a rootfs contains, so I'm sorry if this is a stupid question.)

@locobastos
Copy link

Hello, which Linux distribution are you looking for ?
Some vendors provide rootfs files.

@ghost
Copy link
Author

ghost commented Jun 25, 2021

I'm not specifying any distro and was looking for a universal solution to my question.

@yuk7
Copy link
Owner

yuk7 commented Jun 25, 2021

Compress root directory to tar.gz
e.g.
https://github.com/yuk7/AlpineWSL/blob/master/Makefile#L35

@ghost
Copy link
Author

ghost commented Jun 25, 2021

How about distros that don't give you the rootfs? Should I compress / from a clean installation by myself?

@yuk7
Copy link
Owner

yuk7 commented Jun 25, 2021

yes.

@ghost ghost closed this as completed Jun 26, 2021
This issue was closed.
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