Skip to content

Busybox #101

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

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Busybox #101

wants to merge 13 commits into from

Conversation

sixtyfourktec
Copy link
Contributor

No description provided.

@sixtyfourktec sixtyfourktec force-pushed the busybox branch 2 times, most recently from c9c7fa7 to b2e352c Compare June 20, 2025 07:07
Don't try to make modifications to base files if the user didn't
expressed its indent to do so. This removes the defaults of those
options.
This creates a basic Linux directory/files setup using the merged /usr
approach.
Add more options on how the config is gathered. Bring this in line with
e.g. the linux kernel, where you could specify a custom package with a
defconfig or a busybox defconfig or the standard defconfig.

Note, the creation of debugging symbols now depends on the
BASEMENT_DEBUG variable. If set, the CONFIG_DEBUG option is set
automatically.

Also only regenerate the .config if the source config has changed.
Also switch to explicit "if" statements, because otherwise we may miss
some errors.
If udhcpc is enabled add a default script which does a basic config.
If the inittab feature is enabled, add a default one.
If enabled put some default init scripts into /etc/init.d.
Add a global config for the init system in use. Here we start with
sysvinit compatible init scripts for busybox.
Also add a minimal /etc/network/interfaces file, so that ifupdown is
happy when started.
Copy link
Member

@jkloetzke jkloetzke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering what the full enumeration of the allowed CONFIG_INIT values looks like. Obviously, it is at least sysvinit and systemd. I vaguely remember that we discussed that there might be differences between busybox and "full" sysv-init. Would it make sense to allow something like sysvinit/sysv and sysvinit/busybox and match in the recipes to sysvinit/*?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is apparently from buildroot which is licensed under GPLv2+. I think we should properly attribute this by adding a line or two to state where the file is coming from and under which license it is.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, this file is from buildroot. Please add some copyright header.

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.

2 participants