1LICENSE = "MIT" 2LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 3SUMMARY = "Basic systemd-boot configuration files" 4 5RPROVIDES:${PN} += "virtual-systemd-bootconf" 6PACKAGE_ARCH = "${MACHINE_ARCH}" 7 8inherit systemd-boot-cfg 9 10S = "${WORKDIR}" 11 12LABELS = "boot" 13 14ROOT ?= "root=/dev/sda2" 15APPEND:append = " ${ROOT}" 16 17python do_configure() { 18 bb.build.exec_func('build_efi_cfg', d) 19} 20 21do_configure[vardeps] += "APPEND" 22 23do_install() { 24 install -d ${D}/boot 25 install -d ${D}/boot/loader 26 install -d ${D}/boot/loader/entries 27 install loader.conf ${D}/boot/loader/ 28 rm loader.conf 29 install *.conf ${D}/boot/loader/entries/ 30} 31 32FILES:${PN} = "/boot/loader/* /boot/loader/entries/*" 33