ssh-pregen-hostkeys_1.0.bb 579 B

12345678910111213141516171819
  1. SUMMARY = "Pre generated host keys mainly for speeding up our qemu tests"
  2. SRC_URI = "file://dropbear_rsa_host_key \
  3. file://openssh"
  4. LICENSE = "MIT"
  5. LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
  6. INHIBIT_DEFAULT_DEPS = "1"
  7. do_install () {
  8. install -d ${D}${sysconfdir}/dropbear
  9. install ${WORKDIR}/dropbear_rsa_host_key -m 0600 ${D}${sysconfdir}/dropbear/
  10. install -d ${D}${sysconfdir}/ssh
  11. install ${WORKDIR}/openssh/* ${D}${sysconfdir}/ssh/
  12. chmod 0600 ${D}${sysconfdir}/ssh/*
  13. chmod 0644 ${D}${sysconfdir}/ssh/*.pub
  14. }