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

Manjaro-arm support #182

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Conversation

Titaniumtown
Copy link

@Titaniumtown Titaniumtown commented May 27, 2020

Things I've done in this PR: implement manjaro-arm support

Manjaro-arm support: I've added manjaro-arm support. But I've hit a roadblock, there is no manjaro-tools-base or manjaro-arm-tools package on manjaro arm. When you run brl fetch manjaro that installs and uses the manjaro-tools-base package for installing packages into the new root directory.
Worst case scenerio, if I can't figure out how to do it, I can just install arch linux arm version of those packages (see https://wiki.manjaro.org/index.php?title=Manjaro-tools#Files) and do it that way.
Anyone know how I can proceed?

@Titaniumtown Titaniumtown changed the title manjaro-arm support Manjaro related updates and changes May 27, 2020
@Titaniumtown Titaniumtown changed the title Manjaro related updates and changes Manjaro-arm support May 27, 2020
@Titaniumtown
Copy link
Author

Bump, anyone know how I should proceed?

@Titaniumtown
Copy link
Author

Bump. Any tips?

@paradigm
Copy link
Member

Is this (a) an official ARM release of the "normal" Manjaro project or (b) an unofficial project not run by the Manjaro devs? If it's (a), we'll want to make it an extension of the existing Manjaro fetch code. If it's (b), you're correct here in making it an independent project.

But I've hit a roadblock, there is no manjaro-tools-base or manjaro-arm-tools package on manjaro arm. When you run brl fetch manjaro that installs and uses the manjaro-tools-base package for installing packages into the new root directory.

Note there are no Bedrock Manjaro maintainers. If you want to contribute something like this - and I absolutely encourage you to do so - you'll have to figure this part out yourself. Copy/pasting existing brl fetch code is easy; the interesting part is figuring out how to adapt it for the distro you're interested in.

The existing brl fetch manjaro code uses the double bootstrap strategy. We know Manjaro provides a basestrap binary which bootstraps a Manjaro install. Given this, what brl fetch manjaro does is first bootstrap basestrap, then have basestrap bootstrap the actual distro.

If Manjaro ARM provides basestrap, you'll want to figure out which package provides it. It could be a different package name from what Manjaro proper uses. You might also have to find unlisted dependencies; that happens sometimes.

If Manjaro ARM doesn't provide basestrap but does provide another tool which does the same general idea with different specifics (e.g. pacstrap), you'll want to its corresponding package. You might also have to find unlisted dependencies; that happens sometimes. You'll also need to adjust the later basestrap call accordingly.

If Manjaro ARM does not provide any such bootstrap tool, you may need to use another fetch strategy. It's not impossible no currently-in-use brl fetch works for Manjaro ARM and you'll have to develop another yourself.

Worst case scenerio, if I can't figure out how to do it, I can just install arch linux arm version of those packages (see https://wiki.manjaro.org/index.php?title=Manjaro-tools#Files) and do it that way.

I'm not sure if this fact is properly documented anywhere, but we don't allow this. Some concerns include:

  • I'm not sure if one distro's mirror would be upset we're using its bandwidth for another distro's purposes, and I don't want to risk it. Using Arch's mirror for Arch things seems reasonable, but using Arch's mirror for Manjaro things might make someone upset.
  • Bedrock tends to attract strongly opinionated users, and such a user might not want to run software from a given distro. If a user runs brl fetch manjaro-arm, he or she presumably trusts the Bedrock developers and Manjaro ARM developers but may hypothetically dislike or distrust the ALARM devs and not want their code running on their machine.

@Titaniumtown
Copy link
Author

Titaniumtown commented Jun 15, 2020

It's made by the same devs, but it's a seperate distro I believe. I will look into your other suggestions. thx for the feedback

@Titaniumtown
Copy link
Author

Btw, I don't really use manjaro myself, but I just wanted to add this. (btw I use arch)

@paradigm paradigm force-pushed the master branch 2 times, most recently from 4099fe1 to fc27745 Compare August 14, 2020 18:32
@parkerlreed
Copy link

parkerlreed commented Aug 18, 2020

arch-install-scripts is still available on Manjaro ARM https://mirror.clarkson.edu/manjaro/arm-stable/extra/aarch64/arch-install-scripts-23-2-any.pkg.tar.xz

What's the point in their replacement package?

basestrap is just a pacstrap rename. https://wiki.manjaro.org/index.php?title=Manjaro-tools#Files

pacstrap is in arch-install-scripts

@Titaniumtown
Copy link
Author

Oh, I didn't see that. Thanks!

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

Successfully merging this pull request may close these issues.

3 participants