Page MenuHomeFreeBSD

pkgbase: Put more binaries/lib in runtime
ClosedPublic

Authored by manu on Dec 14 2021, 2:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 24, 3:33 PM
Unknown Object (File)
Mar 11 2024, 11:37 AM
Unknown Object (File)
Mar 11 2024, 11:37 AM
Unknown Object (File)
Mar 11 2024, 11:37 AM
Unknown Object (File)
Mar 11 2024, 11:37 AM
Unknown Object (File)
Mar 11 2024, 11:37 AM
Unknown Object (File)
Mar 8 2024, 12:31 AM
Unknown Object (File)
Feb 18 2024, 9:18 PM

Details

Summary

Move some needed binaries/libs from FreeBSD-utilities to FreeBSD_runtime.
This is everything needed to boot to multiuser with FreeBSD-rc installed.

MFC after: 2 weeks
Sponsored by: Beckhoff Automation GmbH & Co. KG

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Add libwrap and librpcsvc too.

Looks reasonable to me -- I suspect over time we might find a few more binaries that should be moved.

sbin/devd/Makefile
6

Spotted this one while looking at D33436

Aside, I'm contemplating moving libc++ to /lib in D33123 and then stop statically linking devd. libc++ is already in clibs.

sbin/devd/Makefile
6

One more reason to put devd in runtime then :)

Add service, env and find.

Those are the last one needed by /etc/rc.d/*

I'd like to see if tools/boot/ci-qemu-test.sh still works with this change (either by running it in your working tree, or by pushing this change to GitHub and letting Cirrus-CI build and run it). It uses QEMU's on-the-fly FAT fs synthesis to build a root filesystem, and has a limited size. This change shouldn't make runtime too much bigger so I don't expect it to fail but would like to confirm. If necessary we could build a UFS image for the smoke test instead.

Once this lands I'll extend ci-qemu-test.sh to perform a multiuser smoke test boot (instead of the current single user mode it does now).

I'd like to see if tools/boot/ci-qemu-test.sh still works with this change (either by running it in your working tree, or by pushing this change to GitHub and letting Cirrus-CI build and run it). It uses QEMU's on-the-fly FAT fs synthesis to build a root filesystem, and has a limited size. This change shouldn't make runtime too much bigger so I don't expect it to fail but would like to confirm. If necessary we could build a UFS image for the smoke test instead.

Once this lands I'll extend ci-qemu-test.sh to perform a multiuser smoke test boot (instead of the current single user mode it does now).

Smoke test succeeded : https://cirrus-ci.com/task/6144589126959104

This revision was not accepted when it landed; it landed in state Needs Review.Dec 21 2021, 9:18 AM
This revision was automatically updated to reflect the committed changes.