From 97eb55a5db82725d922ed6c14fccd31c78b7384d Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 13 Feb 2021 01:54:06 +0000 Subject: utmpsify busybox and dropbear --- sub/busybox/Makefile | 4 ++-- sub/busybox/host-full-config | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sub/busybox') diff --git a/sub/busybox/Makefile b/sub/busybox/Makefile index 4dad275..e79850f 100644 --- a/sub/busybox/Makefile +++ b/sub/busybox/Makefile @@ -31,8 +31,8 @@ else exec setuidgid $(NORMALUSER) cp -f $(WD)/sub/busybox/host-full-config $@ endif -$(OUTPUT)/build-host/.lh_bb_built: $(OUTPUT)/build-host/busybox-$(BUSYBOX_VERSION)/.config | $(OUTPUT)/build-build/.lh_skarnet_installed - exec setuidgid $(NORMALUSER) cd $(OUTPUT)/build-host/busybox-$(BUSYBOX_VERSION) $(MAKE) -j1 busybox install CROSS_COMPILE=$(TRIPLE)- CC="$(BUILD_HOST_CC)" HOSTCC="$(BUILD_BUILD_CC)" +$(OUTPUT)/build-host/.lh_bb_built: $(OUTPUT)/build-host/busybox-$(BUSYBOX_VERSION)/.config $(OUTPUT)/build-host/.lh_utmps_installed $(OUTPUT)/build-host/.lh_skalibs_installed | $(OUTPUT)/build-build/.lh_skarnet_installed + exec setuidgid $(NORMALUSER) cd $(OUTPUT)/build-host/busybox-$(BUSYBOX_VERSION) $(MAKE) -j1 busybox install CROSS_COMPILE=$(TRIPLE)- CC="$(BUILD_HOST_CC)" HOSTCC="$(BUILD_BUILD_CC)" CFLAGS="-O2 -I$(OUTPUT)/rootfs/package/admin/utmps/include" LDFLAGS="-L$(OUTPUT)/rootfs/package/admin/utmps/library -L$(OUTPUT)/rootfs/package/prog/skalibs/library" LDLIBS="-lutmps -lskarnet" exec setuidgid $(NORMALUSER) s6-touch $@ $(OUTPUT)/build-host/.lh_bb_installed: $(OUTPUT)/build-host/.lh_bb_built $(OUTPUT)/tmp/.lh_layout_installed | $(OUTPUT)/build-build/.lh_skarnet_installed diff --git a/sub/busybox/host-full-config b/sub/busybox/host-full-config index a2ee2cc..660bf41 100644 --- a/sub/busybox/host-full-config +++ b/sub/busybox/host-full-config @@ -528,7 +528,7 @@ CONFIG_FEATURE_DEFAULT_PASSWD_ALGO="" # CONFIG_FEATURE_DEL_USER_FROM_GROUP is not set CONFIG_GETTY=y CONFIG_LOGIN=y -# CONFIG_LOGIN_SESSION_AS_CHILD is not set +CONFIG_LOGIN_SESSION_AS_CHILD=y # CONFIG_LOGIN_SCRIPTS is not set # CONFIG_FEATURE_NOLOGIN is not set # CONFIG_FEATURE_SECURETTY is not set -- cgit v1.2.3