2017-12-04 16:33:20 -05:00
|
|
|
DESCRIPTION = "Image for rootfs"
|
|
|
|
|
2018-03-03 21:37:48 -05:00
|
|
|
NO_RECOMMENDATIONS = "1"
|
|
|
|
|
2017-12-12 15:26:06 -05:00
|
|
|
PACKAGE_INSTALL = "\
|
2018-03-03 21:37:48 -05:00
|
|
|
citadel-initramfs \
|
2018-12-31 18:41:27 -05:00
|
|
|
citadel-mount \
|
|
|
|
citadel-install \
|
|
|
|
strace \
|
|
|
|
xz \
|
|
|
|
tar \
|
|
|
|
btrfs-tools \
|
2017-12-12 15:26:06 -05:00
|
|
|
base-passwd \
|
2018-01-18 18:22:23 -05:00
|
|
|
busybox \
|
|
|
|
kbd \
|
|
|
|
keymaps \
|
|
|
|
systemd-initrd \
|
2017-12-12 15:26:06 -05:00
|
|
|
linux-firmware-i915 \
|
|
|
|
kernel-module-arc4 \
|
|
|
|
kernel-module-ansi-cprng \
|
2018-01-18 18:22:23 -05:00
|
|
|
kernel-module-apple-bl \
|
|
|
|
kernel-module-apple-gmux \
|
|
|
|
kernel-module-applesmc \
|
|
|
|
kernel-module-appletouch \
|
|
|
|
kernel-module-bcm5974 \
|
2017-12-12 15:26:06 -05:00
|
|
|
kernel-module-ccm \
|
|
|
|
kernel-module-cmac \
|
|
|
|
kernel-module-crc32-pclmul \
|
|
|
|
kernel-module-crc32c-intel \
|
|
|
|
kernel-module-crct10dif-pclmul \
|
|
|
|
kernel-module-ecdh-generic \
|
|
|
|
kernel-module-ehci-platform \
|
|
|
|
kernel-module-ghash-clmulni-intel \
|
|
|
|
kernel-module-hid-a4tech \
|
|
|
|
kernel-module-hid-apple \
|
2018-01-18 18:22:23 -05:00
|
|
|
kernel-module-hid-alps \
|
2017-12-12 15:26:06 -05:00
|
|
|
kernel-module-hid-asus \
|
|
|
|
kernel-module-hid-aureal \
|
|
|
|
kernel-module-hid-belkin \
|
|
|
|
kernel-module-hid-cherry \
|
|
|
|
kernel-module-hid-cmedia \
|
|
|
|
kernel-module-hid-corsair \
|
|
|
|
kernel-module-hid-elecom \
|
|
|
|
kernel-module-hid-elo \
|
|
|
|
kernel-module-hid-ezkey \
|
|
|
|
kernel-module-hid-gt683r \
|
|
|
|
kernel-module-hid-keytouch \
|
|
|
|
kernel-module-hid-kye \
|
|
|
|
kernel-module-hid-led \
|
|
|
|
kernel-module-hid-lenovo \
|
|
|
|
kernel-module-hid-logitech \
|
|
|
|
kernel-module-hid-logitech-dj \
|
|
|
|
kernel-module-hid-logitech-hidpp \
|
|
|
|
kernel-module-hid-microsoft \
|
|
|
|
kernel-module-hid-monterey \
|
|
|
|
kernel-module-hid-multitouch \
|
|
|
|
kernel-module-hid-ortek \
|
|
|
|
kernel-module-hid-penmount \
|
|
|
|
kernel-module-hid-plantronics \
|
|
|
|
kernel-module-hid-primax \
|
|
|
|
kernel-module-hid-rmi \
|
|
|
|
kernel-module-hid-roccat \
|
|
|
|
kernel-module-hid-roccat-arvo \
|
|
|
|
kernel-module-hid-roccat-common \
|
|
|
|
kernel-module-hid-roccat-isku \
|
|
|
|
kernel-module-hid-roccat-kone \
|
|
|
|
kernel-module-hid-roccat-koneplus \
|
|
|
|
kernel-module-hid-roccat-konepure \
|
|
|
|
kernel-module-hid-roccat-kovaplus \
|
|
|
|
kernel-module-hid-roccat-lua \
|
|
|
|
kernel-module-hid-roccat-pyra \
|
|
|
|
kernel-module-hid-roccat-ryos \
|
|
|
|
kernel-module-hid-roccat-savu \
|
|
|
|
kernel-module-hid-saitek \
|
|
|
|
kernel-module-hid-sensor-hub \
|
|
|
|
kernel-module-hid-speedlink \
|
|
|
|
kernel-module-hid-uclogic \
|
|
|
|
kernel-module-i2c-hid \
|
|
|
|
kernel-module-intel-hid \
|
|
|
|
kernel-module-intel-ish-ipc \
|
|
|
|
kernel-module-intel-ishtp \
|
|
|
|
kernel-module-intel-ishtp-hid \
|
|
|
|
kernel-module-intel-rng \
|
2018-12-31 18:41:27 -05:00
|
|
|
kernel-module-lz4 \
|
2017-12-12 15:26:06 -05:00
|
|
|
kernel-module-msi-wmi \
|
|
|
|
kernel-module-mxm-wmi \
|
|
|
|
kernel-module-radeon \
|
|
|
|
kernel-module-radeonfb \
|
|
|
|
kernel-module-rmi-core \
|
|
|
|
kernel-module-seed \
|
|
|
|
kernel-module-serio-raw \
|
|
|
|
kernel-module-snd \
|
|
|
|
kernel-module-soundcore \
|
|
|
|
kernel-module-wmi \
|
|
|
|
kernel-module-xhci-plat-hcd \
|
2018-01-18 18:22:23 -05:00
|
|
|
liberation-fonts \
|
2018-12-31 18:41:27 -05:00
|
|
|
util-linux \
|
2018-01-18 18:22:23 -05:00
|
|
|
plymouth \
|
2017-12-12 15:26:06 -05:00
|
|
|
"
|
2017-12-04 16:33:20 -05:00
|
|
|
|
2018-01-18 18:22:23 -05:00
|
|
|
SYSTEMD_DEFAULT_TARGET = "initrd.target"
|
|
|
|
export IMAGE_BASENAME = "citadel-initramfs-image"
|
2017-12-04 16:33:20 -05:00
|
|
|
IMAGE_LINGUAS = ""
|
|
|
|
|
|
|
|
LICENSE = "MIT"
|
|
|
|
|
|
|
|
INITRAMFS_MAXSIZE = "512000"
|
|
|
|
|
2018-03-21 09:38:49 -04:00
|
|
|
INITRAMFS_FSTYPES = "cpio.lz4"
|
2017-12-04 16:33:20 -05:00
|
|
|
IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
|
|
|
|
inherit core-image
|
2019-01-06 18:20:41 -05:00
|
|
|
require ${THISDIR}/../../recipes-citadel/images/citadel-image.inc
|
2017-12-04 16:33:20 -05:00
|
|
|
|
|
|
|
IMAGE_ROOTFS_SIZE = "8192"
|
|
|
|
IMAGE_ROOTFS_EXTRA_SPACE = "0"
|
2018-03-27 22:27:20 -04:00
|
|
|
|
2019-01-06 18:20:41 -05:00
|
|
|
ROOTFS_POSTPROCESS_COMMAND += "remove_blk_availability; append_initrd_release; "
|
2018-03-27 22:27:20 -04:00
|
|
|
|
|
|
|
remove_blk_availability() {
|
|
|
|
rm ${IMAGE_ROOTFS}${systemd_system_unitdir}/blk-availability.service
|
|
|
|
}
|
2019-01-06 18:20:41 -05:00
|
|
|
|
|
|
|
append_initrd_release() {
|
|
|
|
KERNEL_ID=$(generate_kernel_id)
|
|
|
|
cat >> ${IMAGE_ROOTFS}/etc/initrd-release << EOF
|
|
|
|
CITADEL_KERNEL_VERSION="${CITADEL_KERNEL_VERSION}"
|
|
|
|
CITADEL_KERNEL_ID="${KERNEL_ID}"
|
|
|
|
EOF
|
|
|
|
}
|