Bug 1197378 - coreutils: add SUSE DIR_COLORS to package
Summary: coreutils: add SUSE DIR_COLORS to package
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Raymund Will
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-22 08:55 UTC by Ludwig Nussel
Modified: 2022-03-22 08:55 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ludwig Nussel 2022-03-22 08:55:30 UTC
aaa_base contains an /etc/DIR_COLORS (https://github.com/openSUSE/aaa_base/blob/master/files/etc/DIR_COLORS). It seems outdated, in the wrong location and in the wrong package anyway as ls is in coreutils :-)
Similarly https://github.com/openSUSE/aaa_base/blob/master/files/usr/etc/profile.d/ls.bash#L6 should move to coreutils. The aliases can stay in aaa_base so they work with busybox too.

So we could move /etc/DIR_COLORS from aaa_base to /usr/etc/DIR_COLORS in coreutils. Alternatively and even better would be to just fix the compiled in color table and not bother parsing an extra file by default. Looks like the SUSE change is mostly to remove the bold attribute from normal file types. So a patch should be easy. WDYT?