summaryrefslogtreecommitdiff
path: root/repo/xi
diff options
context:
space:
mode:
Diffstat (limited to 'repo/xi')
-rw-r--r--repo/xi/sysconfigs.xibuild182
1 files changed, 87 insertions, 95 deletions
diff --git a/repo/xi/sysconfigs.xibuild b/repo/xi/sysconfigs.xibuild
index 92acddb..1dadea9 100644
--- a/repo/xi/sysconfigs.xibuild
+++ b/repo/xi/sysconfigs.xibuild
@@ -9,94 +9,95 @@ DESC="Default system configs for xilinux"
package () {
mkdir -p $PKG_DEST/etc/
mkdir -p $PKG_DEST/etc/sysconfig
- cat > $PKG_DEST/etc/sysconfig/rc.site << "EOF"
-# rc.site
-# Distro Information
-DISTRO="xilinux" # The distro name
-DISTRO_CONTACT="xi@davidovski.xyz" # Bug report address
-DISTRO_MINI="xi" # Short name used in filenames for distro config
-
-# Define custom colors used in messages printed to the screen
-
-# Please consult `man console_codes` for more information
-# under the "ECMA-48 Set Graphics Rendition" section
+# cat > $PKG_DEST/etc/sysconfig/rc.site << "EOF"
+## rc.site
+#
+## Distro Information
+#DISTRO="xilinux" # The distro name
+#DISTRO_CONTACT="xi@davidovski.xyz" # Bug report address
+#DISTRO_MINI="xi" # Short name used in filenames for distro config
+#
+## Define custom colors used in messages printed to the screen
+#
+## Please consult `man console_codes` for more information
+## under the "ECMA-48 Set Graphics Rendition" section
+##
+## Warning: when switching from a 8bit to a 9bit font,
+## the linux console will reinterpret the bold (1;) to
+## the top 256 glyphs of the 9bit font. This does
+## not affect framebuffer consoles
+#
+#BRACKET="\\033[1;34m" # Blue
+#FAILURE="\\033[1;31m" # Red
+#INFO="\\033[1;36m" # Cyan
+#NORMAL="\\033[0;39m" # Grey
+#SUCCESS="\\033[1;32m" # Green
+#WARNING="\\033[1;33m" # Yellow
+#
+## Use a colored prefix
+#BMPREFIX=" "
+#SUCCESS_PREFIX="${SUCCESS} * ${NORMAL} "
+#FAILURE_PREFIX="${FAILURE}*****${NORMAL} "
+#WARNING_PREFIX="${WARNING} *** ${NORMAL} "
+#
+## Manually seet the right edge of message output (characters)
+## Useful when resetting console font during boot to override
+## automatic screen width detection
+##COLUMNS=120
+#
+## Interactive startup
+##IPROMPT="yes" # Whether to display the interactive boot prompt
+##itime="3" # The amount of time (in seconds) to display the prompt
+#
+## The total length of the distro welcome string, without escape codes
+#wlen=$(echo "Welcome to ${DISTRO}" | wc -c )
+#welcome_message="Welcome to ${INFO}${DISTRO}${NORMAL}"
+#
+## The total length of the interactive string, without escape codes
+##ilen=$(echo "Press 'I' to enter interactive startup" | wc -c )
+##i_message="Press '${FAILURE}I${NORMAL}' to enter interactive startup"
+#
+## Set scripts to skip the file system check on reboot
+##FASTBOOT=yes
+#
+## Skip reading from the console
+##HEADLESS=yes
+#
+## Write out fsck progress if yes
+##VERBOSE_FSCK=no
+#
+## Speed up boot without waiting for settle in udev
+##OMIT_UDEV_SETTLE=y
+#
+## Speed up boot without waiting for settle in udev_retry
+##OMIT_UDEV_RETRY_SETTLE=yes
+#
+## Skip cleaning /tmp if yes
+##SKIPTMPCLEAN=no
+#
+## For setclock
+#UTC=1
+##CLOCKPARAMS=
+#
+## For consolelog (Note that the default, 7=debug, is noisy)
+##LOGLEVEL=7
+#
+## For network
+#HOSTNAME=xi
+#
+## Delay between TERM and KILL signals at shutdown
+##KILLDELAY=3
+#
+## Optional sysklogd parameters
+#SYSKLOGD_PARMS="-m 0"
+#
+## Console parameters
+#UNICODE=1
+#KEYMAP="us"
+#FONT="lat0-16 -m 8859-15"
+#EOF
#
-# Warning: when switching from a 8bit to a 9bit font,
-# the linux console will reinterpret the bold (1;) to
-# the top 256 glyphs of the 9bit font. This does
-# not affect framebuffer consoles
-
-BRACKET="\\033[1;34m" # Blue
-FAILURE="\\033[1;31m" # Red
-INFO="\\033[1;36m" # Cyan
-NORMAL="\\033[0;39m" # Grey
-SUCCESS="\\033[1;32m" # Green
-WARNING="\\033[1;33m" # Yellow
-
-# Use a colored prefix
-BMPREFIX=" "
-SUCCESS_PREFIX="${SUCCESS} * ${NORMAL} "
-FAILURE_PREFIX="${FAILURE}*****${NORMAL} "
-WARNING_PREFIX="${WARNING} *** ${NORMAL} "
-
-# Manually seet the right edge of message output (characters)
-# Useful when resetting console font during boot to override
-# automatic screen width detection
-#COLUMNS=120
-
-# Interactive startup
-#IPROMPT="yes" # Whether to display the interactive boot prompt
-#itime="3" # The amount of time (in seconds) to display the prompt
-
-# The total length of the distro welcome string, without escape codes
-wlen=$(echo "Welcome to ${DISTRO}" | wc -c )
-welcome_message="Welcome to ${INFO}${DISTRO}${NORMAL}"
-
-# The total length of the interactive string, without escape codes
-#ilen=$(echo "Press 'I' to enter interactive startup" | wc -c )
-#i_message="Press '${FAILURE}I${NORMAL}' to enter interactive startup"
-
-# Set scripts to skip the file system check on reboot
-#FASTBOOT=yes
-
-# Skip reading from the console
-#HEADLESS=yes
-
-# Write out fsck progress if yes
-#VERBOSE_FSCK=no
-
-# Speed up boot without waiting for settle in udev
-#OMIT_UDEV_SETTLE=y
-
-# Speed up boot without waiting for settle in udev_retry
-#OMIT_UDEV_RETRY_SETTLE=yes
-
-# Skip cleaning /tmp if yes
-#SKIPTMPCLEAN=no
-
-# For setclock
-UTC=1
-#CLOCKPARAMS=
-
-# For consolelog (Note that the default, 7=debug, is noisy)
-#LOGLEVEL=7
-
-# For network
-HOSTNAME=xi
-
-# Delay between TERM and KILL signals at shutdown
-#KILLDELAY=3
-
-# Optional sysklogd parameters
-SYSKLOGD_PARMS="-m 0"
-
-# Console parameters
-UNICODE=1
-KEYMAP="us"
-FONT="lat0-16 -m 8859-15"
-EOF
-
cat > $PKG_DEST/etc/profile << "EOF"
@@ -165,13 +166,6 @@ EOF
cat > $PKG_DEST/etc/lsb-release << "EOF"
LSB_VERSION=1.4
-DISTRIB_ID="xilinux"
-DISTRIB_RELEASE=rolling
-DISTRIB_DESCRIPTION="Xi Linux"
-EOF
-
- cat > $PKG_DEST/etc/lsb-release << "EOF"
-LSB_VERSION=1.4
DISTRIB_ID=xi
DISTRIB_RELEASE=rolling
DISTRIB_DESCRIPTION="XiLinux"
@@ -187,8 +181,6 @@ DOCUMENTATION_URL="https://xi.davidovski.xyz"
SUPPORT_URL="https://xi.davidovski.xyz"
BUG_REPORT_URL="https://xi.davidovski.xyz"
LOGO=xilinux-logo
-
EOF
-
}