mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00

Since we want to be able to stop unpacking to WORKDIR, correct the WORKDIR references in recipe do_compile/do_install tasks to use UNPACKDIR in the appropraite places instead. (From OE-Core rev: d73595df69667fe9d12ecd407b77a0b8dae2109c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
19 lines
583 B
BlitzBasic
19 lines
583 B
BlitzBasic
SUMMARY = "Pre generated host keys mainly for speeding up our qemu tests"
|
|
|
|
SRC_URI = "file://dropbear_rsa_host_key \
|
|
file://openssh"
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
|
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
|
|
do_install () {
|
|
install -d ${D}${sysconfdir}/dropbear
|
|
install ${UNPACKDIR}/dropbear_rsa_host_key -m 0600 ${D}${sysconfdir}/dropbear/
|
|
|
|
install -d ${D}${sysconfdir}/ssh
|
|
install ${UNPACKDIR}/openssh/* ${D}${sysconfdir}/ssh/
|
|
chmod 0600 ${D}${sysconfdir}/ssh/*
|
|
chmod 0644 ${D}${sysconfdir}/ssh/*.pub
|
|
} |