- Switch to Sytemd - Add development tools: adroid tool, usbgadget support - Rework on recovery Image
33 lines
998 B
BlitzBasic
33 lines
998 B
BlitzBasic
SUMMARY = "Modular initramfs system"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
RDEPENDS:${PN} += "${VIRTUAL-RUNTIME_base-utils} systemd"
|
|
RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}"
|
|
|
|
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
|
|
|
PR = "r4"
|
|
|
|
inherit allarch
|
|
|
|
SRC_URI = "file://diya-update \
|
|
file://10-usbnet.network \
|
|
file://reboot-recovery \
|
|
"
|
|
|
|
S = "${UNPACKDIR}"
|
|
|
|
do_install() {
|
|
install -d ${D}/usr/sbin
|
|
install -d ${D}/etc/systemd/network/
|
|
install -m 0644 ${UNPACKDIR}/10-usbnet.network ${D}/etc/systemd/network/
|
|
|
|
install -m 0755 ${UNPACKDIR}/diya-update ${D}/usr/sbin/
|
|
install -m 0755 ${UNPACKDIR}/reboot-recovery ${D}/usr/sbin/
|
|
|
|
# create symlink
|
|
ln -sf /usr/sbin/diya-update ${D}/usr/sbin/diya-update-rootfs
|
|
ln -sf /usr/sbin/diya-update ${D}/usr/sbin/diya-update-kernel
|
|
ln -sf /usr/sbin/diya-update ${D}/usr/sbin/diya-update-initramfs
|
|
}
|