Guest User

Untitled

a guest
Aug 8th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. DESCRIPTION = "Resize Rootfs systemd service"
  2. LICENSE = "GPLv2+"
  3. LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
  4.  
  5. RDEPENDS_${PN} = "e2fsprogs-resize2fs parted"
  6.  
  7. SRC_URI = "file://resize-rootfs.init"
  8.  
  9. inherit update-rc.d
  10.  
  11. INITSCRIPT_NAME = "resize-rootfs"
  12. INITSCRIPT_PARAMS = "start 10 S ."
  13.  
  14. do_install () {
  15. install -d ${D}${sysconfdir}/init.d
  16. install -m 0755 ${WORKDIR}/resize-rootfs.init ${D}${sysconfdir}/init.d/${PN}
  17. }
  18.  
  19. PACKAGE_ARCH = "${MACHINE_ARCH}"
Add Comment
Please, Sign In to add comment