From e46ffd25b1ab678b9770be5bca8027e9187616d9 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 14 Jan 2012 00:09:22 -0500 Subject: Add notes about BusyBox configuration. --- diff --git a/busybox-notes.txt b/busybox-notes.txt new file mode 100644 index 0000000..669645d --- /dev/null +++ b/busybox-notes.txt @@ -0,0 +1,56 @@ +Revisit these options: + CONFIG_FEATURE_INSTALLER + would users really need this? + space difference looks negligible + CONFIG_LOCALE_SUPPORT + space difference looks negligible in code + time difference probably negligible: + most changes add setlocale() or change strcmp() to strcoll() + CONFIG_UNICODE_* + CONFIG_FEATURE_SUID_CONFIG + might be useful for tuning security settings (like sudo) + CONFIG_FEATURE_SYSTEMD + CONFIG_FEATURE_ETC_NETWORKS + CONFIG_FEATURE_EDITING_VI + code added in libbb/lineedit.c looks non-negligible + required by POSIX.1 XCU + CONFIG_FEATURE_EDITING_SAVEHISTORY + Bradley Kuhn would want this enabled ;) + code added looks non-negligible + CONFIG_FEATURE_TAB_COMPLETION + code added is large + useful and popular feature + CONFIG_BOOTCHARTD + might be nice to trace boot time in an OS hackers' build of BusyBox + CONFIG_FEATURE_INIT_SCTTY + CONFIG_ASH_JOB_CONTROL + CONFIG_ASH_BUILTIN_* + CONFIG_ASH_CMDCMD + CONFIG_ASH_OPTIMIZE_FOR_SIZE + CONFIG_CTTYHACK + mind this in /etc/inittab + CONFIG_FEATURE_MOUNT_NFS + CONFIG_FEATURE_MOUNT_CIFS + CONFIG_READPROFILE + code is a 263-line source file + might be nice to do profiling in an OS hackers' build of BusyBox + CONFIG_FEATURE_DATE_ISOFMT + not in POSIX.1 + adds no additional code + would be nice to have more adoption of ISO 8601 + CONFIG_ED + required by POSIX.1-2008 XCU + interactive program, unlikely to ever be used in any shell scripts + old and simple editor, unlikely to ever be used by any user + vi will be just as easily available to use + CONFIG_USE_BB_PWD_GRP + will be using EGLIBC's NSS for file/DNS name resolution anyway + might as well use it for passwd/group file lookups + will use BusyBox's lookup functions with uClibc + CONFIG_FEATURE_CHECK_NAMES + adds a 62-line source file with one function to the build + will end users be adding users and groups to the system? +General notes: + it might be useful to build two BusyBox packages: + one configured for end-users + one configured for OS hackers -- cgit v0.9.1