Skip to contentSkip to conversation

overview-manual: update deploy.bbclass snippet

PATCH Applied Robert P. J. Day 2 participants 4 messages Jun 4 – Jun 9

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 overview-manual: update deploy.bbclass snippet

The current contents of deploy.bbclass is slightly different so update the code snippet.

---

documentation/overview-manual/concepts.rst +2 -1
index 76ace6fcf..fb9a56607 100644
@@ -1776,7 +1776,8 @@ adding shared state wrapping to a task is as simple as this
        sstate_setscene(d)
    }
    addtask do_deploy_setscene
-   do_deploy[dirs] = "${DEPLOYDIR} ${B}"
+   do_deploy[dirs] = "${B}"
+   do_deploy[cleandirs] = "${DEPLOYDIR}"
    do_deploy[stamp-extra-info] = "${MACHINE_ARCH}"
 
 The following list explains the previous example:
#1 lore raw

Hi,

Quoted 13 lines · Robert P. J. Day

The current contents of deploy.bbclass is slightly different so update the code snippet.

---

documentation/overview-manual/concepts.rst +0 -0
index 76ace6fcf..fb9a56607 100644

documentation/overview-manual/concepts.rst adding shared state wrapping to a task is as simple as this · line 1783

Quoted 9 lines
documentation/overview-manual/concepts.rst +2 -1
@@ -1776,7 +1776,8 @@ adding shared state wrapping to a task is as simple as this
        sstate_setscene(d)
    }
    addtask do_deploy_setscene
-   do_deploy[dirs] = "${DEPLOYDIR} ${B}"
+   do_deploy[dirs] = "${B}"
+   do_deploy[cleandirs] = "${DEPLOYDIR}"
    do_deploy[stamp-extra-info] = "${MACHINE_ARCH}"
 
 The following list explains the previous example:

But you also need to update the bullet point covering this line below this snippet.

Antonin

#2 lore raw
Quoted 24 lines · Antonin Godard

Hi,

Quoted 21 lines · Robert P. J. Day

The current contents of deploy.bbclass is slightly different so update the code snippet.

---

documentation/overview-manual/concepts.rst +2 -1
index 76ace6fcf..fb9a56607 100644
@@ -1776,7 +1776,8 @@ adding shared state wrapping to a task is as simple as this
        sstate_setscene(d)
    }
    addtask do_deploy_setscene
-   do_deploy[dirs] = "${DEPLOYDIR} ${B}"
+   do_deploy[dirs] = "${B}"
+   do_deploy[cleandirs] = "${DEPLOYDIR}"
    do_deploy[stamp-extra-info] = "${MACHINE_ARCH}"
 
Quoted 3 lines

documentation/overview-manual/concepts.rst adding shared state wrapping to a task is as simple as this · line 1783

Quoted 1 line
documentation/overview-manual/concepts.rst +0 -0
 The following list explains the previous example:

But you also need to update the bullet point covering this line below this snippet.

argh, you're right, of course. will submit v2 later.

rday