forked from brl/citadel
Bruce Leidl
8bb03a0582
yocto yocto-3.3 -> yocto-3.3.3 kernel 5.12.4 -> 5.14.9 cryptsetup 2.3.5 -> 2.3.6 libblockdev 2.25 -> 2.26 libbytesize 1.4 -> 2.6 nano 5.6 -> 5.8 udisks2 2.9.2 -> 2.9.3 iwd 1.13 -> 1.17 modemmanager 1.8.2 -> 1.16.8 networkmanager 1.30.2 -> 1.32.10 libgusb 0.2.11 -> 0.3.7 upower 0.99.11 -> 0.99.13 gdm 40.0 -> 41.0 gjs 1.68.0 -> 1.70.0 glib 2.68.0 -> 2.70.0 gnome-backgrounds 40.0 -> 41.0 gnome-control-center 40.0 -> 41.0 gnome-desktop 40.0 -> 41.0 gnome-disk-utility 40.1 -> 41.0 gnome-system-monitor 40.1 -> 41.0 gnome-settings-daemon 40.0.1 -> 41.0 gnome-shell 40.0 -> 41.0 mutter 40.0 -> 41.0 gsettings-desktop-schemas 40.0 -> 41.0 gtk4 4.1.12 -> 4.4.0 gvfs 1.46.1 -> 1.48.1 gnome-terminal 3.40.1 -> 3.41.1 ell 0.39 -> 0.44 mozjs 78.0.1 -> 78.11.0 vte 0.64.0 -> 0.64.2
45 lines
1.3 KiB
BlitzBasic
45 lines
1.3 KiB
BlitzBasic
DESCRIPTION = "Citadel linux kernel"
|
|
LICENSE = "GPLv2"
|
|
SECTION = "kernel"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
|
|
|
inherit kernel
|
|
|
|
SRC_URI = "https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${PV}.tar.xz\
|
|
file://defconfig \
|
|
"
|
|
|
|
SRC_URI[sha256sum] = "ba8f07db92d514a2636e882bcd646f79f1c8ab83f5ad82910732dd0ec83c87e6"
|
|
|
|
LINUX_VERSION ?= "${PV}"
|
|
S = "${WORKDIR}/linux-${LINUX_VERSION}"
|
|
|
|
KERNEL_CONFIG_COMMAND = "oe_runmake_call -C ${S} CC="${KERNEL_CC}" O=${B} olddefconfig"
|
|
|
|
DEPENDS += "lz4-native"
|
|
|
|
do_deploy_append() {
|
|
rm ${DEPLOYDIR}/bzImage
|
|
ln -sf bzImage-initramfs-${KERNEL_IMAGE_NAME}.bin ${DEPLOYDIR}/bzImage
|
|
echo "${PV}" > ${DEPLOYDIR}/kernel.version
|
|
}
|
|
|
|
#
|
|
# Replaces function with same name in kernel.bbclass since that implementation
|
|
# doesn't pass destination argument to lz4 in which case the decompressed output
|
|
# just disappears into thin air it seems.
|
|
#
|
|
copy_initramfs() {
|
|
echo "copy_initramfs override"
|
|
mkdir -p ${B}/usr
|
|
rm -f ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
|
|
cp ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.cpio.lz4 ${B}/usr/.
|
|
lz4 -df ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio.lz4 ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
|
|
ls -al ${B}/usr
|
|
echo "Finished copy of initramfs into ./usr"
|
|
}
|
|
|
|
# Don't install kernel into images, see kernel.bbclass
|
|
RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
|
|
|