-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Buildroot 2020.02 #8187
Buildroot 2020.02 #8187
Conversation
With binutils 2.32 and gcc 9 as per newer defaults Systemd requires SSP, and some legacy options gone
ERROR: Multiple producers for Ninja target "ctags".
Need to have DRM_TTM support in the kernel as well
This caused the go-depending packages to be skipped
The go bootstrap procedure will try to find a "go.mod" in any parent directory of the current (build) directory. So eventually it will find the minikube go.mod (modules), and then choke because the bootstrap_go doesn't have HTTP. go: cloud.google.com/go@v0.45.1: no http in bootstrap go command Create an empty module file, just to keep it from hurting itself. It doesn't seem to be used anyway, so add anything. This is similar to the packages trying to find a git repository only to end up looking at buildroot's git repository instead. Except that this problem is even more silly (and fatal) than it.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: afbjorklund The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Yup, seems like something went horribly wrong in the init. It's where we copy the contents of the rootfs to the tmpfs: #!/bin/sh
mkdir /sysroot
# the value 90% borrowed from tcl via boot2docker
mount -t tmpfs -o size=90% tmpfs /sysroot
# copy from rootfs, to be able to do switch_root(8)
tar -C / --exclude=sysroot -cf - . | tar -C /sysroot/ -xf -
And then, because of that, it dies in the final step: exec /sbin/switch_root /sysroot /sbin/init "$@"
|
Codecov Report
@@ Coverage Diff @@
## master #8187 +/- ##
==========================================
- Coverage 35.27% 35.27% -0.01%
==========================================
Files 146 146
Lines 9326 9327 +1
==========================================
Hits 3290 3290
- Misses 5637 5638 +1
Partials 399 399
|
But the actual So it must be something else that is different, most likely it's the kernel version ? |
We need it during boot, for doing switch_root
The package was upgraded from 7.9p1 to 8.1p1, maybe something happened to it. |
The other library was having segmentation faults
Well, ssh starts now. But unfortunately we don't have any network (besides lo)
Apparently |
Otherwise we don't get any network devices
Good, now
|
Well, it's always the little things.. No DNS, and other parts missing.
But beyond those, it looks happy enough! Will continue with it later.
|
The missing /etc/resolv.conf was for the same root cause as ssh. Systemd didn't like LibreSSL, and I hadn't rebuilt everything...
It requires the libraries to be built with
And the missing access of k8s.gcr.io was for a different reason:
|
@medyagh : was there a way to share these "snapshot" ISO, or to make the PR build it ? |
Probably should try to get upstream to upgrade sysdig, rather than patching the old version. I don't really know what we are using it for in minikube, but it was enabled in the old config... |
hm... there should be a way to at leasst have the ISO URL for manual testing |
The good news is that it actually compiles (at last)
179M out/minikube.iso
The bad news is that it doesn't boot, but hangs...
The upstream Buildroot 2020.02.x works just fine, so this is something in minikube config.
Possibly related to the initial file systems, like the initrd (rootfs) or the sysroot (tmpfs) ?
For #7904