Skip to content

SPECS: Add dash - #969

Open
woqidaideshi wants to merge 1 commit into
openRuyi-Project:mainfrom
woqidaideshi:dash
Open

SPECS: Add dash#969
woqidaideshi wants to merge 1 commit into
openRuyi-Project:mainfrom
woqidaideshi:dash

Conversation

@woqidaideshi

@woqidaideshi woqidaideshi commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

openRuyi currently does not provide a dash package, and /bin/sh is symlinked to /bin/bash. In contrast, Debian and Ubuntu have used dash as the default /bin/sh, because dash is a minimal, strictly POSIX-compliant shell designed for speed and low resource consumption.

Packaging dash does not change the default /bin/sh symlink. It simply makes dash available as an option via dnf install dash. Users who wish to benchmark or build with /bin/sh -> dash can explicitly reconfigure the symlink themselves.

Related Issue

  • Resolves #

Checklist

Assisted-by:

Signed-off-by: Yafen Fang <yafen@iscas.ac.cn>
@openruyi-bot openruyi-bot Bot added BuildSystem: autotools Issue/PR related to autotools BuildSystem. Target: Rolling Targeting rolling/current branch. Workflow: Ready For Review Ready for review by anyone with domain expertise. labels Jul 20, 2026
@misaka00251

Copy link
Copy Markdown
Member

Why do we need dash?

@openruyi-bot openruyi-bot Bot added Workflow: In Review Issues that are undergoing code review and/or undergoing design review. and removed Workflow: Ready For Review Ready for review by anyone with domain expertise. labels Jul 20, 2026
@woqidaideshi

Copy link
Copy Markdown
Contributor Author

Why do we need dash?
@misaka00251

As described, linking /bin/sh to dash can improve scores in certain system performance benchmarks. The primary reason for providing dash is to facilitate performance testing and comparisons with other mainstream operating systems, which helps in identifying performance bottlenecks in openRuyi. Additionally, openRuyi does not install dash by default; it is simply provided as an optional choice for users who need it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BuildSystem: autotools Issue/PR related to autotools BuildSystem. Target: Rolling Targeting rolling/current branch. Workflow: In Review Issues that are undergoing code review and/or undergoing design review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants