forked from brl/citadel
Bruce Leidl
64d91cb68c
Updated Recipes * colord 1.4.5 * dconf 0.40.0 * gdm 40.0 * geoclue 2.5.7 * geocode-glib 3.26.2 * gevix2_ 0.12.1 * gjs 1.68.0 * glib2 2.68.0 * gnome-autoar 0.3.1 * gnome-backgrounds 40.0 * gnome-control-center 40.0 * gnome-desktop 40.0 * gnome-disk-utility 40.1 * gnome-keyring 40.0 * gnome-screenshot 40.0 * gnome-session 40.1.1 * gnome-settings-daemon 40.0.1 * gnome-shell 40.0 * gnome-system-monitor 40.1 * gnome-terminal 3.40.1 * gsettings-desktop-schemas 40.0 * ibus 1.5.23 * iwd 1.13 * kernel 5.12.1 * keyutils 1.6.1 * libgee 0.20.4 * libgit2 1.1.0 * libgweather 40.0 * libhandy 1.2.0 (poky) * libseccomp 2.5.1 * libssh2 1.9.0 (poky) * lvm2 2.03.11 * meson 0.57.1 (poky) * mutter 40.0 * nano 5.6 * NetworkManager 1.30.2 * network-manager-applet 1.18.0 * nspr 4.29 * pango 1.48.2 (poky) * plymouth 0.9.5+git * udisks 2.9.2 * upower 0.99.11 * vte 0.64.0 * yelp-tools 3.32.2 * yelp-xsl 3.36.0
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] = "c0fc1cf5b8c90cde68d7d4361afd3b37422c0b590773ea67861b8b092efe5f37"
|
|
|
|
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 = ""
|
|
|