Advertisement
Guest User

Untitled

a guest
Jul 11th, 2022
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.17 KB | None | 0 0
  1. # Simple petalinux initramfs image.
  2. DESCRIPTION = "Small image capable of booting a device. The kernel includes \
  3. the Minimal RAM-based Initial Root Filesystem (initramfs), which finds the \
  4. first 'init' program more efficiently."
  5.  
  6. INITRAMFS_SCRIPTS ?= "initramfs-framework-base \
  7.        initramfs-module-e2fs \
  8.        initramfs-module-udhcpc \
  9.        initramfs-module-searche2fs \
  10.        "
  11.  
  12. INITRAMFS_SCRIPTS_append_k26 = " initramfs-module-exec"
  13.  
  14. INITRAMFS_PACKAGES ?= "${VIRTUAL-RUNTIME_base-utils} \
  15.        base-passwd \
  16.        e2fsprogs \
  17.        ${ROOTFS_BOOTSTRAP_INSTALL} \
  18.        ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS} \
  19.        "
  20.  
  21. BAD_RECOMMENDATIONS += "initramfs-module-rootfs"
  22.  
  23. PACKAGE_INSTALL ?= "packagegroup-core-boot ${INITRAMFS_PACKAGES} ${INITRAMFS_SCRIPTS}"
  24.  
  25. # Do not pollute the initrd image with rootfs features
  26. IMAGE_FEATURES = ""
  27.  
  28. export IMAGE_BASENAME = "petalinux-initramfs-image"
  29. IMAGE_LINGUAS = ""
  30.  
  31. LICENSE = "MIT"
  32.  
  33. IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
  34. inherit core-image
  35.  
  36. IMAGE_ROOTFS_SIZE = "8192"
  37. IMAGE_ROOTFS_EXTRA_SPACE = "0"
  38.  
  39. rm_work_rootfs[noexec] = "1"
  40. rm_work_rootfs[cleandirs] = ""
  41. RM_WORK_EXCLUDE_ITEMS = "rootfs"
  42.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement