Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • aports aports
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 737
    • Issues 737
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 330
    • Merge requests 330
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • aportsaports
  • Merge requests
  • !25054

main/busybox: build dynamic busybox with utmps

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jakub Jirutka requested to merge jirutka/aports:busybox-utmps into master Sep 06, 2021
  • Overview 25
  • Commits 1
  • Pipelines 6
  • Changes 5

Enable support for utmp and wtmp in certain busybox applets (e.g. login, su) and add who(1) and last(1) applets. This adds +8 kiB on x86_64.

libutmps and libskarnet (dependency of libutmps) are linked statically - it's much more space efficient than linking them dynamically (EDIT: and I really don’t wanna add dynamic dependencies to busybox, the very core system component, that currently depends on libc only).

libutmps is just a client library for utmps - one needs utmps-utmpd and utmps-wtmpd daemons running to get the user accounting actually work. However, it's completely optional, i.e. users don't have to install utmps to use busybox as before.

/cc @dbradley

EDIT: I’ve consulted it with @skarnet and he said that this MR is correct and shouldn’t break anything.

Edited Sep 07, 2021 by Jakub Jirutka
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: busybox-utmps