mirror of
				https://github.com/immortalwrt/immortalwrt.git
				synced 2025-10-30 07:49:55 +08:00 
			
		
		
		
	 89bb4050f7
			
		
	
	89bb4050f7
	
	
	
		
			
			Add a patch to fix non-x86 builds, refresh patches and update/fix the configuration as described in98b09ba250(cited here for future reference). Config refresh: Refresh commands, run after busybox is first built once: cd package/utils/busybox/config/ ../convert_menuconfig.pl ../../../../build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/busybox-default/busybox-1.37.0 cd .. ./convert_defaults.pl ../../../build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/busybox-default/busybox-1.37.0/.config > Config-defaults.in Manual edits needed after config refresh: * Config-defaults.in: OpenWrt config symbol IPV6 logic applied to BUSYBOX_DEFAULT_FEATURE_IPV6 * Config-defaults.in: OpenWrt config TARGET_bcm53xx logic applied to BUSYBOX_DEFAULT_TRUNCATE (commit547f1ec) * Config-defaults.in: OpenWrt logic applied to BUSYBOX_DEFAULT_LOGIN_SESSION_AS_CHILD (commitdc92917) * Config-defaults.in: correct the default ports that get reset BUSYBOX_DEFAULT_FEATURE_HTTPD_PORT_DEFAULT 80 BUSYBOX_DEFAULT_FEATURE_TELNETD_PORT_DEFAULT 23 * config/editors/Config.in: Add USE_GLIBC dependency to BUSYBOX_CONFIG_FEATURE_VI_REGEX_SEARCH (commitf141090) * config/shell/Config.in: change at "Options common to all shells" the conditional symbol SHELL_ASH --> BUSYBOX_CONFIG_SHELL_ASH (discussion in http://lists.openwrt.org/pipermail/openwrt-devel/2021-January/033140.html Apparently our script does not see the hidden option while prepending config options with "BUSYBOX_CONFIG_" which leads to a missed dependency when the options are later evaluated.) * Edit a few Config.in files by adding quotes to sourced items in config/Config.in, config/networking/Config.in and config/util-linux/Config.in (commit1da014fcca) Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com> [rebased with the change download line commit] [corrected version in the refresh example in commit message] Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> Link: https://github.com/openwrt/openwrt/pull/17107 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
		
			
				
	
	
		
			43 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # DO NOT EDIT. This file is generated from Config.src
 | |
| #
 | |
| # For a description of the syntax of this configuration file,
 | |
| # see docs/Kconfig-language.txt.
 | |
| #
 | |
| 
 | |
| menu "klibc-utils"
 | |
| 
 | |
| config BUSYBOX_CONFIG_MINIPS
 | |
| 	bool "minips (11 kb)"
 | |
| 	default BUSYBOX_DEFAULT_MINIPS  # for god's sake, just use "ps" name in your scripts
 | |
| 	help
 | |
| 	Alias to "ps".
 | |
| config BUSYBOX_CONFIG_NUKE
 | |
| 	bool "nuke (2.9 kb)"
 | |
| 	default BUSYBOX_DEFAULT_NUKE  # off by default: too "accidentally destructive"
 | |
| 	help
 | |
| 	Alias to "rm -rf".
 | |
| config BUSYBOX_CONFIG_RESUME
 | |
| 	bool "resume (3.6 kb)"
 | |
| 	default BUSYBOX_DEFAULT_RESUME
 | |
| 	help
 | |
| 	Resume from saved "suspend-to-disk" image
 | |
| config BUSYBOX_CONFIG_RUN_INIT
 | |
| 	bool "run-init (8 kb)"
 | |
| 	default BUSYBOX_DEFAULT_RUN_INIT
 | |
| 	help
 | |
| 	The run-init utility is used from initramfs to select a new
 | |
| 	root device. Under initramfs, you have to use this instead of
 | |
| 	pivot_root.
 | |
| 
 | |
| 	Booting with initramfs extracts a gzipped cpio archive into rootfs
 | |
| 	(which is a variant of ramfs/tmpfs). Because rootfs can't be moved
 | |
| 	or unmounted, pivot_root will not work from initramfs. Instead,
 | |
| 	run-init deletes everything out of rootfs (including itself),
 | |
| 	does a mount --move that overmounts rootfs with the new root, and
 | |
| 	then execs the specified init program.
 | |
| 
 | |
| 	util-linux has a similar tool, switch-root.
 | |
| 	run-init differs by also having a "-d CAPS_TO_DROP" option.
 | |
| 
 | |
| endmenu
 |