mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-20 09:16:21 +00:00
Build agetty from util-linux and optionally add it to initrd
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
This commit is contained in:
parent
fe9d80c6a7
commit
b5fb2f907c
1
Makefile
1
Makefile
@ -458,6 +458,7 @@ bin_modules-$(CONFIG_FBWHIPTAIL) += fbwhiptail
|
||||
bin_modules-$(CONFIG_HOTPKEY) += hotp-verification
|
||||
bin_modules-$(CONFIG_MSRTOOLS) += msrtools
|
||||
bin_modules-$(CONFIG_NKSTORECLI) += nkstorecli
|
||||
bin_modules-$(CONFIG_UTIL_LINUX) += util-linux
|
||||
|
||||
$(foreach m, $(bin_modules-y), \
|
||||
$(call map,initrd_bin_add,$(call bins,$m)) \
|
||||
|
@ -20,6 +20,7 @@ util-linux_configure := ./configure \
|
||||
--disable-all-programs \
|
||||
--enable-libuuid \
|
||||
--enable-libblkid \
|
||||
--enable-agetty \
|
||||
|
||||
|
||||
util-linux_target := \
|
||||
@ -34,4 +35,7 @@ util-linux_libraries += \
|
||||
.libs/libuuid.so.1 \
|
||||
.libs/libblkid.so.1 \
|
||||
|
||||
util-linux_agetty-$(CONFIG_USE_AGETTY) := agetty
|
||||
util-linux_output := $(util-linux_agetty-y)
|
||||
|
||||
util-linux_depends := $(musl_dep)
|
||||
|
Loading…
x
Reference in New Issue
Block a user