-
Notifications
You must be signed in to change notification settings - Fork 26
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
Can't make image (Re-reading the partition table failed) #84
Comments
I don’t think the partition table error message is the problem. Rather, you don’t have the systemd-firstboot program, presumably because you have no distri packages in your build directory yet. You’ll need to download the packages (or at least base packages) of a distri release. Maybe https://www.freelists.org/post/distri/Setting-up-development-environment-for-packaging,1 provides some useful hints. I can follow up with a more detailed explanation / document when time permits, in case you can’t get it fixed yourself. |
@stapelberg I couldn't really extract any information from the provided link. I'm a little confused with what you mean by the distri packages in my build directory. Which packages are those, and where I can get them? I'm assuming those are built packages. Would it be easier to use the Docker image to build distri itself? |
As an extra note, I've very interested in the ideas (I was planning on making my own distribution with a lot of the same ideas like images for packages, read-only packages, and shared directories). If I can get distri working for myself, I'd likely start contributing and trying to make it into a semi-useful distribution. I think there's a lot of potential in these ideas! |
Yes. Here’s an example session showing you how to rebuild an individual package in docker:
I haven’t tried building all of distri in docker, so perhaps there are other stumbling blocks. But this should illustrate which files need to be where. When building outside of docker, the steps are similar, but instead of just installing+copying select packages from /roimg, you’ll need to download them from our mirror. I recommend downloading all packages (7 GB download!) instead of just the ones you need, because it’s simpler:
The second step is to restore the symlinks which are turned into regular files when downloading with wget. Medium term, we should automatically fetch the required packages when building. We already have most of the features needed for this, just not arranged in the correct way :) |
Trying to build a distri image from a fresh clone.
Steps:
git clone ...
cd ...
make
make image
Output:
I could not find any build instructions anywhere. This is definitely something that should be written.
The text was updated successfully, but these errors were encountered: