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

Determine a core and core-dev group as foundational packages #128

Closed
jhuntwork opened this issue Apr 6, 2021 · 1 comment · Fixed by #213
Closed

Determine a core and core-dev group as foundational packages #128

jhuntwork opened this issue Apr 6, 2021 · 1 comment · Fixed by #213

Comments

@jhuntwork
Copy link
Owner

These two groups will be essential packages for building, installing and running a minimal Mere system. There is already the build-essential meta package, but I think core-dev might include some other non-essential ones like autotools, possibly perl and python.

This will drive finishing up what should mark the first pass of reviewing the current stable repo.

@jhuntwork jhuntwork self-assigned this Apr 6, 2021
jhuntwork added a commit that referenced this issue Apr 8, 2021
jhuntwork added a commit that referenced this issue Apr 8, 2021
jhuntwork added a commit that referenced this issue Apr 8, 2021
jhuntwork added a commit that referenced this issue Apr 8, 2021
Also add /bin/sh to /etc/shells

Related to #128
jhuntwork added a commit that referenced this issue Apr 8, 2021
jhuntwork added a commit that referenced this issue Apr 8, 2021
jhuntwork added a commit that referenced this issue Apr 8, 2021
jhuntwork added a commit that referenced this issue Apr 8, 2021
jhuntwork added a commit that referenced this issue Apr 8, 2021
Also:

- Use pretty lsmod output
- Add support for module blacklists
- Improve udhcpc script: use CIDR mask and add metrics to default routes

Related to #128
jhuntwork added a commit that referenced this issue Apr 9, 2021
jhuntwork added a commit that referenced this issue Apr 9, 2021
jhuntwork added a commit that referenced this issue Apr 9, 2021
Also:

- Use /usr for prefix
- Remove from any groups - Related to #128
- Set provides for lib dependencies
This was referenced Apr 9, 2021
jhuntwork added a commit that referenced this issue Apr 9, 2021
- Switch to /usr prefix (keep /bin dir for binaries)
- Add to new core group; Related to #128
- Update dependencies.sh to detect library names instead of package
  names
- Update makepkg.conf to use /usr for dirs and /usr/bin/curl for pkg
  fetching
jhuntwork added a commit that referenced this issue Apr 9, 2021
jhuntwork added a commit that referenced this issue Apr 9, 2021
jhuntwork added a commit that referenced this issue Apr 9, 2021
jhuntwork added a commit that referenced this issue Apr 9, 2021
jhuntwork added a commit that referenced this issue Apr 9, 2021
jhuntwork added a commit that referenced this issue Apr 9, 2021
- Remove from any groups; Related to #128
- Use /usr for prefix
- Add lib provides
jhuntwork added a commit that referenced this issue Apr 9, 2021
jhuntwork added a commit that referenced this issue Apr 9, 2021
jhuntwork added a commit that referenced this issue Apr 9, 2021
- Remove from any groups; Related to #128
- Set prefix to /usr
- Define library provides
jhuntwork added a commit that referenced this issue Apr 9, 2021
- Use openssl instead of libressl
- Remove any groups for now; Related to #128
- Set prefix to /usr
jhuntwork added a commit that referenced this issue Aug 18, 2021
Also:

- Add package to core group. Refs #128
@jhuntwork
Copy link
Owner Author

jhuntwork commented Aug 19, 2021

After reviewing this, I think 'core' should be the minimum required for a minimum mere installation to be reasonably functional. This list will probably grow, but for the moment that is:

  • base-layout
  • busybox
  • mksh
  • pacman
  • s6

Some of these might bring in dependencies. For example, s6 depends on execline. However, on its own execline isn't considered core. And as mentioned, for greater functionality, other packages may be added in over time, like e2fsprogs or curl and ca-certs. Much of those will depend on how much functionality is desired for a basic system. Also very soon, to finish up #164, mdevd will either be added to the core group or made a dependency of s6. Probably the latter.

core-dev should be able to just replace build-essential:

  • linux-headers
  • llvm
  • m4
  • make
  • musl-dev
  • patch
  • pkgconf

I'm not including pacman-build in the above, because while that's needed for building pacman packages, it isn't needed for compiling generic C/C++ code from source.

Everything else in the repo for now should be present because of a dependency in building the above or because the package was useful in initial tests on bare metal. This will get us closer to closing this out and cleaning up the stable repo by promoting testing.

jhuntwork added a commit that referenced this issue Aug 19, 2021
This was referenced Aug 19, 2021
Prepare existing supported packages for promotion to stable automation moved this from In progress to Done Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant