Bruce Leidl
be34ea65f3
- removed layers meta-rust and meta-clang - added new dependencies to Makefile - changed override syntax across all recipe files - updated conf files from hardknott to kirkstone - SRC_URI git URLS fixed to always include branch and protocol - LICENSE fields updated with new naming convention - updated citadel-tools dependencies - upgraded mozjs to mozjs-91 No longer needed because poky includes newer version (or new enough): - glib-2.0 - libgudev - xorgproto - libxfixes - libinput - wayland-protocols - vte
60 lines
2.2 KiB
BlitzBasic
60 lines
2.2 KiB
BlitzBasic
DESCRIPTION = ""
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
SECTION = ""
|
|
DEPENDS = ""
|
|
|
|
SRC_URI = "\
|
|
file://initrd-release \
|
|
file://crypttab \
|
|
file://11-dm.rules \
|
|
file://citadel-lvm-activate.service \
|
|
file://citadel-rootfs-mount.path \
|
|
file://citadel-rootfs-mount.service \
|
|
file://citadel-rootfs-setup.service \
|
|
file://citadel-install-rootfs-mount.service \
|
|
"
|
|
|
|
S = "${WORKDIR}"
|
|
|
|
dirs755="/boot /dev /usr /usr/bin /usr/sbin /usr/lib /usr/share /etc /proc /run /var /sys /tmp"
|
|
|
|
|
|
do_install() {
|
|
for d in ${dirs755}; do
|
|
install -m 0755 -d ${D}$d
|
|
done
|
|
|
|
install -d ${D}${systemd_system_unitdir}
|
|
install -m 644 ${WORKDIR}/citadel-lvm-activate.service ${D}${systemd_system_unitdir}
|
|
install -m 644 ${WORKDIR}/citadel-rootfs-mount.path ${D}${systemd_system_unitdir}
|
|
install -m 644 ${WORKDIR}/citadel-rootfs-mount.service ${D}${systemd_system_unitdir}
|
|
install -m 644 ${WORKDIR}/citadel-rootfs-setup.service ${D}${systemd_system_unitdir}
|
|
install -m 644 ${WORKDIR}/citadel-install-rootfs-mount.service ${D}${systemd_system_unitdir}
|
|
|
|
install -d ${D}${systemd_system_unitdir}/sysinit.target.wants
|
|
ln -s ../citadel-rootfs-mount.path ${D}${systemd_system_unitdir}/sysinit.target.wants/citadel-rootfs-mount.path
|
|
ln -s ../citadel-rootfs-setup.service ${D}${systemd_system_unitdir}/sysinit.target.wants/citadel-rootfs-setup.service
|
|
ln -s ../citadel-install-rootfs-mount.service ${D}${systemd_system_unitdir}/sysinit.target.wants/citadel-install-rootfs-mount.service
|
|
|
|
install -d ${D}${sysconfdir}
|
|
install -m 644 ${WORKDIR}/initrd-release ${D}${sysconfdir}
|
|
install -m 644 ${WORKDIR}/crypttab ${D}${sysconfdir}
|
|
install -d ${D}${sysconfdir}/udev/rules.d
|
|
install -m 644 ${WORKDIR}/11-dm.rules ${D}${sysconfdir}/udev/rules.d
|
|
|
|
install -d ${D}/dev
|
|
mknod -m 622 ${D}/dev/console c 5 1
|
|
mknod -m 644 ${D}/dev/loop0 b 7 0
|
|
}
|
|
|
|
FILES:${PN} += "/dev/console /boot /dev /usr /etc /proc /run /sys /tmp"
|
|
|
|
pkg_postinst:${PN}() {
|
|
ln -sf initrd-release $D${sysconfdir}/os-release
|
|
ln -sf ${systemd_system_unitdir}/initrd.target $D${systemd_system_unitdir}/default.target
|
|
> $D${sysconfdir}/fstab
|
|
}
|
|
|
|
inherit allarch
|