add dropbear ssh to qubes and moc configurations (issue #169)

This commit is contained in:
Trammell Hudson 2017-04-07 09:53:02 -04:00
parent ac74b92157
commit 300b17fa25
Failed to extract signature
5 changed files with 35 additions and 1 deletions

View File

@ -251,6 +251,7 @@ bin_modules-$(CONFIG_CRYPTSETUP) += cryptsetup
bin_modules-$(CONFIG_GPG) += gpg
bin_modules-$(CONFIG_LVM2) += lvm2
bin_modules-$(CONFIG_XEN) += xen
bin_modules-$(CONFIG_DROPBEAR) += dropbear
$(foreach m, $(bin_modules-y), \
$(call map,initrd_bin_add,$(call bins,$m)) \
@ -382,14 +383,20 @@ modules.clean:
for dir in \
$(busybox_dir) \
$(cryptsetup_dir) \
$(dropbear_dir) \
$(flashrom_dir) \
$(gnupg_dir) \
$(kexec_dir) \
$(libuuid_dir) \
$(libusb_dir) \
$(libusb-compat_dir) \
$(lvm2_dir) \
$(mbedtls_dir) \
$(pciutils_dir) \
$(popt_dir) \
$(qrencode_dir) \
$(tpmtotp_dir) \
$(util-linux_dir) \
$(zlib_dir) \
; do \
$(MAKE) -C "build/$$dir" clean ; \
rm "build/$$dir/.configured" ; \

View File

@ -13,6 +13,7 @@ CONFIG_PCIUTILS=y
CONFIG_POPT=y
CONFIG_QRENCODE=y
CONFIG_TPMTOTP=y
CONFIG_DROPBEAR=y
CONFIG_XEN=n
CONFIG_LINUX_USB=y

View File

@ -12,6 +12,7 @@ CONFIG_PCIUTILS=y
CONFIG_POPT=y
CONFIG_QRENCODE=y
CONFIG_TPMTOTP=y
CONFIG_DROPBEAR=y
# xen is not used on the MOC machines
CONFIG_XEN=n

View File

@ -13,6 +13,7 @@ CONFIG_POPT=y
CONFIG_QRENCODE=y
CONFIG_TPMTOTP=y
CONFIG_XEN=y
CONFIG_DROPBEAR=y
CONFIG_LINUX_USB=y
CONFIG_LINUX_E1000E=y

24
modules/dropbear Normal file
View File

@ -0,0 +1,24 @@
# dropbear is a tiny ssh client
modules-$(CONFIG_DROPBEAR) += dropbear
dropbear_version := 2016.74
dropbear_dir := dropbear-$(dropbear_version)
dropbear_tar := dropbear-$(dropbear_version).tar.bz2
dropbear_url := http://matt.ucc.asn.au/dropbear/releases/$(dropbear_tar)
dropbear_hash := 2720ea54ed009af812701bcc290a2a601d5c107d12993e5d92c0f5f81f718891
dropbear_configure := ./configure \
CC="$(heads_cc)" \
--host i386-elf-linux \
--prefix "/" \
dropbear_config :=
dropbear_output := ssh scp
dropbear_target := \
$(MAKE_JOBS) \
DESTDIR="$(INSTALL)" \
dbclient scp \
&& \
cp $(build)/$(dropbear_dir)/dbclient $(build)/$(dropbear_dir)/ssh
dropbear_depends := zlib $(musl_dep)