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

brl fetch Support for Artix is Broken #314

Open
christmaswreath opened this issue Feb 2, 2025 · 1 comment
Open

brl fetch Support for Artix is Broken #314

christmaswreath opened this issue Feb 2, 2025 · 1 comment

Comments

@christmaswreath
Copy link

When running sudo brl fetch artix it returns

ERROR: Unexpected error occured.
This is commonly due to distro mirror layout changes breaking `brl fetch`. Possible solutions:

you get the idea. It's experimental but nevertheless it's still supposed to work in some capacity.

@paradigm
Copy link
Member

paradigm commented Feb 4, 2025

brl fetch breaks occasionally as upstream distros make changes. You should be able to always use brl import as a (less convenient) fall back.

That said, I do have a fix here. With root permissions in your preferred text editor, open up /bedrock/share/brl-fetch/distros/artix and find this section:

	mkdir -p "${target_dir}/etc"
	cp -a "/etc/passwd" "${target_dir}/etc/passwd"
	cp -a "/etc/group" "${target_dir}/etc/group"

We'll want to make a copy of that and change target_dir to bootstrap_dir so the section looks like

	mkdir -p "${target_dir}/etc"
	cp -a "/etc/passwd" "${target_dir}/etc/passwd"
	cp -a "/etc/group" "${target_dir}/etc/group"
	mkdir -p "${bootstrap_dir}/etc"
	cp -a "/etc/passwd" "${bootstrap_dir}/etc/passwd"
	cp -a "/etc/group" "${bootstrap_dir}/etc/group"

after that it should work again.

I unfortunately had a drive die and need to rebuild some things to prep the next releases, but I'll try to get this into the next beta and following stable release once I've caught up.

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