summaryrefslogtreecommitdiff
path: root/sub/busybox
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-02-13 01:54:06 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-02-13 01:54:06 +0000
commit97eb55a5db82725d922ed6c14fccd31c78b7384d (patch)
tree8400212617046e9f2a89590787651eeee16f5afa /sub/busybox
parent9ff737d57f8891baa48e1d8f56a7b76fd67f3554 (diff)
downloadlh-bootstrap-97eb55a5db82725d922ed6c14fccd31c78b7384d.tar.xz
utmpsify busybox and dropbear
Diffstat (limited to 'sub/busybox')
-rw-r--r--sub/busybox/Makefile4
-rw-r--r--sub/busybox/host-full-config2
2 files changed, 3 insertions, 3 deletions
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