fix: Switch to space-separated sources.conf format
- Change from colon to space separation to avoid URL parsing issues - Update sources.conf format: TYPE NAME URL VERSION BUILD_FUNCTION [EXTRA] - Implement awk-based parsing for reliable field extraction - Fix firmware package list (remove unavailable linux-firmware-marvell)
This commit is contained in:
3
initramfs/etc/profile.d/20locale.sh
Normal file
3
initramfs/etc/profile.d/20locale.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
export CHARSET=${CHARSET:-UTF-8}
|
||||
export LANG=${LANG:-C.UTF-8}
|
||||
export LC_COLLATE=${LC_COLLATE:-C}
|
||||
6
initramfs/etc/profile.d/README
Normal file
6
initramfs/etc/profile.d/README
Normal file
@@ -0,0 +1,6 @@
|
||||
This directory should contain shell scripts configuring system-wide
|
||||
environment on users' shells.
|
||||
|
||||
Files with the .sh extension found in this directory are evaluated by
|
||||
Bourne-compatible shells (like ash, bash or zsh) when started as a
|
||||
login shell.
|
||||
17
initramfs/etc/profile.d/color_prompt.sh.disabled
Normal file
17
initramfs/etc/profile.d/color_prompt.sh.disabled
Normal file
@@ -0,0 +1,17 @@
|
||||
# Setup a red prompt for root and a green one for users.
|
||||
# Symlink this file to color_prompt.sh to actually enable it.
|
||||
|
||||
_normal=$'\e[0m'
|
||||
if [ "$USER" = root ]; then
|
||||
_color=$'\e[1;31m'
|
||||
_symbol='#'
|
||||
else
|
||||
_color=$'\e[1;32m'
|
||||
_symbol='$'
|
||||
fi
|
||||
if [ -n "$ZSH_VERSION" ]; then
|
||||
PS1="%{$_color%}%m [%{$_normal%}%~%{$_color%}]$_symbol %{$_normal%}"
|
||||
else
|
||||
PS1="\[$_color\]\h [\[$_normal\]\w\[$_color\]]$_symbol \[$_normal\]"
|
||||
fi
|
||||
unset _normal _color _symbol
|
||||
Reference in New Issue
Block a user