forked from kiss-community/repo
busybox: Compile a second static binary for rescue/initramfs purposes.
This commit is contained in:
parent
8d8ce648f5
commit
06fb764381
@ -22,3 +22,15 @@ ln -s /run/runit/supervise.syslogd "$1/etc/sv/syslogd/supervise"
|
||||
|
||||
# Install busybox config.
|
||||
install -Dm644 busybox.conf "$1/etc/busybox.conf"
|
||||
|
||||
# Build and install a statically compiled busybox.
|
||||
# This is useful for instances where the system is broken
|
||||
# and for making an initramfs.
|
||||
#
|
||||
# The sleep is required so that 'make' doesn't skip the
|
||||
# changes due to its 'mtime' checks.
|
||||
make defconfig
|
||||
sleep 1
|
||||
sed -i'' "s/.*CONFIG_STATIC.*/CONFIG_STATIC=y/" .config
|
||||
make
|
||||
install -Dm755 busybox "$1/usr/lib/busybox"
|
||||
|
@ -1 +1 @@
|
||||
1.30.1 17
|
||||
1.30.1 18
|
||||
|
Loading…
Reference in New Issue
Block a user