Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # The goal of this recipe is to move keyFile to target machine so it can be used as public key for
- # authoriztion of deb repo.
- #
- # Author: Yahia Farghaly
- SUMMARY = "Move keyFile example to /deb_key"
- SECTION = "examples"
- LICENSE = "MIT"
- LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
- SRC_URI = "file://keyFile"
- #to inform yocto where to package the file
- # https://stackoverflow.com/questions/33912477/how-can-i-add-a-folder-or-file-to-the-root-in-a-recipe-with-bitbake
- FILES_${PN} += "/deb_key"
- S = "${WORKDIR}"
- do_install() {
- install -d ${D}/deb_key
- install -m 0755 keyFile ${D}/deb_key
- }
- #bash prepare_source_list.sh
- #mv ~/sources.list ${D}/etc/apt/sources.list
- #rm ~/sources.list
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement