Advertisement
Guest User

Untitled

a guest
Jul 6th, 2022
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.32 KB | None | 0 0
  1. # Conceptually I'd like to run this code, but within the recipe not withing the task
  2.  
  3. if ${@bb.utils.contains('DISTRO_FEATURES','custom_task_feature','true','false',d)}; then
  4.   bbwarn "Feature enabled, will execute task"
  5.   do_custom_task[nostamp] = "1"
  6.   addtask custom_task after do_install before do_populate_sysroot
  7. fi
  8.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement