aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-08-25 18:46:46 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-08-25 18:47:08 +0200
commit74996872513894f53240533d6408e37f2893a87a (patch)
treec8b3fcbbe70e3526cc0fe4815c5824750efbe713 /gkbuilds
parentdefaults/linuxrc: Hide first output until cmdline was parsed (diff)
downloadgenkernel-74996872513894f53240533d6408e37f2893a87a.tar.gz
genkernel-74996872513894f53240533d6408e37f2893a87a.tar.bz2
genkernel-74996872513894f53240533d6408e37f2893a87a.zip
gkbuilds/dropbear: Build dbclient
Required for scp. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gkbuilds')
-rw-r--r--gkbuilds/dropbear.gkbuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/gkbuilds/dropbear.gkbuild b/gkbuilds/dropbear.gkbuild
index 55639cb..9e2c18b 100644
--- a/gkbuilds/dropbear.gkbuild
+++ b/gkbuilds/dropbear.gkbuild
@@ -25,7 +25,7 @@ src_configure() {
src_compile() {
local MYMAKEOPTS=( "V=1" )
MYMAKEOPTS+=( "MULTI=1" )
- MYMAKEOPTS+=( "PROGRAMS='dropbear dropbearkey dropbearconvert scp'" )
+ MYMAKEOPTS+=( "PROGRAMS='dbclient dropbear dropbearkey dropbearconvert scp'" )
gkmake "${MYMAKEOPTS[@]}"
}
@@ -48,6 +48,9 @@ src_install() {
"${STRIP}" --strip-all "${D}"/usr/bin/dropbearmulti \
|| die "Failed to strip '${D}/usr/bin/dropbearmulti'!"
+ ln -s dropbearmulti "${D}"/usr/bin/dbclient \
+ || die "Failed to symlink '${D}/usr/bin/dbclient' to '${D}/usr/bin/dropbearmulti'!"
+
ln -s ../bin/dropbearmulti "${D}"/usr/sbin/dropbear \
|| die "Failed to symlink '${D}/usr/sbin/dropbear' to '${D}/usr/bin/dropbearmulti'!"