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)
Sat, Dec 21, 1:15 PM
Unknown Object (File)
Sat, Dec 21, 10:31 AM
Unknown Object (File)
Wed, Dec 4, 12:06 PM
Unknown Object (File)
Nov 25 2024, 8:10 PM
Unknown Object (File)
Nov 4 2024, 9:00 AM
Unknown Object (File)
Oct 29 2024, 12:52 PM
Unknown Object (File)
Oct 15 2024, 9:16 PM
Unknown Object (File)
Oct 14 2024, 2:03 AM

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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43344
Build 40232: arc lint + arc unit

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.