Skip to content

Commit f30bbaa

Browse files
committed
New container: neofetch
Signed-off-by: Joachim Wiberg <[email protected]>
1 parent d66a03a commit f30bbaa

File tree

4 files changed

+105
-1
lines changed

4 files changed

+105
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
contents: write
1616
strategy:
1717
matrix:
18-
app: [system, httpd, ntpd, nftables]
18+
app: [system, httpd, ntpd, nftables, neofetch]
1919
uses: ./.github/workflows/build-push.yml
2020
with:
2121
app: ${{ matrix.app }}

board/neofetch/busybox_defconfig

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
#
2+
# Minimal BusyBox configuration for neofetch
3+
# Only includes essential applets needed for neofetch to function
4+
#
5+
CONFIG_HAVE_DOT_CONFIG=y
6+
7+
#
8+
# Settings
9+
#
10+
CONFIG_LONG_OPTS=y
11+
CONFIG_BUSYBOX=y
12+
CONFIG_FEATURE_INSTALLER=y
13+
CONFIG_STATIC=y
14+
15+
#
16+
# Shell - Required for neofetch script execution
17+
#
18+
CONFIG_ASH=y
19+
CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
20+
CONFIG_SH_IS_ASH=y
21+
CONFIG_BASH_IS_NONE=y
22+
23+
#
24+
# Essential utilities for neofetch system information gathering
25+
#
26+
CONFIG_UNAME=y # Kernel/system info
27+
CONFIG_CAT=y # Read files from /proc, /sys
28+
CONFIG_GREP=y # Pattern matching
29+
CONFIG_CUT=y # Field extraction
30+
CONFIG_AWK=y # Text processing
31+
CONFIG_SED=y # Text processing
32+
CONFIG_HEAD=y # File content
33+
CONFIG_TR=y # Character translation
34+
CONFIG_PRINTF=y # Output formatting
35+
CONFIG_PS=y # Process information
36+
CONFIG_READLINK=y # Link resolution
37+
CONFIG_BASENAME=y # Path manipulation
38+
CONFIG_DIRNAME=y # Path manipulation
39+
40+
#
41+
# Disable all non-essential applets
42+
#
43+
# CONFIG_DESKTOP is not set
44+
# CONFIG_EXTRA_COMPAT is not set
45+
# CONFIG_INCLUDE_SUSv2 is not set
46+
# CONFIG_SHOW_USAGE is not set
47+
# CONFIG_FEATURE_VERBOSE_USAGE is not set
48+
# CONFIG_LFS is not set
49+
# CONFIG_PAM is not set
50+
51+
# All network utilities disabled
52+
# All text editors disabled
53+
# All system services disabled
54+
# All archive utilities disabled
55+
# All filesystem utilities disabled (except basic file ops)

configs/neofetch_amd64_defconfig

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
BR2_x86_64=y
2+
BR2_TOOLCHAIN_EXTERNAL=y
3+
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_UCLIBC_STABLE=y
4+
BR2_DL_DIR="${BR2_EXTERNAL_CURIOS_PATH}/dl"
5+
BR2_CCACHE=y
6+
BR2_CCACHE_DIR="${BR2_EXTERNAL_CURIOS_PATH}/.ccache"
7+
BR2_STATIC_LIBS=y
8+
BR2_TARGET_GENERIC_HOSTNAME="curiOS"
9+
BR2_TARGET_GENERIC_ISSUE="Welcome to curiOS"
10+
BR2_INIT_NONE=y
11+
# BR2_TARGET_GENERIC_GETTY is not set
12+
# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set
13+
BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_CURIOS_PATH)/board/neofetch/rootfs"
14+
BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_CURIOS_PATH)/board/common/post-build.sh"
15+
BR2_PACKAGE_BUSYBOX_CONFIG="${BR2_EXTERNAL_CURIOS_PATH}/board/neofetch/busybox_defconfig"
16+
# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
17+
BR2_PACKAGE_TINI=y
18+
BR2_PACKAGE_NEOFETCH=y
19+
BR2_TARGET_ROOTFS_OCI=y
20+
BR2_TARGET_ROOTFS_OCI_AUTHOR="curiOS"
21+
BR2_TARGET_ROOTFS_OCI_TAG="edge"
22+
BR2_TARGET_ROOTFS_OCI_ENTRYPOINT="/usr/bin/tini --"
23+
BR2_TARGET_ROOTFS_OCI_CMD="/usr/bin/neofetch"
24+
BR2_TARGET_ROOTFS_OCI_LABELS=".url=https://github.com/kernelkit/curiOS .title=curiOS-neofetch"

configs/neofetch_arm64_defconfig

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
BR2_aarch64=y
2+
BR2_TOOLCHAIN_EXTERNAL=y
3+
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
4+
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_UCLIBC_STABLE=y
5+
BR2_DL_DIR="${BR2_EXTERNAL_CURIOS_PATH}/dl"
6+
BR2_CCACHE=y
7+
BR2_CCACHE_DIR="${BR2_EXTERNAL_CURIOS_PATH}/.ccache"
8+
BR2_STATIC_LIBS=y
9+
BR2_TARGET_GENERIC_HOSTNAME="curiOS"
10+
BR2_TARGET_GENERIC_ISSUE="Welcome to curiOS"
11+
BR2_INIT_NONE=y
12+
# BR2_TARGET_GENERIC_GETTY is not set
13+
# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set
14+
BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_CURIOS_PATH)/board/neofetch/rootfs"
15+
BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_CURIOS_PATH)/board/common/post-build.sh"
16+
BR2_PACKAGE_BUSYBOX_CONFIG="${BR2_EXTERNAL_CURIOS_PATH}/board/neofetch/busybox_defconfig"
17+
# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
18+
BR2_PACKAGE_TINI=y
19+
BR2_PACKAGE_NEOFETCH=y
20+
BR2_TARGET_ROOTFS_OCI=y
21+
BR2_TARGET_ROOTFS_OCI_AUTHOR="curiOS"
22+
BR2_TARGET_ROOTFS_OCI_TAG="edge"
23+
BR2_TARGET_ROOTFS_OCI_ENTRYPOINT="/usr/bin/tini --"
24+
BR2_TARGET_ROOTFS_OCI_CMD="/usr/bin/neofetch"
25+
BR2_TARGET_ROOTFS_OCI_LABELS=".url=https://github.com/kernelkit/curiOS .title=curiOS-neofetch"

0 commit comments

Comments
 (0)