mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
disable wtmp and lastlog in config as well as the dbclient symlink generation per case 0000521
This commit is contained in:
parent
548819bc39
commit
f3803a9088
@ -42,7 +42,8 @@ $(DROPBEAR_DIR)/.configured: $(DROPBEAR_DIR)/.unpacked
|
|||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--infodir=/usr/info \
|
--infodir=/usr/info \
|
||||||
$(DISABLE_NLS) \
|
$(DISABLE_NLS) \
|
||||||
--with-shared \
|
--disable-wtmp \
|
||||||
|
--disable-lastlog \
|
||||||
);
|
);
|
||||||
ifeq ($(strip $(BR2_PACKAGE_DROPBEAR_URANDOM)),y)
|
ifeq ($(strip $(BR2_PACKAGE_DROPBEAR_URANDOM)),y)
|
||||||
$(SED) 's,^#define DROPBEAR_RANDOM_DEV.*,#define DROPBEAR_RANDOM_DEV \"/dev/urandom\",' \
|
$(SED) 's,^#define DROPBEAR_RANDOM_DEV.*,#define DROPBEAR_RANDOM_DEV \"/dev/urandom\",' \
|
||||||
@ -70,6 +71,7 @@ $(TARGET_DIR)/$(DROPBEAR_TARGET_BINARY): $(DROPBEAR_DIR)/$(DROPBEAR_BINARY)
|
|||||||
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/dbclient
|
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/dbclient
|
||||||
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/dropbearkey
|
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/dropbearkey
|
||||||
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/dropbearconvert
|
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/dropbearconvert
|
||||||
|
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/dbclient
|
||||||
cp $(DROPBEAR_DIR)/S50dropbear $(TARGET_DIR)/etc/init.d/
|
cp $(DROPBEAR_DIR)/S50dropbear $(TARGET_DIR)/etc/init.d/
|
||||||
chmod a+x $(TARGET_DIR)/etc/init.d/S50dropbear
|
chmod a+x $(TARGET_DIR)/etc/init.d/S50dropbear
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user